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
↓ 10 callers
Function
parseMainXml
({ mainXml, srcUrl, clientOffset, sidxMapping, previousManifest })
src/dash-playlist-loader.js:119
↓ 10 callers
Method
play
* Begin playing the video.
src/videojs-http-streaming.js:1224
↓ 10 callers
Function
rangesEqual
(rangeOne, rangeTwo)
test/ranges.test.js:5
↓ 10 callers
Function
setSyncInfo
(mainStart, mainEnd, audioStart, audioEnd)
test/playlist-controller.test.js:2512
↓ 10 callers
Function
updateMain
(oldMain, newMain, sidxMapping)
src/dash-playlist-loader.js:166
↓ 9 callers
Function
createCaptionsTrackIfNotExists
(inbandTextTracks, tech, captionStream)
src/util/text-tracks.js:15
↓ 9 callers
Function
createTransmuxer
()
test/transmuxer-worker.test.js:13
↓ 9 callers
Method
delegateLoaders_
* Call a set of functions in order on playlist loaders, segment loaders, * or both types of loaders. * * @param {string} filter * F
src/playlist-controller.js:1560
↓ 9 callers
Function
newEvent
(name)
scripts/index.js:149
↓ 9 callers
Method
refreshXml_
* Sends request to refresh the main xml and updates the parsed main manifest
src/dash-playlist-loader.js:920
↓ 9 callers
Method
remove
(start, end)
test/test-helpers.js:75
↓ 9 callers
Method
saveSegmentTimingInfo
* Calculates and saves timeline mappings, playlist sync info, and segment timing values * based on the latest timing information. * * @param
src/sync-controller.js:524
↓ 9 callers
Function
saveState
()
scripts/index.js:179
↓ 8 callers
Method
addKeyStatus_
* Adds a keystatus to the keystatus map, tries to convert to string if necessary. * * @param {any} keyId the keyId to add a status for * @par
src/playlist-controller.js:2647
↓ 8 callers
Function
addMetadata
({ inbandTextTracks, metadataArray, timestampOffset, videoDuration })
src/util/text-tracks.js:154
↓ 8 callers
Function
addPropertiesToMain
(main, uri, createGroupID = groupID)
src/manifest.js:276
↓ 8 callers
Function
checkAndFixTimelines
(segmentLoader)
src/segment-loader.js:447
↓ 8 callers
Method
checkForAbort_
(requestId)
src/segment-loader.js:901
↓ 8 callers
Function
emeKeySystems
(keySystemOptions, mainPlaylist, audioPlaylist)
src/videojs-http-streaming.js:136
↓ 8 callers
Method
getExpiredTime
* Calculate the amount of time that has expired off the playlist during playback * * @param {Playlist} playlist * Playlist object to c
src/sync-controller.js:334
↓ 8 callers
Function
getProgramTime
({ playlist, time = undefined, callback })
src/util/time.js:256
↓ 8 callers
Function
getStrategy
(name)
test/sync-controller.test.js:6
↓ 8 callers
Function
mockPlaylistLoader
()
test/media-groups.test.js:472
↓ 8 callers
Function
safeBackBufferTrimTime
(seekable, currentTime, targetDuration)
src/segment-loader.js:115
↓ 8 callers
Function
segmentTooLong
({ segmentDuration, maxDuration })
src/segment-loader.js:504
↓ 8 callers
Method
setDuration
* Add a callback to the queue that will set duration on the mediaSource. * * @param {number} duration * The duration to set * *
src/source-updater.js:688
↓ 8 callers
Method
stuckAtPlaylistEnd_
* Check if a playlist has stopped being updated * * @param {Object} playlist the media playlist object * @return {boolean} whether the playli
src/playlist-controller.js:1348
↓ 8 callers
Function
timeRangesToArray
(timeRanges)
src/ranges.js:386
↓ 8 callers
Function
updateGopBuffer
(buffer, gops, replace)
src/util/gops.js:49
↓ 7 callers
Method
abort
()
test/test-helpers.js:60
↓ 7 callers
Function
addCaptionData
({ inbandTextTracks, captionArray, timestampOffset })
src/util/text-tracks.js:71
↓ 7 callers
Method
addRemoteTextTrack
(opts)
test/text-tracks.test.js:38
↓ 7 callers
Method
addSidxSegments_
* Verify that the container of the sidx segment can be parsed * and if it can, get and parse that segment.
src/dash-playlist-loader.js:387
↓ 7 callers
Method
didDASHTagChange
* Checks the refreshed DASH manifest content steering tag for changes. * * @param {string} baseURL new steering tag on DASH manifest refresh
src/content-steering-controller.js:478
↓ 7 callers
Method
duration
* get the current duration * * @return {TimeRange} the duration
src/playlist-controller.js:1651
↓ 7 callers
Method
fastQualityChange_
* Re-tune playback quality level for the current player * conditions. This method will perform destructive actions like removing * already buffe
src/playlist-controller.js:1134
↓ 7 callers
Method
getPathway
* Returns the pathway to use for steering decisions * * @return {string} returns the current pathway or the default
src/content-steering-controller.js:356
↓ 7 callers
Function
getStreamingNetworkErrorMetadata
({ requestType, request, error, parseFailure })
src/error-codes.js:6
↓ 7 callers
Function
getTroublesomeSegmentDurationMessage
(segmentInfo, sourceType)
src/segment-loader.js:525
↓ 7 callers
Function
gopsSafeToAlignWith
(buffer, currentTime, mapping)
src/util/gops.js:16
↓ 7 callers
Function
onGroupChanged
(type, settings)
src/media-groups.js:75
↓ 7 callers
Function
refreshDelay
(media, update)
src/playlist-loader.js:361
↓ 7 callers
Method
resetTimeUpdate_
* Resets the 'timeupdate' mechanism designed to detect that we are stalled * * @private
src/playback-watcher.js:299
↓ 7 callers
Method
seekable
* check the seekable range * * @return {TimeRange} the seekable range
src/playlist-controller.js:1692
↓ 7 callers
Function
segmentInfoPayload
({type, segment})
src/segment-loader.js:581
↓ 7 callers
Method
setDateTimeMappingForStart
* Save the mapping from playlist's ProgramDateTime to display. This should only happen * before segments start to load. * * @param {Playlist}
src/sync-controller.js:495
↓ 7 callers
Function
timestampOffsetForSegment
({ segmentTimeline, currentTimeline, startOfSegment, buffered, overrideCheck })
src/segment-loader.js:201
↓ 7 callers
Function
useFakeMediaSource
()
test/test-helpers.js:157
↓ 6 callers
Method
earlyAbortWhenNeeded_
* Determines if the network has enough bandwidth to complete the current segment * request in a timely manner. If not, the request will be aborted
src/segment-loader.js:1857
↓ 6 callers
Method
endOfStream
(error)
test/test-helpers.js:132
↓ 6 callers
Method
excludeNonUsablePlaylistsByKeyId_
* Iterates through playlists and check their keyId set and compare with the * keyStatusMap, only enable playlists that have a usable key. If the pl
src/playlist-controller.js:2589
↓ 6 callers
Function
forEachMediaGroup
(main, callback)
src/manifest.js:125
↓ 6 callers
Method
getRequestURI
* Chooses the manifest request URI based on proxy URIs and server URLs. * Also accounts for exclusion on certain manifest URIs. * * @param {s
src/content-steering-controller.js:368
↓ 6 callers
Method
goalBufferLength
* Calculates the desired forward buffer length based on current time * * @return {number} Desired forward buffer length in seconds
src/playlist-controller.js:2260
↓ 6 callers
Method
hasCreatedSourceBuffers
()
src/source-updater.js:396
↓ 6 callers
Method
hasEnoughInfoToAppend_
()
src/segment-loader.js:2236
↓ 6 callers
Method
haveMetadata
* Update the playlist loader's state in response to a new or updated playlist. * * @param {string} [playlistString] * Playlist string
src/playlist-loader.js:596
↓ 6 callers
Function
mockTransmuxer
()
test/segment-transmuxer.test.js:32
↓ 6 callers
Method
processCallQueue_
()
src/segment-loader.js:2145
↓ 6 callers
Function
safeGetComputedStyle
(el, property)
src/playlist-selectors.js:35
↓ 6 callers
Method
segmentKey
* Gets and sets key for the provided key * * @param {Object} key * The key object representing the key to get or set * @param {bool
src/segment-loader.js:1015
↓ 6 callers
Method
setOffset
(segments = [])
src/util/date-ranges.js:8
↓ 6 callers
Function
setupMediaSource
(mediaSource, sourceUpdater, options)
test/test-helpers.js:647
↓ 6 callers
Method
setupXhrHooks_
* Adds the onRequest, onResponse, offRequest and offResponse functions * to the VhsHandler xhr Object.
src/videojs-http-streaming.js:1304
↓ 6 callers
Function
stableSort
(array, sortFn)
src/playlist-selectors.js:56
↓ 6 callers
Function
transmux
(options)
src/segment-transmuxer.js:260
↓ 6 callers
Function
waitForKeySessionCreation
({ player, sourceKeySystems, audioMedia, mainPlaylists })
src/videojs-http-streaming.js:261
↓ 6 callers
Function
workerCallback
(options)
src/util/worker-callback.js:1
↓ 5 callers
Method
audioQueueCallback
* Add a function to the queue that will be called * when it is its turn to run in the audio queue. * * @param {Function} callback *
src/source-updater.js:840
↓ 5 callers
Method
bufferLowWaterLine
* Calculates the desired buffer low water line based on current time * * @return {number} Desired buffer low water line in seconds
src/playlist-controller.js:2274
↓ 5 callers
Function
byterangeStr
(byterange)
src/xhr.js:152
↓ 5 callers
Method
canChangeType
* Whether or not the changeType function is supported * on our SourceBuffers. * * @return {boolean} * if changeType can be called.
src/source-updater.js:513
↓ 5 callers
Function
checkInitialDuration
({duration})
test/source-updater.test.js:11
↓ 5 callers
Function
createMetadataTrackIfNotExists
(inbandTextTracks, dispatchType, tech)
src/util/text-tracks.js:321
↓ 5 callers
Function
endRequestAndCallback
(err, req, type, _bytes)
src/util/container-request.js:21
↓ 5 callers
Function
expandDataUri
(dataUri)
src/videojs-http-streaming.js:422
↓ 5 callers
Function
findAdCue
(track, mediaTime)
src/ad-cue-tags.js:18
↓ 5 callers
Method
get
()
test/test-helpers.js:102
↓ 5 callers
Function
getAllPsshKeySystemsOptions
(playlists, keySystems)
src/videojs-http-streaming.js:213
↓ 5 callers
Method
getDateRangesToProcess
()
src/util/date-ranges.js:49
↓ 5 callers
Method
getKeyIdSet
* Returns the key ID set from a playlist * * @param {playlist} playlist to fetch the key ID set from. * @return a Set of 32 digit hex strings
src/playlist-loader.js:1319
↓ 5 callers
Method
haveMain_
()
src/dash-playlist-loader.js:774
↓ 5 callers
Method
mappingForTimeline
(timeline)
src/sync-controller.js:559
↓ 5 callers
Function
mocksAreZero
(mocks, assert)
test/media-groups.test.js:790
↓ 5 callers
Method
refreshMedia_
* Refreshes the media playlist by re-parsing the main xml and updating playlist * references. If this is an alternate loader, the updated parsed ma
src/dash-playlist-loader.js:948
↓ 5 callers
Method
removeAudio
* Queue an update to remove a time range from the buffer. * * @param {number} start where to start the removal * @param {number} end where to
src/source-updater.js:738
↓ 5 callers
Function
removeCuesFromTrack
(start, end, track)
src/util/text-tracks.js:345
↓ 5 callers
Method
runFastQualitySwitch_
()
src/playlist-controller.js:1147
↓ 5 callers
Method
setPendingDateRanges
(dateRanges = [])
src/util/date-ranges.js:28
↓ 5 callers
Function
setupEmeOptions
({ player, sourceKeySystems, media, audioMedia })
src/videojs-http-streaming.js:345
↓ 5 callers
Function
setupMediaPlaylists
(main)
src/manifest.js:186
↓ 5 callers
Function
shouldFixBadTimelineChanges
(timelineChangeController)
src/segment-loader.js:409
↓ 5 callers
Method
stopABRTimer_
* Stop the timer that periodically calls checkABR_ * * @private
src/playlist-controller.js:496
↓ 5 callers
Function
sumDurations
({defaultDuration, durationList, startIndex, endIndex})
src/playlist.js:305
↓ 5 callers
Method
switchMedia_
(playlist, cause, delay)
src/playlist-controller.js:429
↓ 5 callers
Function
unwrapCodecList
(codecList)
src/util/codecs.js:61
↓ 5 callers
Function
updateSegments
(original, update, offset)
src/playlist-loader.js:167
↓ 5 callers
Function
verifyProgramDateTimeTags
(playlist)
src/util/time.js:225
↓ 5 callers
Method
videoQueueCallback
* Add a function to the queue that will be called * when it is its turn to run in the video queue. * * @param {Function} callback *
src/source-updater.js:859
↓ 5 callers
Function
xhr
(options, callback)
src/xhr.js:92
← previous
next →
101–200 of 915, ranked by callers