shinyoshiaki / werift-webrtc

WebRTC Implementation for TypeScript (Node.js), includes ICE/DTLS/SCTP/RTP/SRTP/WEBM/MP4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

werift considers bundle transports to be invalid if the ice params are only in the first media section

koush opened this issue · comments

peerConnection.ts:

          throw new Error("ICE username fragment or password is missing");

Ring is sending this sdp answer. Notice that only the audio section contains ice params.

v=0
o=- 1291279334934711428 1 IN IP4 127.0.0.1
s=-
c=IN IP4 0.0.0.0
t=0 0
a=ice-options:trickle ice2
a=group:BUNDLE 0 1
a=tool:rsl-3.3.0-
m=audio 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 0.0.0.0
a=ice-ufrag:2I0s+1
a=ice-pwd:q01kqM9CH7OrAAICfxhuWkuc+1
a=fingerprint:sha-256 0C:11:17:42:F5:9D:CE:A6:DE:9D:7C:04:2A:5E:5D:CE:CC:1B:67:53:D9:62:46:14:7C:43:4D:D6:32:A8:D5:C8
a=setup:active
a=tls-id:75109de31635a8bc55ff6d5661ba26
a=rtcp:9 IN IP4 0.0.0.0
a=rtcp-mux
a=mid:0
a=sendrecv
a=msid:JsV8xDirWH0NGK6u8CoT1Vbz6h6eIPwrQ0ZD zS3CRRveBYDMO90XFL4UmrHFhwu2A5ETwbKy
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1
a=ssrc:436426786 cname:WruqICSWRHGjQVBE
a=ssrc:436426786 msid:JsV8xDirWH0NGK6u8CoT1Vbz6h6eIPwrQ0ZD zS3CRRveBYDMO90XFL4UmrHFhwu2A5ETwbKy
m=video 9 UDP/TLS/RTP/SAVPF 99
c=IN IP4 0.0.0.0
a=bundle-only
a=rtcp:9 IN IP4 0.0.0.0
a=rtcp-mux
a=mid:1
a=sendonly
a=msid:JsV8xDirWH0NGK6u8CoT1Vbz6h6eIPwrQ0ZD gD6iKFhu3xqmyvEuAM6aEykr1dG9WXJxE39s
a=rtpmap:99 H264/90000
a=rtcp-fb:99 transport-cc
a=rtcp-fb:99 ccm fir
a=rtcp-fb:99 nack
a=rtcp-fb:99 nack pli
a=rtcp-fb:99 goog-remb
a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032
a=ssrc:3088399726 cname:WruqICSWRHGjQVBE
a=ssrc:3088399726 msid:JsV8xDirWH0NGK6u8CoT1Vbz6h6eIPwrQ0ZD gD6iKFhu3xqmyvEuAM6aEykr1dG9WXJxE39s
a=tsvc-layers-count:1