Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setRemoteDescription error: ValueError: invalid literal for int() with base 10: 'webrtc-datachannel' #1092

Open
blackknifes opened this issue May 11, 2024 · 1 comment

Comments

@blackknifes
Copy link

aiortc version : 1.8.0
question :
I create a RTCPeerConnection and add a data channel.
Raise "ValueError: invalid literal for int() with base 10: 'webrtc-datachannel'" when I call setRemoteDescription with json data that type is offer

answer :

v=0
o=rtc 1642057630 0 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0
a=msid-semantic:WMS *
a=setup:active
a=ice-ufrag:qQs3
a=ice-pwd:QuNk9dwpxSLHWOqUYP3rKA
a=ice-options:ice2,trickle
a=fingerprint:sha-256 EB:44:83:FD:E6:A0:C6:83:DA:D7:BE:5B:7C:AA:A7:5E:B0:60:EB:C2:A4:1A:06:3C:C2:69:3B:90:84:A5:2E:A0
m=application 59873 DTLS/SCTP webrtc-datachannel
c=IN IP4 192.168.2.52
a=mid:0
a=sendrecv
a=sctpmap:5000 webrtc-datachannel 65535
a=sctp-port:5000
a=max-message-size:262144
a=candidate:1 1 UDP 2130706431 240e:386:80d:7a00::1007 59873 typ host
a=candidate:2 1 UDP 2122317567 192.168.2.52 59873 typ host
a=candidate:3 1 UDP 2122317311 192.168.48.1 59873 typ host
a=candidate:4 1 UDP 2122317055 192.168.245.1 59873 typ host
a=candidate:5 1 UDP 2122316799 192.168.191.31 59873 typ host
a=candidate:6 1 UDP 2122316543 172.25.208.1 59873 typ host
a=candidate:7 1 UDP 2122316287 172.18.48.1 59873 typ host
a=end-of-candidates
@jlaine
Copy link
Collaborator

jlaine commented May 21, 2024

Hi! Could you let me know whether this can be reproduced with the server example and what browser you are using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants