question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For both my cameras I see no proper stream in MSE and WebRTC, but works fine with HLS.

For MSE, the camera loads, but just after a few seconds it get stuck and I see this error:

ERRO[2022-02-14T21:32:02+01:00] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=5171db18-46f0-4b20-ba1f-a64ace0b26c9
ERRO[2022-02-14T21:32:02+01:00] read tcp 127.0.0.1:8083->127.0.0.1:55972: use of closed network connection  call=Receive channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=5171db18-46f0-4b20-ba1f-a64ace0b26c9
ERRO[2022-02-14T21:32:02+01:00] <nil>                                         call=Close channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=5171db18-46f0-4b20-ba1f-a64ace0b26c9
INFO[2022-02-14T21:32:02+01:00] Client Full Exit

For WebRTC the camera never loads, and a loading indicator is shown

ERRO[2022-02-14T21:30:16+01:00] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=9f6de91a-2745-4c24-ad77-5b22ca8b25b2
2022/02/14 21:30:23 [OPTIONS rtsp://10.0.0.101:554/onvif1 RTSP/1.0
CSeq: 5
Require: implicit-play
User-Agent: Lavf58.76.100
Session: 1a1078f9

]
ERRO[2022-02-14T21:30:26+01:00] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=9f6de91a-2745-4c24-ad77-5b22ca8b25b2
2022/02/14 21:30:49 [OPTIONS rtsp://10.0.0.101:554/onvif1 RTSP/1.0
CSeq: 6
Require: implicit-play
User-Agent: Lavf58.76.100
Session: 1a1078f9

]

Am I missing something with camera configurations or is this a bug?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
deepchcommented, Feb 19, 2022

As I understand it, the issue here is with the port forwarding of the container and not with the project as a whole?

0reactions
xiki808commented, Feb 20, 2022

For more info regarding stream stopping after few seconds, in browser console I find this log: image

Would really appreciate any guidance on this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is HLS (HTTP Live Streaming)?
At a high level, HLS works like all adaptive streaming technologies; you create multiple files for distribution to the player, which can adaptively...
Read more >
HTTP Live Streaming (HLS) Format - Pros, Cons & How it Works
Video streaming via HLS works by chopping an MP4 video stream into short, ~10-second video chunks. Streams are described using M3U8 ...
Read more >
HLS 101: What it is, How it works & When to use it - 100ms
Created by Apple, HLS is widely used for distributing live and on-demand media files. For anyone who wants to adaptively stream to Apple...
Read more >
What Is HLS Protocol (HTTP Live Streaming) - Wowza
Short for HTTP Live Streaming, Apple's HLS protocol is the most popular technology for delivering live and on-demand video to viewers ...
Read more >
What is HLS (HTTP Live Streaming) and How Does It Work?
HLS or HTTP Live Streaming is an HTTP-based adaptive bitrate video ... EXT-X-I-FRAME-STREAM-INF: This is an I-frame only rendition that is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found