dash.js icon indicating copy to clipboard operation
dash.js copied to clipboard

LL-DASH streaming not resuming after buffering

Open krackjack234 opened this issue 1 year ago • 6 comments

Environment
  • [yes] The MPD passes the DASH-IF Conformance Tool on https://conformance.dashif.org/
  • [yes] The stream has correct Access-Control-Allow-Origin headers (CORS)
  • [yes] There are no network errors such as 404s in the browser console when trying to play the stream
  • [yes] The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ
  • [yes] The issue occurs in the latest reference client on http://reference.dashif.org/dash.js/ and not just on my page
  • Link to playable MPD file: Client stream so unable to share
  • Dash.js version: 4.6.0
  • Browser name/version: Mac Chrome
  • OS name/version: Mac
Steps to reproduce
  1. Start playing the low latency CMAF stream
  2. Open Chrome Dev tools and after few mins, switch network to Slow 3G
  3. Wait for a min
  4. Switch network speed back to No Throttling
Observed behavior

When we switch the network to low speed, after some time the player stops downloading new segments. Once we switch back to normal speed, the player does not resume playback

Console output
[11884][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000586.m4s  
135237 [11897][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000586.m4s  
135237 [12963][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000587.m4s  
135237 [13009][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000587.m4s  
135237 [13979][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000588.m4s  
135237 [13981][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000588.m4s  
135237 [14901][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000589.m4s  
135237 [14943][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000589.m4s  
135237 [16001][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000590.m4s  
135237 [16004][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000590.m4s  
135237 [16884][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000591.m4s  
135237 [16950][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000591.m4s  
135237 [17996][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000592.m4s  
135237 [17999][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000592.m4s  
135237 [18967][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000593.m4s  
135237 [19070][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000593.m4s  
135237 [19898][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000594.m4s  
135237 [19960][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000594.m4s  
135237 [20998][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000595.m4s  
135237 [21009][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000595.m4s  
135237 [22771][StreamProcessor][video] Buffer is empty! Stalling! 
135237 [22772][StreamProcessor][audio] Buffer is empty! Stalling! 
371 player WAITING Event 
146761 onWaiting...........
135237 [22999][PlaybackController] Native video element event: waiting 
135237 [23957][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000596.m4s  
146683 playing event 
146685 #####onPlaying#####
135237 [23968][PlaybackController] Native video element event: playing 
135237 [24851][StreamProcessor][audio] Buffer is empty! Stalling! 
371 player WAITING Event 
146761 onWaiting...........
135237 [24981][PlaybackController] Native video element event: waiting 
135237 [26263][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000596.m4s  
135237 [27034][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000597.m4s  
135237 [28235][PlaybackController] Requesting seek to time: 596.2925 
371 onseekingEvent
135237 [28236][PlaybackController] Seeking to: 596.2925 
135237 [28236][StreamProcessor][video] onFragmentLoadingAbandoned request: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_3-000597.m4s has been aborted 
146761 onWaiting...........
135237 [28237][PlaybackController] Native video element event: waiting 
135237 [30277][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/init_3.m4s  
135237 [30277][ScheduleController][video] [video] lastInitializedRepresentationInfo changed to 0 
135237 [30308][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/init_0.m4s  
135237 [30309][ScheduleController][audio] [audio] lastInitializedRepresentationInfo changed to 0 
135237 [32797][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://example.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1681892999/chunk-stream_t_0-000598.m4s  
147565 {type: 'liveedgechange', target: span.vjs-event-bus, relatedTarget: undefined, defaultPrevented: false, preventDefault: ƒ}
is player is at live state false
Expected behaviour

The stream should start playing once we switch from low to high network speed.

Streaming Configuration used
{
  "abandonLoadTimeout": 10000,
  "wallclockTimeUpdateInterval": 100,
  "manifestUpdateRetryInterval": 100,
  "cacheInitSegments": false,
  "applyServiceDescription": true,
  "applyProducerReferenceTime": true,
  "applyContentSteering": true,
  "eventControllerRefreshDelay": 100,
  "enableManifestDurationMismatchFix": true,
  "parseInbandPrft": false,
  "enableManifestTimescaleMismatchFix": false,
  "capabilities": {
    "filterUnsupportedEssentialProperties": true,
    "useMediaCapabilitiesApi": false
  },
  "timeShiftBuffer": {
    "calcFromSegmentTimeline": false,
    "fallbackToSegmentTimeline": true
  },
  "metrics": {
    "maxListDepth": 100
  },
  "delay": {
    "liveDelayFragmentCount": 1,
    "liveDelay": 1,
    "useSuggestedPresentationDelay": true
  },
  "protection": {
    "keepProtectionMediaKeys": false,
    "ignoreEmeEncryptedEvent": false,
    "detectPlayreadyMessageFormat": true
  },
  "buffer": {
    "enableSeekDecorrelationFix": false,
    "fastSwitchEnabled": true,
    "flushBufferAtTrackSwitch": false,
    "reuseExistingSourceBuffers": true,
    "bufferPruningInterval": 10,
    "bufferToKeep": 20,
    "bufferTimeAtTopQuality": 30,
    "bufferTimeAtTopQualityLongForm": 60,
    "initialBufferLevel": null,
    "stableBufferTime": 12,
    "longFormContentDurationThreshold": 600,
    "stallThreshold": 0.3,
    "useAppendWindow": true,
    "setStallState": true,
    "avoidCurrentTimeRangePruning": false,
    "useChangeTypeForTrackSwitch": true
  },
  "gaps": {
    "jumpGaps": true,
    "jumpLargeGaps": true,
    "smallGapLimit": 1.5,
    "threshold": 0.3,
    "enableSeekFix": true,
    "enableStallFix": false,
    "stallSeek": 0.1
  },
  "utcSynchronization": {
    "enabled": true,
    "useManifestDateHeaderTimeSource": true,
    "backgroundAttempts": 2,
    "timeBetweenSyncAttempts": 30,
    "maximumTimeBetweenSyncAttempts": 600,
    "minimumTimeBetweenSyncAttempts": 2,
    "timeBetweenSyncAttemptsAdjustmentFactor": 2,
    "maximumAllowedDrift": 100,
    "enableBackgroundSyncAfterSegmentDownloadError": true,
    "defaultTimingSource": {
      "scheme": "urn:mpeg:dash:utc:http-xsdate:2014",
      "value": "https://time.akamai.com/?iso&ms"
    }
  },
  "scheduling": {
    "defaultTimeout": 500,
    "lowLatencyTimeout": 0,
    "scheduleWhilePaused": true
  },
  "text": {
    "defaultEnabled": true,
    "extendSegmentedCues": true,
    "webvtt": {
      "customRenderingEnabled": false
    }
  },
  "liveCatchup": {
    "maxDrift": null,
    "playbackRate": {
      "min": null,
      "max": null
    },
    "playbackBufferMin": 0.5,
    "enabled": null,
    "mode": "liveCatchupModeDefault"
  },
  "lastBitrateCachingInfo": {
    "enabled": true,
    "ttl": 360000
  },
  "lastMediaSettingsCachingInfo": {
    "enabled": true,
    "ttl": 360000
  },
  "cacheLoadThresholds": {
    "video": 50,
    "audio": 5
  },
  "trackSwitchMode": {
    "audio": "alwaysReplace",
    "video": "neverReplace"
  },
  "selectionModeForInitialTrack": "highestSelectionPriority",
  "fragmentRequestTimeout": 20000,
  "fragmentRequestProgressTimeout": -1,
  "manifestRequestTimeout": 10000,
  "retryIntervals": {
    "MPD": 500,
    "XLinkExpansion": 500,
    "MediaSegment": 1000,
    "InitializationSegment": 1000,
    "BitstreamSwitchingSegment": 1000,
    "IndexSegment": 1000,
    "FragmentInfoSegment": 1000,
    "license": 1000,
    "other": 1000,
    "lowLatencyReductionFactor": 10
  },
  "retryAttempts": {
    "MPD": 3,
    "XLinkExpansion": 1,
    "MediaSegment": 3,
    "InitializationSegment": 3,
    "BitstreamSwitchingSegment": 3,
    "IndexSegment": 3,
    "FragmentInfoSegment": 3,
    "license": 3,
    "other": 3,
    "lowLatencyMultiplyFactor": 5
  },
  "abr": {
    "movingAverageMethod": "slidingWindow",
    "ABRStrategy": "abrDynamic",
    "additionalAbrRules": {
      "insufficientBufferRule": true,
      "switchHistoryRule": true,
      "droppedFramesRule": true,
      "abandonRequestsRule": true
    },
    "bandwidthSafetyFactor": 0.9,
    "useDefaultABRRules": true,
    "useDeadTimeLatency": true,
    "limitBitrateByPortal": false,
    "usePixelRatioInLimitBitrateByPortal": false,
    "maxBitrate": {
      "audio": -1,
      "video": -1
    },
    "minBitrate": {
      "audio": -1,
      "video": -1
    },
    "maxRepresentationRatio": {
      "audio": 1,
      "video": 1
    },
    "initialBitrate": {
      "audio": -1,
      "video": -1
    },
    "initialRepresentationRatio": {
      "audio": -1,
      "video": -1
    },
    "autoSwitchBitrate": {
      "audio": true,
      "video": true
    },
    "fetchThroughputCalculationMode": "abrFetchThroughputCalculationMoofParsing"
  },
  "cmcd": {
    "enabled": false,
    "sid": null,
    "cid": null,
    "rtp": null,
    "rtpSafetyFactor": 5,
    "mode": "query",
    "enabledKeys": [
      "br",
      "d",
      "ot",
      "tb",
      "bl",
      "dl",
      "mtp",
      "nor",
      "nrr",
      "su",
      "bs",
      "rtp",
      "cid",
      "pr",
      "sf",
      "sid",
      "st",
      "v"
    ]
  },
  "cmsd": {
    "enabled": false,
    "abr": {
      "applyMb": false,
      "etpWeightRatio": 0
    }
  }
}

krackjack234 avatar Apr 19 '23 08:04 krackjack234

Hi, does anyone has any thoughts about this?

krackjack234 avatar Apr 27 '23 10:04 krackjack234

What is the timeShiftBufferDept of the stream? Do you see three retry attempts for the same segment?

dsilhavy avatar Apr 27 '23 15:04 dsilhavy

@dsilhavy The timeshift buffer depth is "PT6.0S" Here is the mpd schema that we see

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="urn:mpeg:dash:schema:mpd:2011"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
	profiles="urn:mpeg:dash:profile:isoff-live:2011"
	type="dynamic"
	minimumUpdatePeriod="PT500S"
	suggestedPresentationDelay="PT5S"
	availabilityStartTime="2023-05-01T15:11:24.236Z"
	publishTime="2023-05-01T15:11:44.326Z"
	timeShiftBufferDepth="PT6.0S"
	maxSegmentDuration="PT1.0S"
	minBufferTime="PT1.0S">
	<ProgramInformation>
	</ProgramInformation>
	<ServiceDescription id="0">
	</ServiceDescription>
	<Period id="0" start="PT0.0S">
		<AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" maxWidth="1920" maxHeight="1080" par="16:9">
			<Resync dT="1000000" type="0"/>
			<Representation id="1" mimeType="video/mp4" codecs="avc1.64002a" bandwidth="3000000" width="1920" height="1080" scanType="unknown" sar="1:1">
				<ProducerReferenceTime id="1" inband="true" type="captured" wallClockTime="2023-05-01T15:11:24.367Z" presentationTime="0">
					<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
				</ProducerReferenceTime>
				<Resync dT="1000000" type="1"/>
				<SegmentTemplate timescale="1000000" duration="1000000" availabilityTimeOffset="0.983" availabilityTimeComplete="false" initialization="1682953881/init_$RepresentationID$.m4s" media="1682953881/chunk-stream_t_$RepresentationID$-$Number%06d$.m4s" startNumber="1">
				</SegmentTemplate>
			</Representation>
			<Representation id="2" mimeType="video/mp4" codecs="avc1.64002a" bandwidth="5000000" width="1920" height="1080" scanType="unknown" sar="1:1">
				<ProducerReferenceTime id="2" inband="true" type="captured" wallClockTime="2023-05-01T15:11:24.375Z" presentationTime="0">
					<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
				</ProducerReferenceTime>
				<Resync dT="1000000" type="1"/>
				<SegmentTemplate timescale="1000000" duration="1000000" availabilityTimeOffset="0.983" availabilityTimeComplete="false" initialization="1682953881/init_$RepresentationID$.m4s" media="1682953881/chunk-stream_t_$RepresentationID$-$Number%06d$.m4s" startNumber="1">
				</SegmentTemplate>
			</Representation>
			<Representation id="3" mimeType="video/mp4" codecs="avc1.640020" bandwidth="1000000" width="1280" height="720" scanType="unknown" sar="1:1">
				<ProducerReferenceTime id="3" inband="true" type="captured" wallClockTime="2023-05-01T15:11:24.375Z" presentationTime="0">
					<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
				</ProducerReferenceTime>
				<Resync dT="1000000" type="1"/>
				<SegmentTemplate timescale="1000000" duration="1000000" availabilityTimeOffset="0.983" availabilityTimeComplete="false" initialization="1682953881/init_$RepresentationID$.m4s" media="1682953881/chunk-stream_t_$RepresentationID$-$Number%06d$.m4s" startNumber="1">
				</SegmentTemplate>
			</Representation>
		</AdaptationSet>
		<AdaptationSet id="1" contentType="audio" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true">
			<Resync dT="1000000" type="0"/>
			<Representation id="0" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audioSamplingRate="48000">
				<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
				<Resync dT="21333" type="1"/>
				<SegmentTemplate timescale="1000000" duration="1000000" availabilityTimeOffset="0.979" availabilityTimeComplete="false" initialization="1682953881/init_$RepresentationID$.m4s" media="1682953881/chunk-stream_t_$RepresentationID$-$Number%06d$.m4s" startNumber="1">
				</SegmentTemplate>
			</Representation>
		</AdaptationSet>
	</Period>
	<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
</MPD>

krackjack234 avatar May 01 '23 15:05 krackjack234

Do you see abandoned segment requests? If so, how many? Adjusting retryAttempts might help.

dsilhavy avatar May 01 '23 17:05 dsilhavy

hi @dsilhavy Apologies for late reply, we had some issues with the live streaming setup and hence could not test .

Below is a snapshot of the network log when the issue happens

Screenshot 2023-05-16 at 6 45 16 PM

We see that few segments get cancelled and then the init segments gets downloaded but after that nothing happens even when we change the network speed to "No Throttling"

Here are the player logs

:135237 [80570][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000346.m4s  
:135237 [80626][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000346.m4s  
:135237 [81593][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000347.m4s  
:135237 [81608][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000347.m4s  
:135237 [82586][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000348.m4s  
:135237 [82616][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000348.m4s  
:135237 [83597][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000349.m4s  
:135237 [83614][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000349.m4s  
:135237 [84579][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000350.m4s  
:135237 [84593][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000350.m4s  
:135237 [85601][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000351.m4s  
:135237 [85838][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000351.m4s  
:135237 [86611][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000352.m4s  
:135237 [86623][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000352.m4s  
:135237 [87569][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000353.m4s  
:135237 [87604][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000353.m4s  
:135237 [88600][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000354.m4s  
:135237 [88611][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000354.m4s  
:135237 [89833][StreamProcessor][video] Buffer is empty! Stalling! 
:135237 [89834][StreamProcessor][audio] Buffer is empty! Stalling! 
:146766 onWaiting...........
:135237 [89847][PlaybackController] Native video element event: waiting 
:135237 [91582][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000355.m4s  
:146690 #####onPlaying#####
:135237 [91585][PlaybackController] Native video element event: playing 
:135237 [92534][StreamProcessor][audio] Buffer is empty! Stalling! 
:146766 onWaiting...........
:135237 [92598][PlaybackController] Native video element event: waiting 
:135237 [93829][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000355.m4s  
:135237 [94585][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000356.m4s  
:135237 [95434][PlaybackController] Requesting seek to time: 355.27425 
:135237 [95439][PlaybackController] Seeking to: 355.27425 
:135237 [95442][StreamProcessor][video] onFragmentLoadingAbandoned request: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_3-000356.m4s has been aborted 
:146766 onWaiting...........
:135237 [95445][PlaybackController] Native video element event: waiting 
:135237 [97486][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/init_0.m4s  
:135237 [97487][ScheduleController][audio] [audio] lastInitializedRepresentationInfo changed to 0 
:135237 [97941][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/init_3.m4s  
:135237 [97942][ScheduleController][video] [video] lastInitializedRepresentationInfo changed to 0 
:135237 [99982][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id 0 and media type audio - Url: https://sample.akamaized.net/cmaf/live-ull/2099527/640c3daee4b0868976f9169e/1684242454/chunk-stream_t_0-000357.m4s  

We have the below retry configurations

 "retryIntervals": {
    "MPD": 500,
    "XLinkExpansion": 500,
    "MediaSegment": 1000,
    "InitializationSegment": 1000,
    "BitstreamSwitchingSegment": 1000,
    "IndexSegment": 1000,
    "FragmentInfoSegment": 1000,
    "license": 1000,
    "other": 1000,
    "lowLatencyReductionFactor": 10
  },
  "retryAttempts": {
    "MPD": 3,
    "XLinkExpansion": 1,
    "MediaSegment": 3,
    "InitializationSegment": 3,
    "BitstreamSwitchingSegment": 3,
    "IndexSegment": 3,
    "FragmentInfoSegment": 3,
    "license": 3,
    "other": 3,
    "lowLatencyMultiplyFactor": 5
  },

krackjack234 avatar May 16 '23 13:05 krackjack234

hi @dsilhavy any thoughts on the logs shared above?

krackjack234 avatar May 24 '23 11:05 krackjack234