Comments (8)
I think your http mjpeg stream not respect web standards
It's my fault. The boundary is wrong. I have fixed it.
from go2rtc.
There is no any errors in your logs. mp4 and webrtc doesn't support JPEG codec
from go2rtc.
I have a MJPEG stream with url: http://192.168.1.1/hello , I can play in web browser. How to use go2rtc transfer to stream for clients?
from go2rtc.
media_server | 11:46:16.351 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="multipart: wrong boundary: ����[�\x7f�\x1fg_\/�����k��,���\x0f��\x00ڕم���yG�_��X�=���q[���\x00��W��_���/�\v���W���~-��^��\x03W���..-�������?�_�\x7f�W��\x00� ���\x17~\r�l�m\x1f��/��\[��\x00\n" url=http://192.168.1.1/hello
from go2rtc.
I upgrade go2rtc
to v1.9.0, the MJPEG source could read, but got WRN:
media_server | 12:20:45.889 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="multipart: wrong boundary: /���\x00�o....."
and, the MJPEG server got lots of connections:
2024/05/05 12:20:39 Stream: 192.168.1.11:46258 connected
2024/05/05 12:20:39 Stream: 192.168.1.11:46262 connected
2024/05/05 12:20:39 Stream: 192.168.1.11:51328 connected
2024/05/05 12:20:39 Stream: 192.168.1.11:51330 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51340 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51352 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51356 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51366 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51382 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51396 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51404 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51406 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51416 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51422 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51436 connected
2024/05/05 12:20:40 Stream: 192.168.1.11:51440 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51448 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51462 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51476 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51482 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51492 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51504 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51520 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51522 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51532 connected
2024/05/05 12:20:41 Stream: 192.168.1.11:51546 connected
from go2rtc.
I think your http mjpeg stream not respect web standards
from go2rtc.
thanks for your help
from go2rtc.
You shouldn't set content-type: image/jpeg
for mjpeg stream
Lines 69 to 70 in 4c3de3b
You can remove it, so magic source will try to guess type
Lines 31 to 32 in 4c3de3b
from go2rtc.
Related Issues (20)
- Tapo Hub H200 with D230 Doorbell HOT 4
- Youtube Streaming issue HOT 8
- Logitech Circle View Doorbell Streaming Issues HOT 2
- strange error in log during night
- start from CONN state and i/o timeout HOT 3
- 1.9.3 broke HomeKit in HASS connecting to go2rtc HOT 7
- panic on close stream HOT 1
- Install 1.9.3 error in china HOT 3
- Stream timeout and playback issues with cv2 and go2rtc HOT 1
- Broken exec/pipe source after v1.9.3 HOT 3
- EOF using exec:ffmpeg.exe on Win32/64 HOT 2
- new problem for 1.9.3 (WRN [streams] json locked) HOT 6
- Please make a restart button for the stream. HOT 2
- Tapo C210 audio not working HOT 3
- rtsp video stream can be bgr to rgb when converting HOT 1
- Aqara G4 two way audio configuration HOT 1
- How to control RTSP source HOT 3
- Tapo tapo:// method via internet? HOT 3
- Add killsignal and killtimeout to exec/rtsp HOT 10
- Why HLS stream can't be seen by VLC or MPC? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go2rtc.