Skip to content
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

MSE Stream Getting Stuck in the web #1291

Open
techsupportsardonyx opened this issue Aug 3, 2024 · 15 comments
Open

MSE Stream Getting Stuck in the web #1291

techsupportsardonyx opened this issue Aug 3, 2024 · 15 comments
Assignees
Labels
bug Something isn't working

Comments

@techsupportsardonyx
Copy link

System info:

  1. OS version : Windows 11 pro - 64 bit
  2. Processer : Intel(R) Core (TM) i7-8809G CPU @ 3.10 GHZ (8 CPUs)
  3. Ram : 32 RAM
  • Dahua Camera via RTSP Stream
  • go2rtc running in Golang
  • go2rtc.yaml
streams:
        test: rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0

Browser streams tried
http://172.25.10.28:1984/stream.html?src=test&mode=mse

The stream is freezing in Chrome on Windows, which is the main reason for using go2rtc. However, refreshing the page or performing a "Save & Restart" works fine, suggesting that the issue might be related to the stream.html player rather than the stream itself.

Since I am running it in Golang, I don't see a way to change the stream.html page to add JavaScript for automatically refreshing the page after a set number of minutes. Is it possible to add this functionality to the configuration?

Note: The WebRTC stream does not freeze in Chrome on Windows; the freezing occurs only with the MSE (Media Source Extensions) stream.

@AlexxIT AlexxIT added the question Further information is requested label Aug 3, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Aug 3, 2024

Issue related to broken stream. WebRTC can handle gaps in the stream. MSE can't.
Latest stream.html has functionality to restart broken stream.
But you can add any changes you want to your version.

@techsupportsardonyx
Copy link
Author

techsupportsardonyx commented Aug 3, 2024

DOMException: Failed to execute 'appendBuffer' on 'SourceBuffer': The SourceBuffer is full, and cannot free space to append additional buffers.
    at VideoStream.ondata (http://172.25.10.28:1984/video-rtc.js:477:28)
    at WebSocket.<anonymous> (http://172.25.10.28:1984/video-rtc.js:347:22)

how to resolve this issue. Could you provide the solution

@AlexxIT AlexxIT added bug Something isn't working and removed question Further information is requested labels Aug 3, 2024
@AlexxIT AlexxIT self-assigned this Aug 3, 2024
@techsupportsardonyx
Copy link
Author

techsupportsardonyx commented Aug 6, 2024

AlexxIT, Could you check the bug ? May i know the status of the bug

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 6, 2024

This is the first time I've seen the problem "The SourceBuffer is full". Don't have any ideas yet.

@techsupportsardonyx
Copy link
Author

Actually WebRTC Player working fine without any Issues. but it can play only H264 codec streams only.
I need to play the H265 codec streams also. so MSE can play both H264 and H265 streams.
MSE Player initially working fine. After the sometime , I minimize the browser window and then I after some time I maximize the browser window
,Its some slow from live action. slow Issue continues and then Player get pauses automatically. but background stream data receiving continuously.
After refreshing the browser only , It gets working.
Note: Above Issue is based on browser side or server code side ?
could you refer this link for similar issue
[( https://github.com//issues/644)]

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 7, 2024

This is client JavaScript issue.

@techsupportsardonyx
Copy link
Author

Can I use any other MSE player ?
could you refer any other MSE player ?
May I except the fix of this issue ?

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 8, 2024

MSE doesn't have communication standards

@techsupportsardonyx
Copy link
Author

techsupportsardonyx commented Aug 8, 2024

I need to play the H265 video stream could you refer any solution ?

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 9, 2024

If there are some unknown issues with your H265 that you can't solve - you should try transcoding to H264.

@techsupportsardonyx
Copy link
Author

My problem is solved when I change the stream.html file to set video.background = false. The default background value was true.

@techsupportsardonyx
Copy link
Author

AlexxIT, Could you check the bug ? May i know the status of the bug

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 26, 2024

Don't expect a quick fix. If I can't reproduce a bug, I can't fix it either.

@techsupportsardonyx
Copy link
Author

AlexxIT, Could you check the bug ? May i know the status of the bug

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 6, 2024

Status - haven't checked yet. I have more than 50 issues to check. And more than 200 issues waiting for some response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants