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
↓ 4 callers
Function
compareSidxEntry
(playlists, oldSidxMapping)
src/dash-playlist-loader.js:249
↓ 4 callers
Method
createClonePlaylist_
* Using the original playlist to be cloned, and the pathway clone object * information, we create a new playlist. * * @param {Object} basePla
src/playlist-loader.js:1248
↓ 4 callers
Method
createCloneURI_
* Generates an updated URI for a cloned pathway based on the original * pathway's URI and the paramaters from the pathway clone object in the *
src/playlist-loader.js:1278
↓ 4 callers
Function
createTransmuxer
()
test/segment-transmuxer.test.js:25
↓ 4 callers
Function
enqueueAction
(action, transmuxer)
src/segment-transmuxer.js:243
↓ 4 callers
Function
filterChangedSidxMappings
(main, oldSidxMapping)
src/dash-playlist-loader.js:282
↓ 4 callers
Function
getBuffered
(buffered)
scripts/index.js:283
↓ 4 callers
Function
getOffsetFromTimestamp
(comparisonTimeStamp, programTime)
src/util/time.js:203
↓ 4 callers
Method
getSeekableRange_
(playlistLoader, mediaType)
src/playlist-controller.js:1696
↓ 4 callers
Method
handleMain_
()
src/dash-playlist-loader.js:788
↓ 4 callers
Function
isAudioOnly
(main)
src/playlist.js:749
↓ 4 callers
Method
isExcluded
(uri)
src/content-steering-controller.js:373
↓ 4 callers
Function
minRebufferMaxBandwidthSelector
(settings)
src/playlist-selectors.js:488
↓ 4 callers
Function
movingAverageBandwidthSelector
(decay)
src/playlist-selectors.js:417
↓ 4 callers
Function
playerTimeToProgramTime
(playerTime, segment)
src/util/time.js:28
↓ 4 callers
Function
quantiles
(list)
utils/switcher/fn.js:7
↓ 4 callers
Method
removeVideo
* 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:762
↓ 4 callers
Method
requestSteeringManifest
* Requests the content steering manifest and parse the response. This should only be called after * assignTagProperties was called with a content s
src/content-steering-controller.js:152
↓ 4 callers
Method
reset
* Recreate the transmuxer so that the next segment added via `push` * start with a fresh transmuxer.
src/transmuxer-worker.js:358
↓ 4 callers
Method
resetLoader
* Force the SegmentLoader to resync and start loading around the currentTime instead * of starting at the end of the buffer * * Useful for fa
src/segment-loader.js:1327
↓ 4 callers
Function
resolveManifestRedirect
(url, req)
src/resolve-url.js:20
↓ 4 callers
Method
saveBandwidthRelatedStats_
(duration, stats)
src/segment-loader.js:2904
↓ 4 callers
Method
setCurrentTime
* set the current time on all segment loaders * * @param {TimeRange} currentTime the current time to set * @return {TimeRange} the current ti
src/playlist-controller.js:1610
↓ 4 callers
Method
setSteeringParams_
* Set the HLS or DASH content steering manifest request query parameters. For example: * _HLS_pathway="<CURRENT-PATHWAY-ID>" and _HLS_throughput=<T
src/content-steering-controller.js:276
↓ 4 callers
Function
trackInfoFn
(segment, _trackInfo)
test/media-segment-request.test.js:765
↓ 4 callers
Method
update
* update sync storage * * @param {Object} playlist * @param {number} currentTime * * @return {void}
src/util/media-sequence-sync.js:123
↓ 4 callers
Method
updateOrDeleteClone
* Updates or deletes a preexisting pathway clone. * Ensures that all playlists related to the old pathway clone are * either updated or deleted.
src/playlist-loader.js:1059
↓ 3 callers
Function
LoaderCommonFactory
({ LoaderConstructor, loaderSettings, loaderBeforeEach, usesAsyncAppends = true, initSegments = true
test/loader-common.js:137
↓ 3 callers
Function
abortAll
(activeXhrs)
src/media-segment-request.js:28
↓ 3 callers
Function
addDateRangeMetadata
({ inbandTextTracks, dateRanges })
src/util/text-tracks.js:280
↓ 3 callers
Function
addSourcesToDom
()
scripts/index.js:40
↓ 3 callers
Function
bufferIntersection
(bufferA, bufferB)
src/ranges.js:164
↓ 3 callers
Function
callbackOnCompleted
(request, cb)
src/util/container-request.js:9
↓ 3 callers
Function
callbackWrapper
(request, error, response, callback)
src/xhr.js:16
↓ 3 callers
Method
checkABR_
* Run selectPlaylist and switch to the new playlist if we should * * @param {string} [reason=abr] a reason for why the ABR check is made * @p
src/playlist-controller.js:421
↓ 3 callers
Method
clearPendingTimelineChange
(type)
src/timeline-change-controller.js:20
↓ 3 callers
Method
couldBeginLoading_
* Returns true if all configuration required for loading is present, otherwise false. * * @return {boolean} True if the all configuration is rea
src/segment-loader.js:1049
↓ 3 callers
Function
dataFn
(segment, _data)
test/media-segment-request.test.js:772
↓ 3 callers
Function
dequeue
(transmuxer)
src/segment-transmuxer.js:226
↓ 3 callers
Function
doneFeedback
(el, stateClass)
scripts/index.js:813
↓ 3 callers
Method
endOfStream
()
src/segment-loader.js:933
↓ 3 callers
Method
excludePathway
* Removes a pathway from the available pathways set.
src/content-steering-controller.js:467
↓ 3 callers
Function
fuzzInput
(input, useMax, inputMin, inputStepMin)
utils/switcher/switcher.js:170
↓ 3 callers
Method
generateSegmentInfo_
(options)
src/segment-loader.js:1763
↓ 3 callers
Method
getMediaInfo_
(segmentInfo = this.pendingSegment_)
src/segment-loader.js:2228
↓ 3 callers
Method
getMediaSequenceSync
* * @param {string} loaderType * @return {MediaSequenceSync|null}
src/sync-controller.js:249
↓ 3 callers
Function
getPartsAndSegments
(playlist)
src/playlist.js:56
↓ 3 callers
Method
getSyncInfoForTime
* @param {number} targetTime * @return {SyncInfo|null}
src/util/media-sequence-sync.js:143
↓ 3 callers
Function
handleErrors
(error, request)
src/media-segment-request.js:78
↓ 3 callers
Method
hasInitializedAnyEme
()
src/source-updater.js:402
↓ 3 callers
Method
init
* initialize our web worker and wire all the events.
src/transmuxer-worker.js:182
↓ 3 callers
Method
initSegmentForMap
* Gets and sets init segment for the provided map * * @param {Object} map * The map object representing the init segment to get or set
src/segment-loader.js:984
↓ 3 callers
Function
initSegmentId
(initSegment)
src/bin-utils.js:76
↓ 3 callers
Method
isEndOfStream_
* Determines if we should call endOfStream on the media source based * on the state of the buffer or if appened segment was the final * segment
src/segment-loader.js:1523
↓ 3 callers
Function
isExcluded
(playlist)
src/playlist.js:572
↓ 3 callers
Function
isFinalDone
(event)
test/transmuxer-worker.test.js:22
↓ 3 callers
Function
lastBufferedEnd
(a)
src/ranges.js:440
↓ 3 callers
Function
mainForMedia
(media, uri)
src/manifest.js:236
↓ 3 callers
Function
newEvent
(name)
test/segment-loader.test.js:59
↓ 3 callers
Function
originalSegmentVideoDuration
(videoTimingInfo)
src/util/time.js:45
↓ 3 callers
Method
parseMp4VttCues_
* Utility function for converting mp4 webvtt cue objects into VTTCues. * * @param {Object} segmentInfo with mp4 webvtt cues for parsing into VTT
src/vtt-segment-loader.js:405
↓ 3 callers
Method
pathwayAttribute_
* Utility for getting the pathway or service location from an HLS or DASH playlist. * * @param {Object} playlist for getting pathway from. *
src/playlist-controller.js:2318
↓ 3 callers
Function
processTransmux
(options)
src/segment-transmuxer.js:69
↓ 3 callers
Method
recordThroughput_
* Records the current throughput of the decrypt, transmux, and append * portion of the semgment pipeline. `throughput.rate` is a the cumulative
src/segment-loader.js:3447
↓ 3 callers
Function
removeDuplicateCuesFromTrack
(track)
src/util/text-tracks.js:376
↓ 3 callers
Method
requestErrored_
(err, request, startingState)
src/dash-playlist-loader.js:354
↓ 3 callers
Method
resetAppendedStatus
()
src/util/media-sequence-sync.js:28
↓ 3 callers
Method
resetSegmentDownloads_
* Reset stalled download stats for a specific type of loader * * @param {string} type * The segment loader type to check. * * @l
src/playback-watcher.js:180
↓ 3 callers
Function
resolveMediaGroupUris
(main)
src/manifest.js:217
↓ 3 callers
Method
resyncLoader
* Force the SegmentLoader to restart synchronization and make a conservative guess * before returning to the simple walk-forward method
src/segment-loader.js:1339
↓ 3 callers
Method
saveDiscontinuitySyncInfo_
* Each time we have discontinuity in the playlist, attempt to calculate the location * in display of the start of the discontinuity and save that.
src/sync-controller.js:638
↓ 3 callers
Method
saveExpiredSegmentInfo
* Save any meta-data present on the segments when segments leave * the live window to the playlist to allow for synchronization at the * playlis
src/sync-controller.js:462
↓ 3 callers
Method
seekToProgramTime
(programTime, callback, pauseAfterSeek = true, retryCount = 2)
src/videojs-http-streaming.js:1288
↓ 3 callers
Function
segmentXhrHeaders
(segment)
src/xhr.js:173
↓ 3 callers
Method
setOptions_
* Set VHS options based on options from configuration, as well as partial * options to be passed at a later time. * * @param {Object} options
src/videojs-http-streaming.js:687
↓ 3 callers
Function
settings
()
test/playlist-selectors.test.js:129
↓ 3 callers
Function
shiftQueue
(type, sourceUpdater)
src/source-updater.js:43
↓ 3 callers
Function
startLoaders
(playlistLoader, mediaType)
src/media-groups.js:53
↓ 3 callers
Method
startTTLTimeout_
* Start the timeout for re-requesting the steering manifest at the TTL interval. * * @param {number} ttl time in seconds of the timeout. Default
src/content-steering-controller.js:399
↓ 3 callers
Method
stopForError
(error)
src/vtt-segment-loader.js:237
↓ 3 callers
Method
techWaiting_
* Handler for situations when the tech fires a `waiting` event * * @return {boolean} * True if an action (or none) was needed to corr
src/playback-watcher.js:450
↓ 3 callers
Function
uint8ToUtf8
(uintArray)
src/util/string.js:1
↓ 3 callers
Method
updateTimeMapping_
* Updates the start and end times of any cues parsed by the WebVTT parser using * the information parsed from the X-TIMESTAMP-MAP header and a TS t
src/vtt-segment-loader.js:508
↓ 3 callers
Function
updateTimingInfo
(segmentInfo)
test/sync-controller.test.js:477
↓ 3 callers
Function
updating
(type, sourceUpdater)
src/source-updater.js:19
↓ 3 callers
Method
waiting_
* Handler for situations when we determine the player is waiting. * * @private
src/playback-watcher.js:410
↓ 2 callers
Function
abort
()
test/media-groups.test.js:466
↓ 2 callers
Method
abort
* call abort on a source buffer. * * @param {string} type * The type of source buffer to call abort on.
src/source-updater.js:461
↓ 2 callers
Method
abort_
* abort all pending xhr requests and null any pending segements * * @private
src/segment-loader.js:884
↓ 2 callers
Method
addClonePathway
* Given a pathway clone object, clones all necessary playlists. * * @param {Object} clone The pathway clone object. * @param {Object} basePla
src/playlist-loader.js:1151
↓ 2 callers
Method
addCue
(cue)
test/text-tracks.test.js:19
↓ 2 callers
Method
addDateRangesToTextTrack_
(dateRanges)
src/playlist-controller.js:2288
↓ 2 callers
Method
addMetadataToTextTrack
(dispatchType, metadataArray, videoDuration)
src/playlist-controller.js:2296
↓ 2 callers
Function
addOnRequestHook
(xhr, callback)
src/videojs-http-streaming.js:436
↓ 2 callers
Function
addOnResponseHook
(xhr, callback)
src/videojs-http-streaming.js:449
↓ 2 callers
Method
addOrChangeSourceBuffers
* Add source buffers with a codec or, if they are already created, * call changeType on source buffers using changeType. * * @param {Object}
src/source-updater.js:560
↓ 2 callers
Method
addSegmentMetadataCue_
* Adds a cue to the segment-metadata track with some metadata information about the * segment * * @private * @param {Object} segmentInfo
src/segment-loader.js:3478
↓ 2 callers
Method
addSourceBuffer
* Add a type of source buffer to the media source. * * @param {string} type * The type of source buffer to add. * * @param {stri
src/source-updater.js:446
↓ 2 callers
Method
appendBuffer
* Queue an update to append an ArrayBuffer. * * @param {MediaObject} object containing audioBytes and/or videoBytes * @param {Function} done
src/source-updater.js:585
↓ 2 callers
Method
audioAppendsToLoadedData_
()
src/playlist-controller.js:396
← previous
next →
201–300 of 915, ranked by callers