-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I have launched mediamtx, the log of which I am attaching:
2024/09/23 23:56:36 INF MediaMTX v1.9.0
2024/09/23 23:56:36 INF configuration loaded from /home/roman/Downloads/mediamtx_v1.9.0_linux_amd64/mediamtx.yml
2024/09/23 23:56:36 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2024/09/23 23:56:36 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP)
2024/09/23 23:56:36 INF [SRT] listener opened on :8890 (UDP)
2024/09/23 23:56:55 INF [WebRTC] [session 2b019270] created by [::1]:50222
2024/09/23 23:57:05 INF [WebRTC] [session 2b019270] closed: deadline exceeded while waiting connection
Next, I try to run the whip-client, and I get the following output in the log. Can you tell me what the problem is? I really need help
./whip-client -u http://localhost:8889/mystream/whip -V "videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! x264enc ! rtph264pay pt=96 ssrc=2 ! queue ! application/x-rtp,media=video,encoding-name=H264,payload=97" -S stun://stun.l.google.com:19302 -F -l 7
--------------------
Simple WHIP client
------------------
WHIP endpoint: http://localhost:8889/mystream/whip
Bearer Token: (none)
Trickle ICE: yes (HTTP PATCH)
Auto STUN/TURN: no
STUN server: stun://stun.l.google.com:19302
TURN server: (none)
[WARN] Can't force TURN, no TURN servers provided
Audio pipeline: (none)
Video pipeline: videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! x264enc ! rtph264pay pt=96 ssrc=2 ! queue ! application/x-rtp,media=video,encoding-name=H264,payload=97
[WHIP] Initializing the GStreamer pipeline:
webrtcbin name=sendonly bundle-policy=0 stun-server=stun://stun.l.google.com:19302 videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! x264enc ! rtph264pay pt=96 ssrc=2 ! queue ! application/x-rtp,media=video,encoding-name=H264,payload=97 ! sendonly.
[WHIP] Configured jitter-buffer size (latency) for PeerConnection to 200ms
[WHIP] Starting the GStreamer pipeline
[WHIP] Creating offer
[WHIP] Offer created
[WHIP] Setting local description
[WHIP] Sending SDP offer (800 bytes)
v=0
o=- 6796038610334001675 0 IN IP4 0.0.0.0
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 97
c=IN IP4 0.0.0.0
a=setup:actpass
a=ice-ufrag:0EIQFOP9aORx9K2Ajt16lzc7ju+S0V2V
a=ice-pwd:cJk+n0fib3LRm95rmLD1wdvLwkEJK4QR
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:97 H264/90000
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 transport-cc
a=framerate:30
a=fmtp:97 packetization-mode=1;sprop-parameter-sets=Z0LAFdkBQfsBagwMDUoAAAMAAgAAAwB5HixckA==,aMuMsg==;profile-level-id=42c015;level-asymmetry-allowed=1
a=ssrc:2 msid:user2643298913@host-254adb41 webrtctransceiver0
a=ssrc:2 cname:user2643298913@host-254adb41
a=mid:video0
a=fingerprint:sha-256 81:48:D7:75:6B:C1:D6:4E:50:FC:16:DC:0E:45:D9:F5:07:43:24:41:FD:CE:A3:BA:09:7B:69:E1:B8:E7:FE:C9
a=rtcp-mux-only
[WHIP] Resource URL: http://localhost:8889/mystream/whip/4ec47aac-73c4-4720-a8bc-71df5eae69ae
[WHIP] Received SDP answer (812 bytes)
v=0
o=- 7399780406082339111 1727121415 IN IP4 0.0.0.0
s=-
t=0 0
a=msid-semantic:WMS*
a=fingerprint:sha-256 3C:C4:50:7E:0B:52:41:90:75:B8:87:50:C7:46:92:CF:86:FD:A7:39:2D:56:D5:1B:EA:D7:38:24:3D:1C:69:69
m=video 0 UDP/TLS/RTP/SAVPF 97
c=IN IP4 0.0.0.0
a=setup:active
a=mid:video0
a=ice-ufrag:YtoGOACKmNCZYJLv
a=ice-pwd:pPQqXwggWBbREKNyAQTnnrekJNKUwiPv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;sprop-parameter-sets=Z0LAFdkBQfsBagwMDUoAAAMAAgAAAwB5HixckA==,aMuMsg==;profile-level-id=42c015;level-asymmetry-allowed=1
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 transport-cc
a=recvonly
a=candidate:2530633398 1 udp 2130706431 192.168.68.200 8189 typ host
a=candidate:2530633398 2 udp 2130706431 192.168.68.200 8189 typ host
a=end-of-candidates
-- Found candidate: candidate:2530633398 1 udp 2130706431 192.168.68.200 8189 typ host
-- Found candidate: candidate:2530633398 2 udp 2130706431 192.168.68.200 8189 typ host
[WHIP] Setting remote description
[WARN] GStreamer trying to create a new offer, but we don't support renegotiations yet...
[WHIP] ICE gathering started...
[WHIP] Sending candidates: candidate:1 1 UDP 2015363327 192.168.68.200 47736 typ host
[WHIP] Sending candidates: candidate:2 1 TCP 1015021823 192.168.68.200 9 typ host tcptype active
[WHIP] Sending candidates: candidate:3 1 TCP 1010827519 192.168.68.200 46029 typ host tcptype passive
[WHIP] Sending candidates: candidate:4 1 UDP 2015363583 fe80::a4c8:ba23:f1e6:2c8f 46286 typ host
[WHIP] Sending candidates: candidate:5 1 TCP 1015022079 fe80::a4c8:ba23:f1e6:2c8f 9 typ host tcptype active
[WHIP] Sending candidates: candidate:6 1 TCP 1010827775 fe80::a4c8:ba23:f1e6:2c8f 55779 typ host tcptype passive
[WHIP] Sending candidates: candidate:7 1 UDP 1679819007 94.253.2.56 7812 typ srflx raddr 192.168.68.200 rport 47736
[WHIP] Sending candidates: candidate:8 1 TCP 847249663 94.253.2.56 9 typ srflx raddr 192.168.68.200 rport 9 tcptype active
[WHIP] Sending candidates: candidate:9 1 TCP 843055359 94.253.2.56 46029 typ srflx raddr 192.168.68.200 rport 46029 tcptype passive
[WARN] [trickle] 400 Bad Request
[WHIP] ICE gathering completed
[WHIP] Sending candidates: end-of-candidates
[WARN] [trickle] 400 Bad Request