Git Product home page Git Product logo

Comments (12)

AlexxIT avatar AlexxIT commented on May 23, 2024

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.

RomchikL avatar RomchikL commented on May 23, 2024

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.

AlexxIT avatar AlexxIT commented on May 23, 2024

Check this version go2rtc.zip

from go2rtc.

RomchikL avatar RomchikL commented on May 23, 2024

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.

AlexxIT avatar AlexxIT commented on May 23, 2024

Try this version: go2rtc.zip

from go2rtc.

RomchikL avatar RomchikL commented on May 23, 2024

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.

AlexxIT avatar AlexxIT commented on May 23, 2024

Nice. It's work now. But have broken next response. I'll fix it.

from go2rtc.

AlexxIT avatar AlexxIT commented on May 23, 2024

Try this version: go2rtc.zip

from go2rtc.

RomchikL avatar RomchikL commented on May 23, 2024

Yep! Now it woks fine. Thanks.
Could you compile the container? I will try on the docker.

from go2rtc.

RomchikL avatar RomchikL commented on May 23, 2024

What is the right place to create go2rtc.yaml with docker container?

from go2rtc.

AlexxIT avatar AlexxIT commented on May 23, 2024

/config/go2rtc.yaml

from go2rtc.

landolfi-us avatar landolfi-us commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.