question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VP9 receive setRemoteDescription error

See original GitHub issue

when i receive vp9 codec i get this problem sdp is

v=0
o=- 1583961806678409 1 IN IP4 51.158.174.83
s=VideoRoom 1234
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS janus
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 51.158.174.83
a=sendonly
a=mid:audio
a=rtcp-mux
a=ice-ufrag:/NO2
a=ice-pwd:ymDvWuWJ53SKAe8O2pKZnR
a=ice-options:trickle
a=fingerprint:sha-256 AE:C3:42:C1:9B:33:12:4F:60:68:F2:56:DE:B7:80:EE:D9:2E:F6:40:74:08:09:CF:49:D8:86:1F:F2:F5:12:FD
a=setup:actpass
a=rtpmap:111 opus/48000/2
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 urn:ietf:params:rtp-hdrext:sdes:mid
a=rtcp-fb:111 transport-cc
a=msid:janus janusa0
a=ssrc:4012372255 cname:janus
a=ssrc:4012372255 msid:janus janusa0
a=ssrc:4012372255 mslabel:janus
a=ssrc:4012372255 label:janusa0
a=candidate:1 1 udp 2013266431 10.6.0.169 39404 typ host
a=candidate:2 1 udp 1677722111 51.158.174.83 39404 typ srflx raddr 10.6.0.169 rport 39404
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 101 102
c=IN IP4 51.158.174.83
a=sendonly
a=mid:video
a=rtcp-mux
a=ice-ufrag:/NO2
a=ice-pwd:ymDvWuWJ53SKAe8O2pKZnR
a=ice-options:trickle
a=fingerprint:sha-256 AE:C3:42:C1:9B:33:12:4F:60:68:F2:56:DE:B7:80:EE:D9:2E:F6:40:74:08:09:CF:49:D8:86:1F:F2:F5:12:FD
a=setup:actpass
a=rtpmap:101 VP9/90000
a=rtcp-fb:101 ccm fir
a=rtcp-fb:101 nack
a=rtcp-fb:101 nack pli
a=rtcp-fb:101 goog-remb
a=extmap:2 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:13 urn:3gpp:video-orientation
a=rtpmap:102 rtx/90000
a=fmtp:102 apt=101
a=ssrc-group:FID 2454345973 2640153036
a=msid:janus janusv0
a=ssrc:2454345973 cname:janus
a=ssrc:2454345973 msid:janus janusv0
a=ssrc:2454345973 mslabel:janus
a=ssrc:2454345973 label:janusv0
a=ssrc:2640153036 cname:janus
a=ssrc:2640153036 msid:janus janusv0
a=ssrc:2640153036 mslabel:janus
a=ssrc:2640153036 label:janusv0
a=candidate:1 1 udp 2013266431 10.6.0.169 39404 typ host
a=candidate:2 1 udp 1677722111 51.158.174.83 39404 typ srflx raddr 10.6.0.169 rport 39404
a=end-of-candidates

error:

Traceback (most recent call last):
  File "ps_janus.py", line 251, in <module>
    run(player=player, recorder=recorder, room=args.room, session=session)
  File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "ps_janus.py", line 208, in run
    session=session, room=room, feed=publishers[0]["id"], recorder=recorder
  File "ps_janus.py", line 164, in subscribe
    sdp=response["jsep"]["sdp"], type=response["jsep"]["type"]
  File "/usr/local/lib/python3.6/dist-packages/aiortc-0.9.27-py3.6-linux-x86_64.egg/aiortc/rtcpeerconnection.py", line 780, in setRemoteDescription
    assert len(common)
AssertionError

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

1reaction
jlainecommented, Mar 22, 2020

The first step is to implement parsing / serialization of the VP9 payload descriptor:

https://tools.ietf.org/html/draft-ietf-payload-vp9-09

You can base the code and tests on what was done for VP8

1reaction
jlainecommented, Mar 22, 2020

Good for you, now all you need to do is write the code, unit tests and submit a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native WebRTC setRemoteDescription error
This is the step I am getting error. Here's my codes for generating and sending an offer. const configuration = {iceServers: [{url: 'stun:stun.l ......
Read more >
setRemoteDescription error wit copy & paste offer - Help
I am testing webrtc for the first time to try to see if I can establish p-to-p connections between two android phones.
Read more >
173141 – No VP8/VP9 Video Codec Support in WebRTC
Overview: I seems like Safari TP 33 has no support for the VP8 video codec, which would be very much desired for interoperability...
Read more >
Problem connecting Android Chrome browsers - Google Groups
When User A sets setRemoteDescription from the offer we get the following error: DOMException: Failed to execute 'setRemoteDescription' on ...
Read more >
subsequent answer with a codec not in the offer succeeds
If I call "localPeerConnection.setRemoteDescription(remotePeerConnection.localDescription, function () { console.log('oh no'); }, function (err) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found