Skip to content

Commit c4784ee

Browse files
committed
* Remove code for debug only
1 parent efa5920 commit c4784ee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/renderer/helpers/player/SabrSchemePlugin.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const ShakaError = shaka.util.Error
4949
* @property {Map<number, SabrContextUpdate>} sabrContexts
5050
* @property {Set<number>} activeSabrContextTypes
5151
* @property {VideoPlaybackAbrRequest} abrRequest
52-
* @property {?PlaybackCookie} playbackCookie - For debugging
5352
* @property {RequestInit} requestInit
5453
* @property {AbortStatus} abortStatus
5554
* @property {AbortController} abortController
@@ -349,8 +348,6 @@ async function doRequest(
349348

350349
currentState.sabrStreamState.nextRequestPolicy = nextRequestPolicy
351350
currentState.abrRequest.streamerContext.playbackCookie = nextRequestPolicy?.playbackCookie ? PlaybackCookie.encode(nextRequestPolicy.playbackCookie).finish() : undefined
352-
// For debugging
353-
currentState.playbackCookie = nextRequestPolicy?.playbackCookie
354351

355352
currentState.abrRequest.streamerContext.backoffTimeMs = nextRequestPolicy?.backoffTimeMs
356353
break
@@ -754,7 +751,6 @@ export function setupSabrScheme(sabrData, getPlayer, getManifest, playerWidth, p
754751
sabrUrl: sabrData.url,
755752
initDataCache,
756753
abrRequest: requestData,
757-
playbackCookie: undefined,
758754
requestInit: init,
759755
abortStatus: abortStatus,
760756
abortController,

0 commit comments

Comments
 (0)