WetRTC with VP9 encoding via Gstreamer crashes
Robert Driller
monkfood at gmail.com
Tue Sep 27 15:19:03 UTC 2022
https://stackoverflow.com/questions/73869477/wetrtc-with-vp9-encoding-via-gstreamer-crashes
<https://stackoverflow.com/posts/73869477/timeline>
I am working on a livestream utilizing gstreamers webrtcbin the whole setup
works when using a testpipeline so the webrtc handshake code
(on_negotiation, on_ice_candidate etc) is fine
pipeline = gst_parse_launch
("videotestsrc ! queue ! "
"vp8enc ! rtpvp8pay ! "
"application/x-rtp,media=video,payload=96,encoding-name=VP8 ! "
"webrtcbin name=webrtcbin_send", &error);
But i am trying to use appsrc with VP9
pipeline = gst_parse_launch
( "appsrc name=CaliCam ! video/x-raw, format=BGR, width=1280,
height=960, framerate=5/1 ! videoconvert !"
" queue ! vp9enc ! rtpvp9pay ! "
" application/x-rtp,media=video, encoding-name=VP9, payload=96 ! "
" webrtcbin name=webrtcbin_send", &error);
media.peerconnection.video.vp9_preferred is set to true
The result is that the handshake again works fine but the firefox tab
crashes. Does anyone have a idea how i can debug that, or maybe can point
me to a working example of webrtcbin with vp9. Any help is much
apprechiated!!
my Local SDP
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 6646079990886094601 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256
68:47:80:2D:66:31:12:6B:82:D8:77:80:4D:51:C5:4A:16:7D:84:F3:F2:DC:9A:09:EA:F6:41:60:5B:34:01:69
a=ice-options:trickle
a=msid-semantic:WMS *
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 0.0.0.0
a=recvonly
a=fmtp:96 max-fs=12288;max-fr=60
a=ice-pwd:379865c84ed9593edde4991419a4a521
a=ice-ufrag:ff7070ff
a=mid:video0
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP9/90000
a=setup:active
a=ssrc:454493371 cname:{935c5cc0-f2f5-48fc-a88f-8822e734da8f}
and my remote SDP
v=0
o=- 7466834709635123036 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:qjMcU/q0p2eVeBdDupIl65uTXNYDffiq
a=ice-pwd:FEKfK0HPCu7xT8YzcSi8igtBEJG3YpSK
a=rtcp-mux
a=rtcp-rsize
a=sendrecv
a=rtpmap:96 VP9/90000
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 transport-cc
a=framerate:5
a=ssrc:1039169449 msid:user4251905657 at host-72a98cd6 webrtctransceiver3
a=ssrc:1039169449 cname:user4251905657 at host-72a98cd6
a=mid:video0
a=fingerprint:sha-256
13:E2:C9:C3:27:5B:A4:70:FB:37:EF:B9:B6:66:C8:20:2E:BB:F4:D4:CD:5D:CA:9A:6F:89:F7:CB:16:97:54:C6
a=rtcp-mux-only
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220927/727eef9d/attachment.htm>
More information about the gstreamer-devel
mailing list