shaka-player icon indicating copy to clipboard operation
shaka-player copied to clipboard

Shaka Player does not play in Safari.

Open brodiddev opened this issue 10 months ago • 3 comments

Have you read the FAQ and checked for duplicate open issues? yes

If the problem is related to FairPlay, have you read the tutorial?

yes. it's not related to FairPlay

What version of Shaka Player are you using?

4.7.11

Can you reproduce the issue with our latest release version? yes

Can you reproduce the issue with the latest code from main? yes

Are you using the demo app or your own custom app? yes

If custom app, can you reproduce the issue using our demo app?

What browser and OS are you using? Mac Safari

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

What configuration are you using? What is the output of player.getConfiguration()?

{

  "drm": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 100,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "servers": {},
    "clearKeys": {},
    "advanced": {},
    "delayLicenseRequestUntilPlayed": false,
    "persistentSessionOnlinePlayback": false,
    "persistentSessionsMetadata": [],
    "logLicenseExchange": false,
    "updateExpirationTime": 1,
    "preferredKeySystems": [],
    "keySystemsMapping": {},
    "parseInbandPsshEnabled": false,
    "minHdcpVersion": "",
    "ignoreDuplicateInitData": true
  },
  "manifest": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 5000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "availabilityWindowOverride": null,
    "disableAudio": false,
    "disableVideo": false,
    "disableText": false,
    "disableThumbnails": false,
    "defaultPresentationDelay": 0,
    "segmentRelativeVttTiming": false,
    "raiseFatalErrorOnManifestUpdateRequestFailure": false,
    "dash": {
      "clockSyncUri": "",
      "ignoreDrmInfo": false,
      "disableXlinkProcessing": false,
      "xlinkFailGracefully": false,
      "ignoreMinBufferTime": false,
      "autoCorrectDrift": true,
      "initialSegmentLimit": 1000,
      "ignoreSuggestedPresentationDelay": false,
      "ignoreEmptyAdaptationSet": false,
      "ignoreMaxSegmentDuration": false,
      "keySystemsByURI": {
        "urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b": "org.w3.clearkey",
        "urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e": "org.w3.clearkey",
        "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed": "com.widevine.alpha",
        "urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
        "urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready",
        "urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb": "com.adobe.primetime"
      },
      "sequenceMode": false,
      "enableAudioGroups": false,
      "multiTypeVariantsAllowed": true
    },
    "hls": {
      "ignoreTextStreamFailures": false,
      "ignoreImageStreamFailures": false,
      "defaultAudioCodec": "mp4a.40.2",
      "defaultVideoCodec": "avc1.42E01E",
      "ignoreManifestProgramDateTime": false,
      "mediaPlaylistFullMimeType": "video/mp2t; codecs=\"avc1.42E01E, mp4a.40.2\"",
      "useSafariBehaviorForLive": true,
      "liveSegmentsDelay": 0.8,
      "sequenceMode": true,
      "ignoreManifestTimestampsInSegmentsMode": false,
      "disableCodecGuessing": false,
      "allowLowLatencyByteRangeOptimization": true
    },
    "mss": {
      "sequenceMode": false,
      "keySystemsBySystemId": {
        "9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
        "79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready"
      }
    }
  },
  "streaming": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 5000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "rebufferingGoal": 3,
    "bufferingGoal": 10,
    "bufferBehind": 30,
    "ignoreTextStreamFailures": false,
    "alwaysStreamText": false,
    "startAtSegmentBoundary": true,
    "gapDetectionThreshold": 0.5,
    "gapJumpTimerTime": 0.25,
    "durationBackoff": 1,
    "safeSeekOffset": 5,
    "stallEnabled": true,
    "stallThreshold": 1,
    "stallSkip": 0.1,
    "useNativeHlsOnSafari": true,
    "inaccurateManifestTolerance": 0,
    "lowLatencyMode": true,
    "autoLowLatencyMode": false,
    "forceHTTPS": false,
    "preferNativeHls": false,
    "updateIntervalSeconds": 0.5,
    "dispatchAllEmsgBoxes": false,
    "observeQualityChanges": false,
    "maxDisabledTime": 30,
    "parsePrftBox": false,
    "segmentPrefetchLimit": 2,
    "liveSync": false,
    "liveSyncMaxLatency": 0.5,
    "liveSyncPlaybackRate": 1.1,
    "liveSyncMinLatency": 0,
    "liveSyncMinPlaybackRate": 1,
    "allowMediaSourceRecoveries": true,
    "minTimeBetweenRecoveries": 5
  },
  "mediaSource": {
    "codecSwitchingStrategy": "smooth",
    "sourceBufferExtraFeatures": "",
    "forceTransmux": false,
    "insertFakeEncryptionInInit": true
  },
  "offline": {
    "usePersistentLicense": true,
    "numberOfParallelDownloads": 5
  },
  "abr": {
    "enabled": false,
    "useNetworkInformation": true,
    "defaultBandwidthEstimate": 1000000,
    "switchInterval": 8,
    "bandwidthUpgradeTarget": 0.85,
    "bandwidthDowngradeTarget": 0.95,
    "restrictions": {
      "minWidth": 0,
      "maxWidth": null,
      "minHeight": 0,
      "maxHeight": null,
      "minPixels": 0,
      "maxPixels": null,
      "minFrameRate": 0,
      "maxFrameRate": null,
      "minBandwidth": 0,
      "maxBandwidth": null
    },
    "advanced": {
      "minTotalBytes": 128000,
      "minBytes": 16000,
      "fastHalfLife": 2,
      "slowHalfLife": 5
    },
    "restrictToElementSize": false,
    "restrictToScreenSize": false,
    "ignoreDevicePixelRatio": false,
    "clearBufferSwitch": false,
    "safeMarginSwitch": 0
  },
  "autoShowText": 3,
  "preferredAudioLanguage": "",
  "preferredAudioLabel": "",
  "preferredTextLanguage": "",
  "preferredVariantRole": "",
  "preferredTextRole": "",
  "preferredAudioChannelCount": 2,
  "preferredVideoHdrLevel": "AUTO",
  "preferredVideoLayout": "",
  "preferredVideoLabel": "",
  "preferredVideoCodecs": [],
  "preferredAudioCodecs": [],
  "preferForcedSubs": false,
  "preferSpatialAudio": false,
  "preferredDecodingAttributes": [],
  "restrictions": {
    "minWidth": 0,
    "maxWidth": null,
    "minHeight": 0,
    "maxHeight": null,
    "minPixels": 0,
    "maxPixels": null,
    "minFrameRate": 0,
    "maxFrameRate": null,
    "minBandwidth": 0,
    "maxBandwidth": null
  },
  "playRangeStart": 0,
  "playRangeEnd": null,
  "cmcd": {
    "enabled": false,
    "sessionId": "",
    "contentId": "",
    "useHeaders": false
  },
  "cmsd": {
    "enabled": true,
    "applyMaximumSuggestedBitrate": true,
    "estimatedThroughputWeightRatio": 0.5
  },
  "lcevc": {
    "enabled": false,
    "dynamicPerformanceScaling": true,
    "logLevel": 0,
    "drawLogo": false
  },
  "ads": {
    "customPlayheadTracker": false
  }
}

