Skip to content

Instantly share code, notes, and snippets.

@arlolra
Created December 10, 2015 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arlolra/962061b9147acfdeb05c to your computer and use it in GitHub Desktop.
Save arlolra/962061b9147acfdeb05c to your computer and use it in GitHub Desktop.
ERROR: 2015/12/09 20:52:51 configuration.go:130: IceServer: received malformed url: <>
ERROR: 2015/12/09 20:52:51 configuration.go:130: IceServer: received malformed url: <badurl>
WARNING: 2015/12/09 20:52:51 configuration.go:116: IceServer: got 4 strings, expect <= 3. Ignoring extras.
&{[stun:a turn:b] alice secret}
INFO: configuration.go:163: Created Configuration at &{[] 3 0 <nil>}
INFO: configuration.go:163: Created Configuration at &{[{[stun:a] }] 3 0 <nil>}
INFO: configuration.go:163: Created Configuration at &{[{[stun:a] } {[stun:b turn:c] }] 3 0 <nil>}
INFO: configuration.go:184: OptionIceTransportPolicy: 3 All
INFO: configuration.go:163: Created Configuration at &{[{[stun:d] }] 3 0 <nil>}
INFO: configuration.go:163: Created Configuration at &{[{[stun:d] }] 3 2 <nil>}
INFO: configuration.go:163: Created Configuration at &{[] 3 0 <nil>}
INFO: webrtc.go:136: PC at 0xc82009e180
INFO: configuration.go:226: Converting Config: &{[] 3 0 <nil>}
INFO: webrtc.go:146: Created PeerConnection: &{<nil> <nil> false <nil> <nil> <nil> <nil> {[] 3 0 <nil>} 0x9606330} 0x9606330
INFO: webrtc.go:136: PC at 0xc82009e280
INFO: configuration.go:226: Converting Config: &{[] 3 0 0xc82000e600}
INFO: webrtc.go:146: Created PeerConnection: &{<nil> <nil> false <nil> <nil> <nil> <nil> {[] 3 0 0xc82000e600} 0x9617110} 0x9617110
== ALICE's PeerConnection ==
[C] SDP successfully created at 0x9511170
SDP Offer:
v=0
o=- 5833788341699762704 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS
INFO: webrtc.go:264: fired OnSignalingStateChange: 0xc82009e180 0 Stable
INFO: webrtc.go:283: fired OnIceCandidate: 0xc82009e180
INFO: webrtc.go:264: fired OnSignalingStateChange: 0xc82009e180 1 HaveLocalOffer
~~ Signalling Happens here ~~
== BOB's PeerConnection ==
INFO: webrtc.go:264: fired OnSignalingStateChange: 0xc82009e280 3 HaveRemoteOffer
[C] SDP parse error.
HaveRemoteOffer
INFO: configuration.go:184: OptionIceTransportPolicy: 1 Relay
INFO: configuration.go:163: Created Configuration at &{[{[stun:something.else] }] 1 0 <nil>}
INFO: configuration.go:226: Converting Config: &{[{[stun:something.else] }] 1 0 <nil>}
[C] CreateAnswer0x9617110
[C] SDP successfully created at 0x96196c0
SDP Answer:
v=0
o=- 5376670945191310253 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS
INFO: webrtc.go:273: fired OnNegotiationNeeded: 0xc82009e180
[C] OnRenegotiationNeeded
INFO: webrtc.go:273: fired OnNegotiationNeeded: 0xc82009e180
Created data channel: 0x9611880
Data channel: &{0 <nil> <nil> <nil> <nil> 0x9611880}
INFO: webrtc.go:296: fired OnDataChannel: 0xc82009e180 <nil>
PASS
ok github.com/keroserene/go-webrtc 0.224s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment