AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.44k stars 171 forks source link

MacOS Safari HLS/MSE black screen, only WebRTC works #563

Open HausnerR opened 1 year ago

HausnerR commented 1 year ago

Hello, Strange issue - HLS and MSE does not work (connected but black screen), but WebRTC works like a charm.

Checking logs I see that in MSE script connects to stream and pulls data but looks like not displays it.

Zrzut ekranu 2023-09-3 o 12 33 56

No errors in browser console :(

WebRTC version: v3.3.0 Camera: Tapo C200 (tapo integration)

HausnerR commented 1 year ago

Found out that on rtsp integration works, black screen on MSE and HLS occurs only when tapo integration is used and only in Safari (Chrome works normally, Firefox not checked)

flyingpeter commented 1 year ago

Hey i got same issue. I think its related. Here is my problem: Windows/chrome or firefox: no issues Android no issues Iphone: works away from my lan in ios app. Doesnt work on lan (even with vpn)

When its outside my lan its says RTC and its working. When on lan keeps trying to load and nothing happens.

Any idea? Thanks!

AlexxIT commented 11 months ago

Yes. MSE may have problems for problem stream. WebRTC works better for bad stream. Maybe will be fixed someday