Open elirichey opened 2 years ago
Seems like my issue might be similar to this older bug?
additionnal questions:
I have the exact same problem on iOS with exact same logs, did you find a solution to this? @elirichey
I'm not running multiple videos at the same time but I'm having the same problem, the MEDIA_PLAYBACK_STALL
event fires and the video stops getting loaded/stalls.
I'm seeing these logs as the player while playing a video:
nw_connection_add_timestamp_locked_on_nw_queue [C721] Hit maximum timestamp count, will start dropping events nw_connection_add_timestamp_locked_on_nw_queue [C749] Hit maximum timestamp count, will start dropping events nw_connection_add_timestamp_locked_on_nw_queue [C776] Hit maximum timestamp count, will start dropping events nw_connection_add_timestamp_locked_on_nw_queue [C678] Hit maximum timestamp count, will start dropping events
Then this (same as OP) and an onBuffer
event gets fired, the video freezes and does not continue:
nw_connection_add_timestamp_locked_on_nw_queue [C803] Hit maximum timestamp count, will start dropping events { "transportType" : "HTTP Progressive Download", "mediaType" : "HTTP Progressive Download", "BundleID" : "Flixxo dev", "name" : "MEDIA_PLAYBACK_STALL", "interfaceType" : "Wifi" }
When this happens, the user may invoke the seek method and play already buffered segments in which case it will fire the onBuffer
event twice: first with isBuffering: false
and then isBuffering: true
. This double event fire happens again when it reaches the time where it originally threw the MEDIA_PLAYBACK_STALL
message, which gets thrown again.
I thought it could be related to the onProgress
event, but I removed it and the behavior is the same.
@elirichey Have you found any mitigation?
Bug
While trying to play multiple videos at once in 6.0.0-alpha.3
Platform
Which player are you experiencing the problem on:
Environment info
Library version: 6.0.0-alpha.3
Steps To Reproduce
I'm trying to play multiple videos at the same time
Expected behaviour
Reproducible sample code
XCode Logs:
The second video begins to stall, and playback gets really choppy.