go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

MJPEG External Stream Just Black

Open beiyr opened this issue 1 month ago • 2 comments

Trying to stream something externally that is Mjpeg and it just shows up as black. If you can tell me what to look for, I'll happily look around and see.

beiyr avatar Dec 02 '25 14:12 beiyr

11:57:40.513 WRN github.com/AlexxIT/go2rtc/internal/webrtc/webrtc.go:256 > error="streams: codecs not matched: video:JPEG => video:VP8, video:VP9, video:H264, video:AV1, audio:OPUS, audio:G722, audio:PCMU, audio:PCMA, audio:S16B, audio:S16L" what it comes back to, im not familiar with streaming and stuff like this so please go easy on me

beiyr avatar Dec 02 '25 18:12 beiyr

You are trying to display the MJPEG codec using WebRTC technology. https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#codecs-madness

It's unclear why. You can watch the MJPEG codec in MJPEG format.

AlexxIT avatar Dec 03 '25 09:12 AlexxIT