Open adamtatur opened 11 months ago
Hi,
Hm, problems like this are often DRM-related, and we saw that when that doesn't work, we're pushing two licences (DRM: Updating MediaKeySession with message
)...
I could not fetch the HLS playlists so I couldn't check, but is your content encrypted through several keys depending on the variant or audio/video track? The trigger for the issue might be reproducible only when doing a transition to a differently-encrypted segment before a given time (we already saw such DRM-related race conditions in Safari).
@peaBerberian in this case it was also observed for content w/o DRM at the time of the test. Example of the structure of the manifest is as follows. This is HLS with Dolby Atmos included.
I will check if I can provide the actual manifest in a secure way via one of our colleagues.
#EXTM3U
#EXT-X-VERSION:7
## Created with Broadpeak BkS350 Origin Packager (version=1.12.1-28247)
# AUDIO groups
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-aacl-64",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="2"
# SUBTITLES groups
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="textstream",LANGUAGE="cs",NAME="Czech",DEFAULT=YES,AUTOSELECT=YES,URI="sample_HD-textstream_ces_1=1000.m3u8"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="textstream",LANGUAGE="en",NAME="English",AUTOSELECT=YES,URI="sample_HD-textstream_eng_1=1000.m3u8"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="textstream",LANGUAGE="sk",NAME="Slovak",AUTOSELECT=YES,URI="sample_HD-textstream_slk_1=1000.m3u8"
# AUDIO groups
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-ec-3-384",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="6"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-ec-3-576",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="16/JOC"
# variants
#EXT-X-STREAM-INF:BANDWIDTH=271000,CODECS="mp4a.40.2,avc1.4D401E",RESOLUTION=416x234,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=189936.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=387000,CODECS="mp4a.40.2,avc1.4D401E",RESOLUTION=640x360,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=299944.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=864000,CODECS="mp4a.40.2,avc1.4D401E",RESOLUTION=768x432,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=749893.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1235000,CODECS="mp4a.40.2,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=1099881.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1659000,CODECS="mp4a.40.2,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=1499850.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2295000,CODECS="mp4a.40.2,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=2099803.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=3673000,CODECS="mp4a.40.2,avc1.64001F",RESOLUTION=1280x720,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=3399733.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=4839000,CODECS="mp4a.40.2,avc1.640029",RESOLUTION=1920x1080,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-64",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng=64000-video=4499737.m3u8
# variants
#EXT-X-STREAM-INF:BANDWIDTH=610000,CODECS="ec-3,avc1.4D401E",RESOLUTION=416x234,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=189936.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=726000,CODECS="ec-3,avc1.4D401E",RESOLUTION=640x360,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=299944.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1203000,CODECS="ec-3,avc1.4D401E",RESOLUTION=768x432,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=749893.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1574000,CODECS="ec-3,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=1099881.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1998000,CODECS="ec-3,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=1499850.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2634000,CODECS="ec-3,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=2099803.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=4012000,CODECS="ec-3,avc1.64001F",RESOLUTION=1280x720,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=3399733.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=5178000,CODECS="ec-3,avc1.640029",RESOLUTION=1920x1080,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-384",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=384000-video=4499737.m3u8
# variants
#EXT-X-STREAM-INF:BANDWIDTH=813000,CODECS="ec-3,avc1.4D401E",RESOLUTION=416x234,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=189936.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=930000,CODECS="ec-3,avc1.4D401E",RESOLUTION=640x360,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=299944.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1407000,CODECS="ec-3,avc1.4D401E",RESOLUTION=768x432,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=749893.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1778000,CODECS="ec-3,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=1099881.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2202000,CODECS="ec-3,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=1499850.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2838000,CODECS="ec-3,avc1.4D401F",RESOLUTION=960x540,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=2099803.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=4216000,CODECS="ec-3,avc1.64001F",RESOLUTION=1280x720,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=3399733.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=5382000,CODECS="ec-3,avc1.640029",RESOLUTION=1920x1080,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-ec-3-576",SUBTITLES="textstream",CLOSED-CAPTIONS=NONE
sample_HD-audio_eng_1=576000-video=4499737.m3u8
# keyframes
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=26000,CODECS="avc1.4D401E",RESOLUTION=416x234,VIDEO-RANGE=SDR,URI="keyframes/sample_HD-video=189936.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=40000,CODECS="avc1.4D401E",RESOLUTION=640x360,VIDEO-RANGE=SDR,URI="keyframes/sample_HD-video=299944.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=100000,CODECS="avc1.4D401E",RESOLUTION=768x432,VIDEO-RANGE=SDR,URI="keyframes/sample_HD-video=749893.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=146000,CODECS="avc1.4D401F",RESOLUTION=960x540,VIDEO-RANGE=SDR,URI="keyframes/sample_HD-video=1099881.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=451000,CODECS="avc1.64001F",RESOLUTION=1280x720,VIDEO-RANGE=SDR,URI="keyframes/sample_HD-video=3399733.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=597000,CODECS="avc1.640029",RESOLUTION=1920x1080,VIDEO-RANGE=SDR,URI="keyframes/sample_HD-video=4499737.m3u8"
@peaBerberian I feel we can close this issue at this moment. The affected content is playing in recent rxplayer versions.
Hi,
Issue observed on: MacOS: Sonoma 14.1.1 Safari: 17.1 RxPlayer: 3.29.0/3.31.2
After updating the macOS environment to the latest version, we noticed that the streams of one of the providers stopped working properly. It happens that the stream works correctly several or a dozen times in a row, but there are situations where the stream cannot be played at all (it seems to happen completely randomly).
In the case of a non-working stream, after 1-2 minutes we receive information from the API player about the MEDIA_ERR_DECODE error (this is strange because when trying to reproduce the error, the same stream works correctly several times in a row when trying to play it). Based on the player logs, the only thing noticeable is the situation where the player stucks on
rebuffering
andfreezing
state, as well asreadyState
property of the HTMLMediaElement element does not change and is still equal to 1. After a small troubleshoot I've noticed that player cannot obtain a valid TimeRanges which is strange due to the fact that the first media segments are downloaded properly based on a provided playlist.Below are collected logs for both cases:
- not working case
- working case