WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

ERROR: No video

Open kaczkalolo opened this issue 4 years ago • 10 comments

Hey all, I have added a Hikvision camera added it to my dashboard using webrtc custom component and it works for few seconds only. I can see the stream but after few seconds i get ERROR; No video. There is nothing in logs even though i got debug logging. Any thoughts?

With VLC rstp stream is stable so that's not the network problem and HAAS is in the same subnet as ip cam.

image

kaczkalolo avatar Aug 24 '21 14:08 kaczkalolo

I'm having the same issue.

On Tue, Aug 24, 2021, 10:20 AM kaczkalolo @.***> wrote:

Hey all, I have added a Hikvision camera added it to my dashboard using webrtc custom component and it works for few seconds only. I can see the stream but after few seconds i get ERROR; No video. There is nothing in logs even though i got debug logging. Any thoughts?

[image: image] https://user-images.githubusercontent.com/47222608/130633665-57831794-c175-4133-85ec-955c88326f51.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AlexxIT/WebRTC/issues/118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENNBYGJRCVZDNOH3UZQ6SLT6OTEJANCNFSM5CW6NACA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

the-pc-doctor avatar Aug 24 '21 15:08 the-pc-doctor

After a several hours i get the same error on my Wall mounted Ipad. Restart browser and it works again for hours :-(

CloudWolf99 avatar Aug 29 '21 12:08 CloudWolf99

No video means that your camera sends very rare keyframes. If there is no keyframe within 10 seconds, the component will drop the connection to the camera

AlexxIT avatar Aug 31 '21 15:08 AlexxIT

It mostly shows up after around 5sec i get to that dashboard... Can i be because of high resolution? 4MPX and 8MPX? Or is it on all Hikvision cameras? In Hikvision app everything is ok and fluent but in webrtc it just doesn't work :(

This is my main stream config: image

kaczkalolo avatar Aug 31 '21 15:08 kaczkalolo

50/12 = 4+ seconds. It is better to use ~2 seconds key frames. There may be rare skips in key frames

AlexxIT avatar Aug 31 '21 17:08 AlexxIT

So what would be the best value for Frame Interval then? I've changed it to 2 but then quality dropped a lot- it just sucks now. Also when i turn on H264+, which is on by default, that field frame interval is greyed out and i can't change it. H264+ saves me lots of disk space so it would be nice to have it on.

kaczkalolo avatar Sep 01 '21 16:09 kaczkalolo

24, because 24/12 = 2 seconds
Also you can try 36 => 2.5 seconds

AlexxIT avatar Sep 02 '21 14:09 AlexxIT

Ok now i don't have that error but that wheel icon keeps showing up like every second so that live view is kinda shuttered... When i change that interval to 2 then video is fluent but quality is horrible. Any other chnage i could make?

kaczkalolo avatar Sep 02 '21 14:09 kaczkalolo

MSE => Cons => jumps over frames. It's know problem about MSE mode

AlexxIT avatar Sep 03 '21 07:09 AlexxIT

Check my new project. Maybe it handle this situation https://github.com/AlexxIT/go2rtc

AlexxIT avatar Aug 21 '22 11:08 AlexxIT

Should be fixed in v3

AlexxIT avatar Jan 20 '23 16:01 AlexxIT