Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/videojs/http-streaming
/ functions
Functions
915 in github.com/videojs/http-streaming
⨍
Functions
915
◇
Types & classes
52
↓ 474 callers
Method
trigger
()
test/text-tracks.test.js:42
↓ 369 callers
Function
createTimeRanges
(...args)
src/util/vjs-compat.js:21
↓ 297 callers
Method
load
* load a playlist and start to fill the buffer
src/segment-loader.js:1056
↓ 264 callers
Method
src
* called when player.src gets called, handle a new source * * @param {Object} src the source object to handle
src/videojs-http-streaming.js:786
↓ 231 callers
Method
push
* Adds data (a ts segment) to the start of the transmuxer pipeline for * processing. * * @param {ArrayBuffer} data data to push into the muxe
src/transmuxer-worker.js:347
↓ 211 callers
Method
media
* When called without any arguments, returns the currently * active media playlist. When called with a single argument, * triggers the playlis
src/playlist-loader.js:679
↓ 185 callers
Function
openMediaSource
(player, clock)
test/test-helpers.js:395
↓ 181 callers
Method
playlist
* set a playlist on the segment loader * * @param {PlaylistLoader} media the playlist to set on the segment loader
src/segment-loader.js:1102
↓ 175 callers
Function
playlistWithDuration
(time, conf)
test/test-helpers.js:456
↓ 165 callers
Function
standardXHRResponse
(request, data)
test/test-helpers.js:413
↓ 164 callers
Function
pts
(time)
test/util/gops.test.js:14
↓ 159 callers
Method
dispose
* dispose of the SegmentLoader and reset to the default state
src/segment-loader.js:820
↓ 97 callers
Method
end
()
src/util/media-sequence-sync.js:40
↓ 97 callers
Function
urlTo
(path)
test/test-helpers.js:538
↓ 90 callers
Function
createPlayer
(options, src, clock)
test/test-helpers.js:352
↓ 59 callers
Method
start
* start loading of the playlist
src/playlist-loader.js:906
↓ 56 callers
Method
error
* set an error on the segment loader and null out any pending segements * * @param {Error} error the error to set on the SegmentLoader * @ret
src/segment-loader.js:922
↓ 51 callers
Method
createSourceBuffers
(codecs)
src/source-updater.js:410
↓ 50 callers
Function
merge
(...args)
src/util/vjs-compat.js:10
↓ 48 callers
Function
requestAndAppendSegment
({ request, initSegmentRequest, segment, initSegment, segmentLoader, clock, bandwidth, through
test/test-helpers.js:573
↓ 43 callers
Method
appendBuffer
(config)
test/test-helpers.js:66
↓ 43 callers
Method
duration
* a wrapper around the function in PlaylistController
src/videojs-http-streaming.js:1238
↓ 41 callers
Method
paused
* Returns whether the segment loader is fetching additional * segments when given the opportunity. This property can be * modified through calls
src/segment-loader.js:1284
↓ 40 callers
Method
seekable
* a wrapper around the function in PlaylistController
src/videojs-http-streaming.js:1245
↓ 39 callers
Method
main
* return the main playlist object if we have one * * @return {Object} the main playlist object that we parsed
src/playlist-controller.js:1939
↓ 35 callers
Method
triggerReady
()
src/source-updater.js:424
↓ 32 callers
Method
buffered
* Get a combined video/audio buffer's buffered timerange. * * @return {TimeRange} * the combined time range
src/source-updater.js:664
↓ 31 callers
Function
mediaSegmentRequest
({ xhr, xhrOptions, decryptionWorker, segment, abortFn, progressFn, trackInfoFn, timingInfoFn,
src/media-segment-request.js:1074
↓ 29 callers
Method
lastTimelineChange
({ type, from, to })
src/timeline-change-controller.js:33
↓ 29 callers
Method
pendingTimelineChange
({ type, from, to })
src/timeline-change-controller.js:25
↓ 28 callers
Method
textTracks
()
test/text-tracks.test.js:43
↓ 27 callers
Method
fixesBadSeeks_
* Fixes situations where there's a bad seek * * @return {boolean} whether an action was taken to fix the seek * @private
src/playback-watcher.js:309
↓ 27 callers
Method
getCodecsOrExclude_
()
src/playlist-controller.js:1969
↓ 26 callers
Function
timeRangesEqual
(timeRange1, timeRange2, message)
test/custom-assertions.js:7
↓ 26 callers
Method
updating
* Whether the underlying sourceBuffer is updating or not * * @return {boolean} the updating status of the SourceBuffer
src/source-updater.js:782
↓ 25 callers
Function
playFor
(player, time, cb)
test/playback.test.js:10
↓ 24 callers
Function
codecsForPlaylist
(main, media)
src/util/codecs.js:108
↓ 23 callers
Function
useFakeEnvironment
(assert)
test/test-helpers.js:198
↓ 23 callers
Method
videoTimestampOffset
* Set/get the timestampoffset on the video SourceBuffer * * @return {number} the timestamp offset
src/source-updater.js:817
↓ 21 callers
Method
audioBuffered
* Get the audio buffer's buffered timerange. * * @return {TimeRange} * The audio buffer's buffered time range
src/source-updater.js:631
↓ 21 callers
Method
audioTimestampOffset
* Set/get the timestampoffset on the audio SourceBuffer * * @return {number} the timestamp offset
src/source-updater.js:796
↓ 21 callers
Method
media
* return the currently selected playlist * * @return {Object} the currently selected playlist object that we parsed
src/playlist-controller.js:1948
↓ 21 callers
Function
mp4VideoTotal
()
test/source-updater.test.js:32
↓ 21 callers
Method
setCurrentTime
* a wrapper around the function in PlaylistController
src/videojs-http-streaming.js:1231
↓ 21 callers
Method
videoBuffered
* Get the video buffer's buffered timerange. * * @return {TimeRange} * The video buffer's buffered time range
src/source-updater.js:648
↓ 20 callers
Method
initContentSteeringController_
* Initialize available pathways and apply the tag properties.
src/playlist-controller.js:2325
↓ 20 callers
Method
pause
* Prevent the loader from fetching additional segments. If there * is a segment request outstanding, it will finish processing * before the load
src/segment-loader.js:1271
↓ 20 callers
Method
remove
* Remove any data in the source buffer between start and end times * * @param {number} start - the start time of the region to remove from the b
src/segment-loader.js:1378
↓ 19 callers
Function
mp4AudioTotal
()
test/source-updater.test.js:33
↓ 19 callers
Method
resetEverything
* Delete all the buffered data and reset the SegmentLoader * * @param {Function} [done] an optional callback to be executed when the remove *
src/segment-loader.js:1294
↓ 19 callers
Method
track
* Set a subtitle track on the segment loader to add subtitles to * * @param {TextTrack=} track * The text track to add loaded subtitle
src/vtt-segment-loader.js:139
↓ 18 callers
Function
mediaDuration
(timingInfos)
src/segment-loader.js:472
↓ 18 callers
Function
removeGopBuffer
(buffer, start, end, mapping)
src/util/gops.js:87
↓ 17 callers
Method
excludePlaylist
* Exclude a playlist for a set amount of time, making it unavailable for selection by * the rendition selection algorithm, then force a new playlis
src/playlist-controller.js:1392
↓ 17 callers
Function
playlistWithDuration
(time, conf)
test/vtt-segment-loader.test.js:19
↓ 17 callers
Method
set
(duration)
test/test-helpers.js:105
↓ 16 callers
Method
addAvailablePathway
* adds a pathway to the available pathways set * * @param {string} pathway the pathway string to add
src/content-steering-controller.js:451
↓ 16 callers
Method
buffered_
* Indicates which time ranges are buffered * * @return {TimeRange} * TimeRange object representing the current buffered ranges
src/segment-loader.js:950
↓ 16 callers
Method
hasPendingRequest
()
src/dash-playlist-loader.js:494
↓ 16 callers
Method
shouldSwitchToMedia_
(nextPlaylist)
src/playlist-controller.js:880
↓ 15 callers
Function
absoluteUrl
(relativeUrl)
test/test-helpers.js:13
↓ 15 callers
Method
attachContentSteeringListeners_
* Attaches the listeners for content steering.
src/playlist-controller.js:2359
↓ 15 callers
Method
chooseNextRequest_
* Determines what request should be made given current segment loader state. * * @return {Object} a request object that describes the segment/pa
src/segment-loader.js:1549
↓ 15 callers
Method
onSyncInfoUpdate_
()
src/playlist-controller.js:1758
↓ 15 callers
Function
parseManifest
({ onwarn, oninfo, manifestString, customTagParsers = [], customTagMappers = [], llhls })
src/manifest.js:36
↓ 15 callers
Function
simpleSelector
(settings)
src/playlist-selectors.js:158
↓ 15 callers
Function
xhrFactory
()
src/xhr.js:91
↓ 14 callers
Function
getInputValue
(el)
scripts/index.js:117
↓ 14 callers
Method
initializedEme
()
src/source-updater.js:391
↓ 14 callers
Method
load
* Call load on our SegmentLoaders
src/playlist-controller.js:1099
↓ 14 callers
Function
updateMain
(main, newMedia, unchangedCheck = isPlaylistUnchanged)
src/playlist-loader.js:281
↓ 13 callers
Function
createPlaylistID
(index, uri)
src/manifest.js:9
↓ 13 callers
Function
illegalMediaSwitch
(loaderType, startingMedia, trackInfo)
src/segment-loader.js:76
↓ 13 callers
Function
logger
(source)
src/util/logger.js:3
↓ 13 callers
Function
pushQueue
({type, sourceUpdater, action, doneFn, name})
src/source-updater.js:312
↓ 13 callers
Function
seekToProgramTime
({ programTime, playlist, retryCount = 2, seekTo, pauseAfterSeek = true, tech, callback })
src/util/time.js:315
↓ 13 callers
Function
shouldWaitForTimelineChange
({ timelineChangeController, currentTimeline, segmentTimeline, loaderType, audioDisabled })
src/segment-loader.js:349
↓ 12 callers
Function
generateMedia
({ isMaat, isMuxed, hasVideoCodec, hasAudioCodec, isFMP4 })
test/util/codecs.test.js:6
↓ 12 callers
Function
getSyncSegmentCandidate
(currentTimeline, segments, targetTime)
src/segment-loader.js:36
↓ 12 callers
Method
pause
* Call pause on our SegmentLoaders
src/playlist-controller.js:1114
↓ 12 callers
Method
ready
()
src/source-updater.js:406
↓ 12 callers
Function
segmentInfoString
(segmentInfo)
src/segment-loader.js:136
↓ 12 callers
Method
set
(newState)
src/segment-loader.js:726
↓ 12 callers
Method
setAudio
(enable)
src/segment-loader.js:841
↓ 11 callers
Method
assignSteeringProperties_
* Assigns the current steering manifest properties and to the SteeringManifest object * * @param {Object} steeringJson the raw JSON steering man
src/content-steering-controller.js:300
↓ 11 callers
Method
assignTagProperties
* Assigns the content steering tag properties to the steering controller * * @param {string} baseUrl the baseURL from the main manifest for reso
src/content-steering-controller.js:112
↓ 11 callers
Function
findSegmentForProgramTime
(programTime, playlist)
src/util/time.js:58
↓ 11 callers
Method
gapFromVideoUnderflow_
(buffered, currentTime)
src/playback-watcher.js:618
↓ 11 callers
Method
getCurrentMediaInfo_
(segmentInfo = this.pendingSegment_)
src/segment-loader.js:2224
↓ 11 callers
Method
monitorBuffer_
* (re-)schedule monitorBufferTick_ to run as soon as possible * * @private
src/segment-loader.js:1444
↓ 11 callers
Function
onTrackChanged
(type, settings)
src/media-groups.js:148
↓ 11 callers
Function
updateAdCues
(media, track, offset = 0)
src/ad-cue-tags.js:31
↓ 10 callers
Method
abort
* abort anything that is currently doing on with the SegmentLoader * and reset to a default state
src/segment-loader.js:855
↓ 10 callers
Method
addCue
(cue)
test/test-helpers.js:144
↓ 10 callers
Function
findSegmentForPlayerTime
(time, playlist)
src/util/time.js:131
↓ 10 callers
Method
get
()
src/segment-loader.js:723
↓ 10 callers
Method
getAudioTrackPlaylists_
* Get a list of playlists for the currently selected audio playlist * * @return {Array} the array of audio playlists
src/playlist-controller.js:511
↓ 10 callers
Function
inSourceBuffers
(mediaSource, sourceBuffer)
src/source-updater.js:139
↓ 10 callers
Function
makeMockVhsHandler
(playlistOptions = [], handlerOptions = {}, main = {})
test/rendition-mixin.test.js:51
↓ 10 callers
Method
media
(playlist)
src/dash-playlist-loader.js:508
next →
1–100 of 915, ranked by callers