What did you do?

What did you expect to happen?

Have you read the Tutorials? yes

Have you read the FAQ and checked for duplicate open issues? yes

If the question is related to FairPlay, have you read the tutorial?

What version of Shaka Player are you using? 4.7.11

What browser and OS are you using? Mac Safari

Please ask your question

I'm trying to play by setting the useNativeOnSafari setting to false. This is what was output as the V2 console log, but I don't understand it.

  1. I parsed the audio playlist with applied to, but why is the console output as video-only?

  2. When playback is not possible, the following two errors occur.

Can we find out the cause? KakaoTalk_20240430_120311395 KakaoTalk_20240430_120311395_01

[Log] Guessing stream type for – "#EXT-X-STREAM-INF:BANDWIDTH=2500000,CODECS=\"avc1.4d4028,mp4a.40.2\",RESOLUTION=\"1920x1080\",AUDIO=\"origin\",URI=\"https://beta-api.test.com/…" (shaka-player.compiled.debug.min.js, line 1)
"#EXT-X-STREAM-INF:BANDWIDTH=2500000,CODECS=\"avc1.4d4028,mp4a.40.2\",RESOLUTION=\"1920x1080\",AUDIO=\"origin\",URI=\"https://beta-api.test.com/media/live/video/f1b981ff-a0cb-45b4-805b-302b84680fc2/brodi/VcQaFkFObAWehawdH6nP505-4xCE4cTkzSjj7gw45koFuYNpNztsA9zwdXe-QuhJYtSJYg_1rfppkFZ6MxARgA==/1920x1080/0_0/playlist.m3u8\""
[Log] Guessing video-only. (shaka-player.compiled.debug.min.js, line 1)
[Log] Guessing stream type for – "#EXT-X-STREAM-INF:BANDWIDTH=1000000,CODECS=\"avc1.4d401f,mp4a.40.2\",RESOLUTION=\"960x540\",AUDIO=\"origin\",URI=\"https://beta-api.test.com/me…" (shaka-player.compiled.debug.min.js, line 1)
"#EXT-X-STREAM-INF:BANDWIDTH=1000000,CODECS=\"avc1.4d401f,mp4a.40.2\",RESOLUTION=\"960x540\",AUDIO=\"origin\",URI=\"https://beta-api.test.com/media/live/video/f1b981ff-a0cb-45b4-805b-302b84680fc2/brodi/VcQaFkFObAWehawdH6nP505-4xCE4cTkzSjj7gw45koFuYNpNztsA9zwdXe-QuhJYtSJYg_1rfppkFZ6MxARgA==/960x540/0_0/playlist.m3u8\""
[Log] Guessing video-only. (shaka-player.compiled.debug.min.js, line 1)
[Log] Guessing stream type for – "#EXT-X-STREAM-INF:BANDWIDTH=500000,CODECS=\"avc1.4d401e,mp4a.40.2\",RESOLUTION=\"640x360\",AUDIO=\"origin\",URI=\"https://beta-api.test.com/med…" (shaka-player.compiled.debug.min.js, line 1)
"#EXT-X-STREAM-INF:BANDWIDTH=500000,CODECS=\"avc1.4d401e,mp4a.40.2\",RESOLUTION=\"640x360\",AUDIO=\"origin\",URI=\"https://beta-api.test.com/media/live/video/f1b981ff-a0cb-45b4-805b-302b84680fc2/brodi/VcQaFkFObAWehawdH6nP505-4xCE4cTkzSjj7gw45koFuYNpNztsA9zwdXe-QuhJYtSJYg_1rfppkFZ6MxARgA==/640x360/0_0/playlist.m3u8\""
[Log] Guessing video-only. (shaka-player.compiled.debug.min.js, line 1)
[Log] Found variant with audio and video content, so filtering out audio-only content. (shaka-player.compiled.debug.min.js, line 1)
[Debug] parseManifestInner_ has released mutex (shaka-player.compiled.debug.min.js, line 1)
[Debug] initializeDrmInner_ has requested mutex (shaka-player.compiled.debug.min.js, line 1)
[Debug] initializeDrmInner_ has acquired mutex (shaka-player.compiled.debug.min.js, line 1)
[Log] Already got the variants' decodingInfo. (shaka-player.compiled.debug.min.js, line 1)
[Debug] initializeDrmInner_ has released mutex (shaka-player.compiled.debug.min.js, line 1)
[Debug] loadInner_ has requested mutex (shaka-player.compiled.debug.min.js, line 1)
[Debug] loadInner_ has acquired mutex (shaka-player.compiled.debug.min.js, line 1)
[Debug] Bandwidth ranges: – "0.500" – "0.526" – "1.176" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Bandwidth ranges: – "1.000" – "1.053" – "2.941" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Bandwidth ranges: – "2.500" – "2.632" – "Infinity" (shaka-player.compiled.debug.min.js, line 1)
[Debug] notifySegments: – "maxSegmentDuration=2" (shaka-player.compiled.debug.min.js, line 1)
[Log] Syncing HLS streams against base time: – 1714446972.267 (shaka-player.compiled.debug.min.js, line 1)
[Log] Offset – 0 – "applied to" – ["https://beta-api.test.com/media/live/audio/f1b…YtSJYg_1rfppkFZ6MxARgA==/origin/0_0/playlist.m3u8"] (1) (shaka-player.compiled.debug.min.js, line 1)
["https://beta-api.test.com/media/live/audio/f1b…YtSJYg_1rfppkFZ6MxARgA==/origin/0_0/playlist.m3u8"]Array (1)
[Log] Offset – 0.4760000705718994 – "applied to" – ["https://beta-api.test.com/media/live/video/f1b…tSJYg_1rfppkFZ6MxARgA==/640x360/0_0/playlist.m3u8"] (1) (shaka-player.compiled.debug.min.js, line 1)
["https://beta-api.test.com/media/live/video/f1b…tSJYg_1rfppkFZ6MxARgA==/640x360/0_0/playlist.m3u8"]Array (1)
[Debug] Player changing buffering state to – true (shaka-player.compiled.debug.min.js, line 1)
[Debug] Changing Player state to – "buffering" (shaka-player.compiled.debug.min.js, line 1)
[Warning] Buffering started (#1). Checking network and source... (screen-E0IfMWVE.js, line 5)
[Debug] (audio:2) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Log] init: completed initial Stream setup (shaka-player.compiled.debug.min.js, line 1)
[Debug] loadInner_ has released mutex (shaka-player.compiled.debug.min.js, line 1)
[Info] @@ player1 liveSegmentsDelay: 0.8 (screen-E0IfMWVE.js, line 5)
[Info] @@ player1 getStats liveLatency:  – 12.413 (screen-E0IfMWVE.js, line 5)
[Debug] (audio:2) – "timeNeeded=8.010000085830688" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "update_:" – "presentationTime=8.010000085830688" – "bufferedAhead=0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "looking up segment" – "lookupTime:" – 8.010000085830688 – "presentationTime:" – 8.010000085830688 (shaka-player.compiled.debug.min.js, line 1)
[Debug] fetching: reference= – {getUris: function, startByte: 0, endByte: null, …} (shaka-player.compiled.debug.min.js, line 1)
{getUris: function, startByte: 0, endByte: null, mediaQuality: null, timescale: null, …}Object
[Debug] fetching: reference= – {startTime: 7.936, endTime: 9.92, trueEndTime: 9.92, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 7.936, endTime: 9.92, trueEndTime: 9.92, getUrisInner: function, startByte: 0, …}Object
[Debug] (audio:2) – "fetchAndAppend_:" – "presentationTime=8.010000085830688" – "reference.startTime=7.936" – "reference.endTime=9.92" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "setting timestamp offset to 0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "setting append window start to 0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "setting append window end to Infinity" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "fetching init segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(audio:2) – "reused prefetched init segment at time, mapSize" – 1 (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "timeNeeded=8.010000085830688" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "update_:" – "presentationTime=8.010000085830688" – "bufferedAhead=0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "looking up segment" – "lookupTime:" – 8.010000085830688 – "presentationTime:" – 8.010000085830688 (shaka-player.compiled.debug.min.js, line 1)
[Debug] fetching: reference= – {getUris: function, startByte: 0, endByte: null, …} (shaka-player.compiled.debug.min.js, line 1)
{getUris: function, startByte: 0, endByte: null, mediaQuality: null, timescale: null, …}Object
[Debug] fetching: reference= – {startTime: 6.476000070571899, endTime: 8.4760000705719, trueEndTime: 8.4760000705719, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 6.476000070571899, endTime: 8.4760000705719, trueEndTime: 8.4760000705719, getUrisInner: function, startByte: 0, …}Object
[Debug] (video:10) – "fetchAndAppend_:" – "presentationTime=8.010000085830688" – "reference.startTime=6.476000070571899" – "reference.endTime=8.4760000705719" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "setting timestamp offset to 0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "setting append window start to 0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "setting append window end to Infinity" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "fetching init segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(video:10) – "reused prefetched init segment at time, mapSize" – 1 (shaka-player.compiled.debug.min.js, line 1)
[Debug] Segment downloaded: – "deltaTimeMs=5" – "numBytes=707" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "ftyp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "free" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "moov" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mvhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "trak" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tkhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mdia" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mdhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "hdlr" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "minf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mvex" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "appending init segment" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "fetching segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(audio:2) – "reused prefetched segment at time:" – 7.936 – "mapSize" – 0 (shaka-player.compiled.debug.min.js, line 1)
[Debug] Segment downloaded: – "deltaTimeMs=19" – "numBytes=690" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "checking buffer length" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "buffer behind okay because nothing buffered:" – "presentationTime=8.010000085830688" – "bufferBehind=30" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "styp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "moof" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "traf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfdt" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Segment downloaded: – "deltaTimeMs=20" – "numBytes=762" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "ftyp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "free" (shaka-player.compiled.debug.min.js, line 1) 
[Debug] Parsing MP4 box – "moov" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mvhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "trak" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tkhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mdia" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mdhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "hdlr" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "minf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mvex" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "appending init segment" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "appended media segment" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "advancing to next segment" – {startTime: 9.92, endTime: 11.904, trueEndTime: 11.904, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 9.92, endTime: 11.904, trueEndTime: 11.904, getUrisInner: function, startByte: 0, …}Object
[Debug] (audio:2) – "finished fetch and append" – "[{\"start\":7.936,\"end\":9.92}]" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "timeNeeded=9.92" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "update_:" – "presentationTime=8.010000085830688" – "bufferedAhead=1.9099999141693118" (shaka-player.compiled.debug.min.js, line 1)
[Debug] fetching: reference= – {startTime: 9.92, endTime: 11.904, trueEndTime: 11.904, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 9.92, endTime: 11.904, trueEndTime: 11.904, getUrisInner: function, startByte: 0, …}Object
[Debug] (audio:2) – "fetchAndAppend_:" – "presentationTime=8.010000085830688" – "reference.startTime=9.92" – "reference.endTime=11.904" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "fetching segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(audio:2) – "reused prefetched segment at time:" – 9.92 – "mapSize" – 0 (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "fetching segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(video:10) – "reused prefetched segment at time:" – 6.476000070571899 – "mapSize" – 0 (shaka-player.compiled.debug.min.js, line 1)
[Debug] Playhead outside safe region & in unbuffered region. (shaka-player.compiled.debug.min.js, line 1)
[Debug] Playhead in safe region or in buffered region. (shaka-player.compiled.debug.min.js, line 1)
[Debug] Seek to 8.04700002670288 (shaka-player.compiled.debug.min.js, line 1)
[Log] (video:10) – "clear: currently updating" (shaka-player.compiled.debug.min.js, line 1)
[Log] (video:10) – "Aborting operation due to seek" (shaka-player.compiled.debug.min.js, line 1)
[Debug] error reading from stream – "Fetch is aborted" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Playhead outside safe region & in unbuffered region. (shaka-player.compiled.debug.min.js, line 1)
[Debug] Seek to 8.04700002670288 (shaka-player.compiled.debug.min.js, line 1)
[Log] (all): seeked: buffered seek: presentationTime=8.04700002670288 (shaka-player.compiled.debug.min.js, line 1)
[Log] (video:10) – "skipping update and clearing the buffer" (shaka-player.compiled.debug.min.js, line 1)
[Log] (video:10) – "clearing buffer" (shaka-player.compiled.debug.min.js, line 1)
[Log] (video:10) – "cleared buffer" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "timeNeeded=8.04700002670288" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "update_:" – "presentationTime=8.04700002670288" – "bufferedAhead=0" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "looking up segment" – "lookupTime:" – 8.04700002670288 – "presentationTime:" – 8.04700002670288 (shaka-player.compiled.debug.min.js, line 1)
[Debug] fetching: reference= – {getUris: function, startByte: 0, endByte: null, …} (shaka-player.compiled.debug.min.js, line 1)
{getUris: function, startByte: 0, endByte: null, mediaQuality: null, timescale: 90000, …}Object
[Debug] fetching: reference= – {startTime: 6.476000070571899, endTime: 8.4760000705719, trueEndTime: 8.4760000705719, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 6.476000070571899, endTime: 8.4760000705719, trueEndTime: 8.4760000705719, getUrisInner: function, startByte: 0, …}Object
[Debug] (video:10) – "fetchAndAppend_:" – "presentationTime=8.04700002670288" – "reference.startTime=6.476000070571899" – "reference.endTime=8.4760000705719" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "fetching init segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(video:10) – "reused prefetched init segment at time, mapSize" – 1 (shaka-player.compiled.debug.min.js, line 1)
[Debug] Segment downloaded: – "deltaTimeMs=2" – "numBytes=762" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "ftyp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "free" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "moov" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mvhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "trak" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tkhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mdia" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mdhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "hdlr" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "minf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mvex" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "appending init segment" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "fetching segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(video:10) – "reused prefetched segment at time:" – 6.476000070571899 – "mapSize" – 0 (shaka-player.compiled.debug.min.js, line 1)
[Debug] Segment downloaded: – "deltaTimeMs=16" – "numBytes=690" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "checking buffer length" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "buffer behind okay:" – "presentationTime=8.010000085830688" – "bufferedBehind=0.07400008583068818" – "bufferBehind=30" – "underflow=29.92599991416931" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "styp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "moof" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "traf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfdt" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "appended media segment" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "advancing to next segment" – null (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "finished fetch and append" – "[{\"start\":7.936,\"end\":11.904}]" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "timeNeeded=11.904" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "update_:" – "presentationTime=8.04700002670288" – "bufferedAhead=3.8569999732971194" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "looking up segment from new stream endTime:" – 11.904 (shaka-player.compiled.debug.min.js, line 1)
[Warning] (audio:2) – "cannot find segment" – "endTime:" – 11.904 (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "updating in 0.5 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Segment downloaded: – "deltaTimeMs=40" – "numBytes=128967" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Log] [file: 132.mp4v][request: 1714446985194][response: 1714446985235][bufferLeft: 0.000] (screen-E0IfMWVE.js, line 5)
[Debug] (video:10) – "checking buffer length" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "buffer behind okay because nothing buffered:" – "presentationTime=8.04700002670288" – "bufferBehind=30" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "styp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "moof" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "traf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfdt" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "appended media segment" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "advancing to next segment" – {startTime: 8.4760000705719, endTime: 10.4760000705719, trueEndTime: 10.4760000705719, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 8.4760000705719, endTime: 10.4760000705719, trueEndTime: 10.4760000705719, getUrisInner: function, startByte: 0, …}Object
[Debug] (video:10) – "finished fetch and append" – "[{\"start\":6.476,\"end\":8.475333333333333}]" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "updating in 0 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "timeNeeded=8.4760000705719" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "update_:" – "presentationTime=8.04700002670288" – "bufferedAhead=0.4283333066304529" (shaka-player.compiled.debug.min.js, line 1)
[Debug] fetching: reference= – {startTime: 8.4760000705719, endTime: 10.4760000705719, trueEndTime: 10.4760000705719, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 8.4760000705719, endTime: 10.4760000705719, trueEndTime: 10.4760000705719, getUrisInner: function, startByte: 0, …}Object
[Debug] fetching: reference= – {startTime: 10.4760000705719, endTime: 12.4760000705719, trueEndTime: 12.4760000705719, …} (shaka-player.compiled.debug.min.js, line 1)
{startTime: 10.4760000705719, endTime: 12.4760000705719, trueEndTime: 12.4760000705719, getUrisInner: function, startByte: 0, …}Object
[Debug] (video:10) – "fetchAndAppend_:" – "presentationTime=8.04700002670288" – "reference.startTime=8.4760000705719" – "reference.endTime=10.4760000705719" (shaka-player.compiled.debug.min.js, line 1)
[Debug] (video:10) – "fetching segment" (shaka-player.compiled.debug.min.js, line 1)
[Log] SegmentPrefetch(video:10) – "reused prefetched segment at time:" – 8.4760000705719 – "mapSize" – 1 (shaka-player.compiled.debug.min.js, line 1)
[Debug] Restoring all disabled streams... (shaka-player.compiled.debug.min.js, line 1)
[Error] Error code – undefined – "object" – {detail: Object, bubbles: false, cancelable: false, …}
{detail: Object, bubbles: false, cancelable: false, defaultPrevented: false, timeStamp: 7617, …}Object
	onError (screen-E0IfMWVE.js:5:4184)
	(익명 함수) (shaka-player.compiled.debug.min.js:1:163341)
	(익명 함수) (shaka-player.compiled.debug.min.js:1:540516)
	(익명 함수) (shaka-player.compiled.debug.min.js:1:10170)
	(익명 함수) (shaka-player.compiled.debug.min.js:1:9135)
	(익명 함수) (shaka-player.compiled.debug.min.js:1:10612)
	i (shaka-player.compiled.debug.min.js:1:11030)
[Debug] Segment downloaded: – "deltaTimeMs=31" – "numBytes=131072" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Log] [file: 134.mp4v][request: 1714446985239][response: 1714446985271][bufferLeft: 0.000] (screen-E0IfMWVE.js, line 5)
[Debug] Segment downloaded: – "deltaTimeMs=44" – "numBytes=138463" – "lastTimeChosenMs=1714446984954" – "enabled=false" (shaka-player.compiled.debug.min.js, line 1)
[Log] [file: 133.mp4v][request: 1714446985239][response: 1714446985283][bufferLeft: 0.000] (screen-E0IfMWVE.js, line 5)
[Debug] (video:10) – "checking buffer length" (shaka-player.compiled.debug.min.js, line 1)
[Error] failed to get buffered range for video – InvalidStateError: The object is in an invalid state. — shaka-player.compiled.debug.min.js:1:292616
InvalidStateError: The object is in an invalid state. — shaka-player.compiled.debug.min.js:1:292616
[Debug] (video:10) – "buffer behind okay because nothing buffered:" – "presentationTime=8.04700002670288" – "bufferBehind=30" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "styp" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "moof" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "mfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "traf" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfhd" (shaka-player.compiled.debug.min.js, line 1)
[Debug] Parsing MP4 box – "tfdt" (shaka-player.compiled.debug.min.js, line 1)
[Error] failed to get buffered range for video – InvalidStateError: The object is in an invalid state. — shaka-player.compiled.debug.min.js:1:292616
InvalidStateError: The object is in an invalid state. — shaka-player.compiled.debug.min.js:1:292616(익명 함수) — shaka-player.compiled.debug.min.js:1:292616(익명 함수) — shaka-player.compiled.debug.min.js:1:296323(익명 함수) — shaka-player.compiled.debug.min.js:1:305008(익명 함수) — shaka-player.compiled.debug.min.js:1:303155(익명 함수) — shaka-player.compiled.debug.min.js:1:296257(익명 함수) — shaka-player.compiled.debug.min.js:1:10170(익명 함수) — shaka-player.compiled.debug.min.js:1:9135(익명 함수) — shaka-player.compiled.debug.min.js:1:10612(익명 함수) — shaka-player.compiled.debug.min.js:1:11184Promise(익명 함수) — shaka-player.compiled.debug.min.js:1:11084(익명 함수) — shaka-player.compiled.debug.min.js:1:11397(익명 함수) — shaka-player.compiled.debug.min.js:1:294253(익명 함수) — shaka-player.compiled.debug.min.js:1:389749(익명 함수) — shaka-player.compiled.debug.min.js:1:10170(익명 함수) — shaka-player.compiled.debug.min.js:1:9135(익명 함수) — shaka-player.compiled.debug.min.js:1:10612i — shaka-player.compiled.debug.min.js:1:11030
[Debug] (audio:2) – "updating in 0.25 seconds" (shaka-player.compiled.debug.min.js, line 1, x2)
[Debug] Restoring all disabled streams... (shaka-player.compiled.debug.min.js, line 1)
[Error] Error code – undefined – "object" – {detail: Object, bubbles: false, cancelable: false, …}
{detail: Object, bubbles: false, cancelable: false, defaultPrevented: false, timeStamp: 8548, …}Object
	onError (screen-E0IfMWVE.js:5:4184)
[Debug] (audio:2) – "updating in 0.25 seconds" (shaka-player.compiled.debug.min.js, line 1, x4)
[Info] Updating manifest... (shaka-player.compiled.debug.min.js, line 1)
[Debug] (audio:2) – "updating in 0.25 seconds" (shaka-player.compiled.debug.min.js, line 1)
[Debug] notifySegments: – "maxSegmentDuration=2" (shaka-player.compiled.debug.min.js, line 1)

What actually happened?

brodiddev avatar Apr 30 '24 06:04 brodiddev

If you do not fill out this information we cannot help you.

**What are the manifest and license server URIs?**
<!-- NOTE:
  You can send the URIs to <[email protected]> instead,
  but please use GitHub and the template for the rest.
  A copy of the manifest text or an attached manifest will **not** be
  enough to reproduce your issue, and we **will** ask you to send a
  URI instead.  You can copy the URI of the demo app to send us the
  exact asset, licence server, and settings you have selected there.
  If you send the URIs to email, the response time and resolution
  will be much higher.
-->

avelad avatar Apr 30 '24 07:04 avelad

It may be difficult to provide a URL because access and playback are only possible on a specific network :(

Is it impossible to analyze with the attached log?

brodiddev avatar Apr 30 '24 07:04 brodiddev

Yes.. sorry...

avelad avatar Apr 30 '24 07:04 avelad

ok..

brodiddev avatar May 02 '24 07:05 brodiddev