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

H264 MSE Stream freezes on Chrome #1102

Closed
franconoronha opened this issue May 10, 2024 · 3 comments
Closed

H264 MSE Stream freezes on Chrome #1102

franconoronha opened this issue May 10, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@franconoronha
Copy link

I have a mix of H265 and H264 sources on my config file:

api:
  origin: "*"
log:
  format: text

streams:
  T01_v: rtsp://...
  T01_r: rtsp://...

  T02_v: rtsp://...
  T02_r: rtsp://...
...and so on

All H265 sources work fine on Chrome/Edge. Whenever I access a H264 stream through http://localhost:1984/stream.html?src=T01_v&mode=mse, it freezes after some time have passed (some times almost immediately). Websocket messages keep coming, but the video freezes.

{
"type": "mse",
"value": "video/mp4; codecs="avc1.420028""
}

chrome://media-internals/ logs:

00:00:18.652 error {"cause":{"code":6,"data":{"VDA Error":0},"group":"D3D11Status","message":"","stack":[{"file":"media\gpu\windows\d3d11_video_decoder.cc","line":678}]},"code":1,"data":{},"group":"DecoderStatus","message":"","stack":[{"file":"media\gpu\windows\d3d11_video_decoder.cc","line":980}]}
00:00:18.652 error "video decode error!"
00:00:18.776 error {"cause":{"code":108,"data":{},"group":"DecoderStatus","message":"","stack":[{"file":"media\filters\decoder_stream.cc","line":191}]},"code":3,"data":{},"group":"PipelineStatus","message":"","stack":[{"file":"media\renderers\video_renderer_impl.cc","line":592}]}
@AlexxIT AlexxIT added the question Further information is requested label May 12, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 12, 2024

It's known issue if your have "broken" stream. For example, packet loss. MSE can't handle this and fail.

@AlexxIT AlexxIT added enhancement New feature or request and removed question Further information is requested labels May 12, 2024
@AlexxIT AlexxIT self-assigned this May 12, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 12, 2024

The problem is that the MSE player doesn't restart the stream again. This can be improved

@AlexxIT
Copy link
Owner

AlexxIT commented May 18, 2024

@AlexxIT AlexxIT closed this as completed May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants