Comments (12)
I will make a binary with a test fix. On which OS do you run go2rtc? You can test run on any OS, even your personal laptop
from go2rtc.
The latter test was on my laptop with windows 11 x64. I can test on another laptop with windows 10 x64, ubuntu 20, or docker on this ubuntu.
from go2rtc.
Check this version go2rtc.zip
from go2rtc.
Similar log of webrtc on Win 10 x64:
09:08:44.536 INF [streams] create new stream url=rtsp://user:[email protected]:8554/Streaming/Channels/101
09:08:50.792 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.1.119:8554/Streaming/Channels/101 RTSP/1.0
User-Agent: go2rtc
Cseq: 1
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
09:08:50.810 TRC [rtsp] client response:
RTSP/1.0 400 Bad Request
Date: Mon Aug 22 12:08:49 2022
Server: rtsp_demo
09:08:50.813 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.1.119:8554/Streaming/Channels/101 RTSP/1.0
Accept: application/sdp
User-Agent: go2rtc
Cseq: 2
09:08:50.826 TRC [rtsp] client response:
RTSP/1.0 400 Bad Request
Date: Mon Aug 22 12:08:49 2022
Server: rtsp_demo
09:08:50.828 ERR [streams] probe producer error="wrong response on DESCRIBE" url=rtsp://user:[email protected]:8554/Streaming/Channels/101
09:08:50.837 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.1.119:8554/Streaming/Channels/101 RTSP/1.0
User-Agent: go2rtc
Cseq: 1
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
09:08:50.867 TRC [rtsp] client response:
RTSP/1.0 400 Bad Request
Date: Mon Aug 22 12:08:49 2022
Server: rtsp_demo
09:08:50.870 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.1.119:8554/Streaming/Channels/101 RTSP/1.0
Accept: application/sdp
User-Agent: go2rtc
Cseq: 2
09:08:50.887 TRC [rtsp] client response:
RTSP/1.0 400 Bad Request
Date: Mon Aug 22 12:08:49 2022
Server: rtsp_demo
09:08:50.903 ERR [streams] probe producer error="wrong response on DESCRIBE" url=rtsp://user:[email protected]:8554/Streaming/Channels/101
09:08:50.918 WRN [api.webrtc] add consumer error="couldn't find the matching tracks"
from go2rtc.
Try this version: go2rtc.zip
from go2rtc.
Log:
09:39:18.353 INF [streams] create new stream url=rtsp://user:[email protected]:8554/Streaming/Channels/101
09:39:25.051 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.1.119:8554/Streaming/Channels/101 RTSP/1.0
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
CSeq: 1
09:39:25.073 TRC [rtsp] client response:
RTSP/1.0 401 Unauthorized
Cseq: 1
Date: Mon Aug 22 12:39:23 2022
Server: rtsp_demo
Www-Authenticate: Digest realm="admin", nonce="40034ecb68047f67a31d1317fa53189d", stale="FALSE"
09:39:25.076 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.1.119:8554/Streaming/Channels/101 RTSP/1.0
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
CSeq: 2
Authorization: Digest username="user", realm="admin", nonce="40034ecb68047f67a31d1317fa53189d", uri="/Streaming/Channels/101", response="49c4c19f43e91dd60fb960462a183cb5"
09:39:25.088 TRC [rtsp] client response:
RTSP/1.0 200 OK
Server: rtsp_demo
Content-Type: application/sdp
Content-Length: 502
Cseq: 2
Date: Mon Aug 22 12:39:23 2022
v=0
o=- 0 0 IN IP4 0.0.0.0
s=pps_rtsp
t=0 0
a=control:rtsp://192.168.1.119:8554/Streaming/Channels/101
a=range:npt=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;sprop-parameter-sets=J00AKOdAPAET8uApQUFBfAAAAwAEAAADAKLAgAEk+AAbd1//wKA=,KO48gA==
a=control:rtsp://192.168.1.119:8554/Streaming/Channels/101/track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
a=rtpmap:97 PCMU/8000/1
a=control:rtsp://192.168.1.119:8554/Streaming/Channels/101/track2
09:39:25.096 TRC [rtsp] client request:
SETUP rtsp://192.168.1.119:8554/Streaming/Channels/101/track1 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
CSeq: 3
Authorization: Digest username="user", realm="admin", nonce="40034ecb68047f67a31d1317fa53189d", uri="/Streaming/Channels/101/track1", response="cc7827754653d0db7f3976322aa65065"
09:39:25.119 TRC [rtsp] client response:
RTSP/1.0 200 OK
Server: rtsp_demo
Cseq: 3
Date: Mon Aug 22 12:39:23 2022
Session: 00000067
Transport: RTP/AVP/TCP;ssrc=22345682;interleaved=0-1
09:39:25.120 WRN [stream] can't get track
09:39:25.124 TRC [rtsp] client request:
SETUP rtsp://192.168.1.119:8554/Streaming/Channels/101/track2 RTSP/1.0
Authorization: Digest username="user", realm="admin", nonce="40034ecb68047f67a31d1317fa53189d", uri="/Streaming/Channels/101/track2", response="be3c77ebe644d52f29cd9b877c440f7a"
Session: 00000067
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
CSeq: 4
09:39:25.147 TRC [rtsp] client response:
RTSP/1.0 200 OK
Cseq: 4
Date: Mon Aug 22 12:39:23 2022
Session: 00000067
Transport: RTP/AVP/TCP;ssrc=22345683;interleaved=2-3
Server: rtsp_demo
09:39:25.148 WRN [stream] can't get track
09:39:25.155 WRN [api.webrtc] add consumer error="couldn't find the matching tracks"
from go2rtc.
Nice. It's work now. But have broken next response. I'll fix it.
from go2rtc.
Try this version: go2rtc.zip
from go2rtc.
Yep! Now it woks fine. Thanks.
Could you compile the container? I will try on the docker.
from go2rtc.
What is the right place to create go2rtc.yaml with docker container?
from go2rtc.
/config/go2rtc.yaml
from go2rtc.
Getting this same error with both of my Eufy PTZ cameras on go2rtc v 1.5, HA 2023.5.2. Sometimes a restart of go2rtc fixes the issue.
EDIT: Chrome is better than Firefox, occurs consistently on FF.
from go2rtc.
Related Issues (20)
- Error Source: Ivideon HOT 3
- Problem with special characters in URL HOT 1
- Producers sometimes remain after all consumers removed HOT 5
- Stopped working after update to Unifi Protect 3.x.x HOT 5
- How to configure go2rtc as a ONVIF _server_? HOT 3
- Cannot connect to host localhost:1984 ssl:default [Connection call failed ('127.0.0.1', 1984)} HOT 1
- Reolink video doorbell WiFi - Output is very choppy and start is cut off when sending mp3 files HOT 2
- Raspberry Pi camera only works with mjpeg not h264 HOT 2
- Audio from Webcam under Windows HOT 1
- No video in Home Assistant companion app for Mac HOT 2
- Add support HLS and MJPEG streams for Hass source
- MPEG TS output doesn't appear to continue sending PAT and PMT HOT 2
- Check HLS audio only source HOT 2
- Add support allowed_media_types for RTSP server
- RTSP Link include ¶m= parametr HOT 1
- restream m3u8 HLS segment size HOT 3
- Doorbird camera discussion HOT 4
- Connection issue rtsp.go: read tcp ... i/o timeout HOT 5
- mse: streams: wrong user/pass HOT 3
- ffmpeg not working! HOT 4
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.