webrtc examples: streaming stopped, reason not-linked (-1)
I'm using WebRTC examples from tests/examples/webrtc/
.
But they all give this error (webrtc.c
output here):
Starting pipeline
Created offer:
v=0
o=- 3806812861429711160 0 IN IP4 0.0.0.0
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 0.0.0.0
a=setup:actpass
a=ice-ufrag:gsUPRJFiPFzi/WWZBlkY26C2a9/Qg8d6
a=ice-pwd:3GaGzaML/sB9EgJkog3Bbs09EIXu8rih
a=rtcp-mux
a=rtcp-rsize
a=sendrecv
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 nack pli
a=framerate:1
a=ssrc:2101462491 msid:user2145138358@host-81848eb8 webrtctransceiver0
a=ssrc:2101462491 cname:user2145138358@host-81848eb8
a=mid:video0
a=fingerprint:sha-256 1C:33:41:1B:5F:2C:B4:AF:B2:DA:E2:00:D2:42:2F:9E:91:BB:05:90:2E:45:E9:9F:1F:E4:19:61:72:3D:77:5A
Created answer:
v=0
o=- 3806812861429711160 0 IN IP4 0.0.0.0
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 0.0.0.0
a=ice-ufrag:rNatCOMtaFeTLXJTb0ceAUV3aWdh3vxL
a=ice-pwd:b8btwMS5+T6aiN3qk2hHAWwXdxClVFKL
a=rtcp-mux
a=mid:video0
a=setup:active
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 nack pli
a=recvonly
a=fingerprint:sha-256 1C:33:41:1B:5F:2C:B4:AF:B2:DA:E2:00:D2:42:2F:9E:91:BB:05:90:2E:45:E9:9F:1F:E4:19:61:72:3D:77:5A
ERROR from element nicesrc2: Internal data stream error.
Debugging info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstWebRTCBin:recv/TransportReceiveBin:transportreceivebin1/GstNiceSrc:nicesrc2:
streaming stopped, reason not-linked (-1)
Pipeline stopped
GStreamer 1.18.4, Windows 10, x64 MSVC.
Maybe some APIs have changed since the examples were written?