MCPcopy Create free account

hub / github.com/videojs/http-streaming / functions

Functions915 in github.com/videojs/http-streaming

↓ 10 callersFunctionparseMainXml
({ mainXml, srcUrl, clientOffset, sidxMapping, previousManifest })
src/dash-playlist-loader.js:119
↓ 10 callersMethodplay
* Begin playing the video.
src/videojs-http-streaming.js:1224
↓ 10 callersFunctionrangesEqual
(rangeOne, rangeTwo)
test/ranges.test.js:5
↓ 10 callersFunctionsetSyncInfo
(mainStart, mainEnd, audioStart, audioEnd)
test/playlist-controller.test.js:2512
↓ 10 callersFunctionupdateMain
(oldMain, newMain, sidxMapping)
src/dash-playlist-loader.js:166
↓ 9 callersFunctioncreateCaptionsTrackIfNotExists
(inbandTextTracks, tech, captionStream)
src/util/text-tracks.js:15
↓ 9 callersFunctioncreateTransmuxer
()
test/transmuxer-worker.test.js:13
↓ 9 callersMethoddelegateLoaders_
* 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 callersFunctionnewEvent
(name)
scripts/index.js:149
↓ 9 callersMethodrefreshXml_
* Sends request to refresh the main xml and updates the parsed main manifest
src/dash-playlist-loader.js:920
↓ 9 callersMethodremove
(start, end)
test/test-helpers.js:75
↓ 9 callersMethodsaveSegmentTimingInfo
* 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 callersFunctionsaveState
()
scripts/index.js:179
↓ 8 callersMethodaddKeyStatus_
* 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 callersFunctionaddMetadata
({ inbandTextTracks, metadataArray, timestampOffset, videoDuration })
src/util/text-tracks.js:154
↓ 8 callersFunctionaddPropertiesToMain
(main, uri, createGroupID = groupID)
src/manifest.js:276
↓ 8 callersFunctioncheckAndFixTimelines
(segmentLoader)
src/segment-loader.js:447
↓ 8 callersMethodcheckForAbort_
(requestId)
src/segment-loader.js:901
↓ 8 callersFunctionemeKeySystems
(keySystemOptions, mainPlaylist, audioPlaylist)
src/videojs-http-streaming.js:136
↓ 8 callersMethodgetExpiredTime
* 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 callersFunctiongetProgramTime
({ playlist, time = undefined, callback })
src/util/time.js:256
↓ 8 callersFunctiongetStrategy
(name)
test/sync-controller.test.js:6
↓ 8 callersFunctionmockPlaylistLoader
()
test/media-groups.test.js:472
↓ 8 callersFunctionsafeBackBufferTrimTime
(seekable, currentTime, targetDuration)
src/segment-loader.js:115
↓ 8 callersFunctionsegmentTooLong
({ segmentDuration, maxDuration })
src/segment-loader.js:504
↓ 8 callersMethodsetDuration
* 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 callersMethodstuckAtPlaylistEnd_
* 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 callersFunctiontimeRangesToArray
(timeRanges)
src/ranges.js:386
↓ 8 callersFunctionupdateGopBuffer
(buffer, gops, replace)
src/util/gops.js:49
↓ 7 callersMethodabort
()
test/test-helpers.js:60
↓ 7 callersFunctionaddCaptionData
({ inbandTextTracks, captionArray, timestampOffset })
src/util/text-tracks.js:71
↓ 7 callersMethodaddRemoteTextTrack
(opts)
test/text-tracks.test.js:38
↓ 7 callersMethodaddSidxSegments_
* 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 callersMethoddidDASHTagChange
* 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 callersMethodduration
* get the current duration * * @return {TimeRange} the duration
src/playlist-controller.js:1651
↓ 7 callersMethodfastQualityChange_
* 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 callersMethodgetPathway
* Returns the pathway to use for steering decisions * * @return {string} returns the current pathway or the default
src/content-steering-controller.js:356
↓ 7 callersFunctiongetStreamingNetworkErrorMetadata
({ requestType, request, error, parseFailure })
src/error-codes.js:6
↓ 7 callersFunctiongetTroublesomeSegmentDurationMessage
(segmentInfo, sourceType)
src/segment-loader.js:525
↓ 7 callersFunctiongopsSafeToAlignWith
(buffer, currentTime, mapping)
src/util/gops.js:16
↓ 7 callersFunctiononGroupChanged
(type, settings)
src/media-groups.js:75
↓ 7 callersFunctionrefreshDelay
(media, update)
src/playlist-loader.js:361
↓ 7 callersMethodresetTimeUpdate_
* Resets the 'timeupdate' mechanism designed to detect that we are stalled * * @private
src/playback-watcher.js:299
↓ 7 callersMethodseekable
* check the seekable range * * @return {TimeRange} the seekable range
src/playlist-controller.js:1692
↓ 7 callersFunctionsegmentInfoPayload
({type, segment})
src/segment-loader.js:581
↓ 7 callersMethodsetDateTimeMappingForStart
* 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 callersFunctiontimestampOffsetForSegment
({ segmentTimeline, currentTimeline, startOfSegment, buffered, overrideCheck })
src/segment-loader.js:201
↓ 7 callersFunctionuseFakeMediaSource
()
test/test-helpers.js:157
↓ 6 callersMethodearlyAbortWhenNeeded_
* 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 callersMethodendOfStream
(error)
test/test-helpers.js:132
↓ 6 callersMethodexcludeNonUsablePlaylistsByKeyId_
* 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 callersFunctionforEachMediaGroup
(main, callback)
src/manifest.js:125
↓ 6 callersMethodgetRequestURI
* 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 callersMethodgoalBufferLength
* Calculates the desired forward buffer length based on current time * * @return {number} Desired forward buffer length in seconds
src/playlist-controller.js:2260
↓ 6 callersMethodhasCreatedSourceBuffers
()
src/source-updater.js:396
↓ 6 callersMethodhasEnoughInfoToAppend_
()
src/segment-loader.js:2236
↓ 6 callersMethodhaveMetadata
* 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 callersFunctionmockTransmuxer
()
test/segment-transmuxer.test.js:32
↓ 6 callersMethodprocessCallQueue_
()
src/segment-loader.js:2145
↓ 6 callersFunctionsafeGetComputedStyle
(el, property)
src/playlist-selectors.js:35
↓ 6 callersMethodsegmentKey
* 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 callersMethodsetOffset
(segments = [])
src/util/date-ranges.js:8
↓ 6 callersFunctionsetupMediaSource
(mediaSource, sourceUpdater, options)
test/test-helpers.js:647
↓ 6 callersMethodsetupXhrHooks_
* Adds the onRequest, onResponse, offRequest and offResponse functions * to the VhsHandler xhr Object.
src/videojs-http-streaming.js:1304
↓ 6 callersFunctionstableSort
(array, sortFn)
src/playlist-selectors.js:56
↓ 6 callersFunctiontransmux
(options)
src/segment-transmuxer.js:260
↓ 6 callersFunctionwaitForKeySessionCreation
({ player, sourceKeySystems, audioMedia, mainPlaylists })
src/videojs-http-streaming.js:261
↓ 6 callersFunctionworkerCallback
(options)
src/util/worker-callback.js:1
↓ 5 callersMethodaudioQueueCallback
* 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 callersMethodbufferLowWaterLine
* 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 callersFunctionbyterangeStr
(byterange)
src/xhr.js:152
↓ 5 callersMethodcanChangeType
* Whether or not the changeType function is supported * on our SourceBuffers. * * @return {boolean} * if changeType can be called.
src/source-updater.js:513
↓ 5 callersFunctioncheckInitialDuration
({duration})
test/source-updater.test.js:11
↓ 5 callersFunctioncreateMetadataTrackIfNotExists
(inbandTextTracks, dispatchType, tech)
src/util/text-tracks.js:321
↓ 5 callersFunctionendRequestAndCallback
(err, req, type, _bytes)
src/util/container-request.js:21
↓ 5 callersFunctionexpandDataUri
(dataUri)
src/videojs-http-streaming.js:422
↓ 5 callersFunctionfindAdCue
(track, mediaTime)
src/ad-cue-tags.js:18
↓ 5 callersMethodget
()
test/test-helpers.js:102
↓ 5 callersFunctiongetAllPsshKeySystemsOptions
(playlists, keySystems)
src/videojs-http-streaming.js:213
↓ 5 callersMethodgetDateRangesToProcess
()
src/util/date-ranges.js:49
↓ 5 callersMethodgetKeyIdSet
* 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 callersMethodhaveMain_
()
src/dash-playlist-loader.js:774
↓ 5 callersMethodmappingForTimeline
(timeline)
src/sync-controller.js:559
↓ 5 callersFunctionmocksAreZero
(mocks, assert)
test/media-groups.test.js:790
↓ 5 callersMethodrefreshMedia_
* 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 callersMethodremoveAudio
* 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 callersFunctionremoveCuesFromTrack
(start, end, track)
src/util/text-tracks.js:345
↓ 5 callersMethodrunFastQualitySwitch_
()
src/playlist-controller.js:1147
↓ 5 callersMethodsetPendingDateRanges
(dateRanges = [])
src/util/date-ranges.js:28
↓ 5 callersFunctionsetupEmeOptions
({ player, sourceKeySystems, media, audioMedia })
src/videojs-http-streaming.js:345
↓ 5 callersFunctionsetupMediaPlaylists
(main)
src/manifest.js:186
↓ 5 callersFunctionshouldFixBadTimelineChanges
(timelineChangeController)
src/segment-loader.js:409
↓ 5 callersMethodstopABRTimer_
* Stop the timer that periodically calls checkABR_ * * @private
src/playlist-controller.js:496
↓ 5 callersFunctionsumDurations
({defaultDuration, durationList, startIndex, endIndex})
src/playlist.js:305
↓ 5 callersMethodswitchMedia_
(playlist, cause, delay)
src/playlist-controller.js:429
↓ 5 callersFunctionunwrapCodecList
(codecList)
src/util/codecs.js:61
↓ 5 callersFunctionupdateSegments
(original, update, offset)
src/playlist-loader.js:167
↓ 5 callersFunctionverifyProgramDateTimeTags
(playlist)
src/util/time.js:225
↓ 5 callersMethodvideoQueueCallback
* 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 callersFunctionxhr
(options, callback)
src/xhr.js:92
← previousnext →101–200 of 915, ranked by callers