-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audio SourceBuffer error. MediaSource readyState: ended #6337
Comments
but if i revert back to 0.8.8 version of hls.js it plays okay |
Hi @Isaacjon. Please provide an HLS playlist with the minimum number of segment(s) required to reproduce the issue. Complete player logs (text) would be preferred over screenshots. |
With audio? If you include segments missing audio or with corrupt audio, the stream will fail to play. Older versions may not have supported the audio track at all. While you might get video playback, excluding audio is not the correct behavior. |
If segment's audio was corrupted it wouldn't play in other online hls
players
…On Tue, Apr 9, 2024, 10:53 PM Rob Walch ***@***.***> wrote:
but if i revert back to 0.8.8 version of hls.js it plays okay
With audio? If you include segments missing audio or with corrupt audio,
the stream will fail to play. Older versions may not have supported the
audio track at all, so while you might get video playback, excluding audio
is not the correct behavior.
—
Reply to this email directly, view it on GitHub
<#6337 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVJHRAEBX2OKWFOXXTRIQ43Y4QTKJAVCNFSM6AAAAABF52W5KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVG44DKOBVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I can't provide hls link in public
…On Tue, Apr 9, 2024, 10:47 PM Rob Walch ***@***.***> wrote:
Hi @Isaacjon <https://github.com/Isaacjon>.
Please provide an HLS playlist with the minimum number of segment(s)
required to reproduce the issue.
—
Reply to this email directly, view it on GitHub
<#6337 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVJHRAAIG45VJIUVHA4OVETY4QSSFAVCNFSM6AAAAABF52W5KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVG43TIMBQGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It is odd that the audio codec is listed twice:
|
Then why other online hls players playing it?
…On Wed, Apr 10, 2024, 6:52 PM Rob Walch ***@***.***> wrote:
It is odd that the audio codec is listed twice:
sourceBuffer(audio/mp4;codecs=mp4a.40.2,mp4a.40.2)
—
Reply to this email directly, view it on GitHub
<#6337 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVJHRAFTSLP4XLFYIYNNCTLY4U73BAVCNFSM6AAAAABF52W5KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGYYTANRSGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I mean is it not supposed to be like that? Is this might be the issue
hls.js player can't play it?
…On Wed, Apr 10, 2024, 8:08 PM isaac Азимов ***@***.***> wrote:
Then why other online hls players playing it?
On Wed, Apr 10, 2024, 6:52 PM Rob Walch ***@***.***> wrote:
> It is odd that the audio codec is listed twice:
>
> sourceBuffer(audio/mp4;codecs=mp4a.40.2,mp4a.40.2)
>
> —
> Reply to this email directly, view it on GitHub
> <#6337 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AVJHRAFTSLP4XLFYIYNNCTLY4U73BAVCNFSM6AAAAABF52W5KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGYYTANRSGU>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
I don't know what "it" is. You must provide steps to reproduce the issue - that includes some sample of media that reproduces the issue for us to understand what exactly the problem is and how to fix it. |
In the m3u8 found in "kFrameUrl" you have the audio codec listed twice: "avc1.640028,mp4a.40.2,mp4a.40.2" Removing the duplicate codec string will fix SourceBuffer setup. We'll address this in the next patch (v1.5.8). For now, you can test the fix in dev at https://hlsjs-dev.video-dev.org/demo/. |
…io codec strings are present in the Multivariant Playlist variant CODECS attribute with muxed content Fixes #6337
What version of Hls.js are you using?
1.5.7
What browser (including version) are you using?
Version 123.0.6312.58 (Official Build) (arm64)
What OS (including version) are you using?
macOs Sonoma 14.3.1
Test stream
No response
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
Expected behaviour
video should play
What actually happened?
player not playing the video
![Screenshot 2024-04-09 at 09 21 36](https://private-user-images.githubusercontent.com/89290880/320720386-0f8bed63-c8d8-4425-9d8a-8e793afc9e86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE5NDUsIm5iZiI6MTczOTYzMTY0NSwicGF0aCI6Ii84OTI5MDg4MC8zMjA3MjAzODYtMGY4YmVkNjMtYzhkOC00NDI1LTlkOGEtOGU3OTNhZmM5ZTg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1MDA0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZhMTZiMGRlNDA1M2UzNGZmMDIzYmQ4ZjFkZjNkOTM1MGFlZDY3MGQyMDQ3ZDkwYTk5NmE1NTE4ZDJhOTJlNGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tY_xIcMH-B1O85XcflfyStdHFfIROOQWzomfxRiEZlU)
![Screenshot 2024-04-09 at 09 21 47](https://private-user-images.githubusercontent.com/89290880/320720388-af18c1c1-449d-4593-a639-1ad92282f73e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE5NDUsIm5iZiI6MTczOTYzMTY0NSwicGF0aCI6Ii84OTI5MDg4MC8zMjA3MjAzODgtYWYxOGMxYzEtNDQ5ZC00NTkzLWE2MzktMWFkOTIyODJmNzNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1MDA0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxMmMyY2I5NjliZWIxOGU3OTFkYzEyMWYwMzMwNzI0NDYzOWQ0ZjY4MzA3MjQzNzZhYWIwY2UyOGRiMmNkYTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kNb6jHeTlkjHZ1HzQL_Dfixse1pzg-uKHAihn3N7nMI)
![Screenshot 2024-04-09 at 09 22 10](https://private-user-images.githubusercontent.com/89290880/320720393-bf2d8c6a-45ba-4de3-a40b-b3daabab1f46.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE5NDUsIm5iZiI6MTczOTYzMTY0NSwicGF0aCI6Ii84OTI5MDg4MC8zMjA3MjAzOTMtYmYyZDhjNmEtNDViYS00ZGUzLWE0MGItYjNkYWFiYWIxZjQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1MDA0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVmM2EzZDMxNmI0Njc4YzMzMGU2YWE3MDBjNDU3MzhjNDIyYWI2YzhiZTc4YjhlYmFmZDc4OWNlNTlmNWMzNTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4SPVmBRYCSPhDl9nMVbojzFxVw2F4fQYFJiEqc6qXjA)
Console output
error] > [buffer-controller] Error: audio SourceBuffer error. MediaSource readyState: ended
Chrome media internals output
The text was updated successfully, but these errors were encountered: