oney / RCTWebRTCDemo

MIT License
215 stars 141 forks source link

No ice candidates in SDP #53

Closed liberatomota-itcenter closed 7 years ago

liberatomota-itcenter commented 7 years ago

Hello,

Great work creating this starting point to use the react native webrtc :) nad now the issue/question,

Running the demo I see that no ice candidates are set in the SDP. How can we add it?

"v=0
o=- 624850338402678256 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS 743ce258-6acb-486c-a71e-0dc6a43ea086
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:Dd5w
a=ice-pwd:y2vIPZ1B4rqxSNC0m+/wE1x4
a=ice-options:renomination
a=fingerprint:sha-256 EB:CE:02:07:EA:C8:76:B8:3B:28:16:84:3E:53:66:CA:A7:62:53:86:06:CB:CF:A7:55:3C:09:E3:DE:D1:C6:6E
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:4109714607 cname:75z6HUtBZloshxhV
a=ssrc:4109714607 msid:743ce258-6acb-486c-a71e-0dc6a43ea086 1fd953b4-980e-4934-b0a9-82472bc7c365
a=ssrc:4109714607 mslabel:743ce258-6acb-486c-a71e-0dc6a43ea086
a=ssrc:4109714607 label:1fd953b4-980e-4934-b0a9-82472bc7c365
m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 127 125 97 99 101 104
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:Dd5w
a=ice-pwd:y2vIPZ1B4rqxSNC0m+/wE1x4
a=ice-options:renomination
a=fingerprint:sha-256 EB:CE:02:07:EA:C8:76:B8:3B:28:16:84:3E:53:66:CA:A7:62:53:86:06:CB:CF:A7:55:3C:09:E3:DE:D1:C6:6E
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtpmap:100 red/90000
a=rtpmap:127 ulpfec/90000
a=rtpmap:125 H264/90000
a=rtcp-fb:125 ccm fir
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli
a=rtcp-fb:125 goog-remb
a=rtcp-fb:125 transport-cc
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:104 rtx/90000
a=fmtp:104 apt=125
a=ssrc-group:FID 2633598784 2969864275
a=ssrc:2633598784 cname:75z6HUtBZloshxhV
a=ssrc:2633598784 msid:743ce258-6acb-486c-a71e-0dc6a43ea086 469b88f1-eb6f-45ae-8bae-0b41a7c14511
a=ssrc:2633598784 mslabel:743ce258-6acb-486c-a71e-0dc6a43ea086
a=ssrc:2633598784 label:469b88f1-eb6f-45ae-8bae-0b41a7c14511
a=ssrc:2969864275 cname:75z6HUtBZloshxhV
a=ssrc:2969864275 msid:743ce258-6acb-486c-a71e-0dc6a43ea086 469b88f1-eb6f-45ae-8bae-0b41a7c14511
a=ssrc:2969864275 mslabel:743ce258-6acb-486c-a71e-0dc6a43ea086
a=ssrc:2969864275 label:469b88f1-eb6f-45ae-8bae-0b41a7c14511
"

Thanks

zxcpoiu commented 7 years ago

@liberatomota-itcenter

please see discussion in oney/react-native-webrtc#242