Skip to content

Commit

Permalink
events: refine doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Feb 8, 2016
1 parent 1cee5bf commit d632bec
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/events.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module.exports = {
// when we know about the codecs that we need buffers for to push into - data: {audioCodec, videoCodec}
// fired when we know about the codecs that we need buffers for to push into - data: {audioCodec, videoCodec, levelAudioCodec,levelVideoCodec,audioMoov,videoMoov}
BUFFER_CODECS: 'hlsBufferCodecs',
// when we append a segment to the buffer - data: { segment: segment object }
// fired when we append a segment to the buffer - data: { segment: segment object }
BUFFER_APPENDING: 'hlsBufferAppending',
// when buffer appending fails - data: {event: native error event}
// fired when buffer appending fails - data: {event: native error event}
BUFFER_APPEND_FAIL: 'hlsBufferAppendFail',
// when we are done with appending a media segment to the buffer
// fired when we are done with appending a media segment to the buffer
BUFFER_APPENDED: 'hlsBufferAppended',
// when the stream is finished and we want to notify the media buffer that there will be no more data
// fired when the stream is finished and we want to notify the media buffer that there will be no more data
BUFFER_EOS: 'hlsBufferEos',
// when the media buffer should be flushed - data {startOffset, endOffset}
// fired when the media buffer should be flushed - data {startOffset, endOffset}
BUFFER_FLUSHING: 'hlsBufferFlushing',
// when the media has been flushed
// fired when the media has been flushed
BUFFER_FLUSHED: 'hlsBufferFlushed',
// fired before MediaSource is attaching to media element - data: { media }
MEDIA_ATTACHING: 'hlsMediaAttaching',
Expand Down

0 comments on commit d632bec

Please sign in to comment.