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

After being updated to mediasoup, the video cannot be used #116

Closed
libobo1112006 opened this issue Aug 11, 2022 · 2 comments
Closed

After being updated to mediasoup, the video cannot be used #116

libobo1112006 opened this issue Aug 11, 2022 · 2 comments

Comments

@libobo1112006
Copy link

libobo1112006 commented Aug 11, 2022

I find that my video cannot be connected when ice is different at this location.
In kurento-utils.js
pc.setRemoteDescription(answer)
IN mediasoup

v=0
o=mediasoup-client 10000 1 IN IP4 0.0.0.0
s=-
t=0 0
a=ice-lite
a=fingerprint:sha-224 52:EF:17:58:DB:3D:87:75:EF:99:F7:20:97:70:6D:A9:0E:57:E5:50:B4:E7:01:AC:09:5F:2F:E6
a=msid-semantic: WMS *
a=group:BUNDLE 0
m=video 7 UDP/TLS/RTP/SAVPF 96
c=IN IP4 127.0.0.1
b=TIAS:200000
b=AS:200
a=rtpmap:96 VP8/90000
a=fmtp:96
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=extmap:1 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=setup:active
a=mid:0
a=msid:L5zc9ZYjLmvHEPkC 83ea5667-136f-4f1f-8909-adc63b5aecbc
a=recvonly
a=ice-ufrag:avmiuhfy5fkewuduvgfb3msb68t353mj
a=ice-pwd:0p40wfxwndu4u8vch6htpoud4yr571cx
a=candidate:udpcandidate 1 udp 1076558079 PUBLICIP 31102 typ host
a=candidate:tcpcandidate 1 tcp 1076302079 PUBLICIP 29879 typ host tcptype passive
a=end-of-candidates
a=ice-options:renomination
a=rtcp-mux
a=rtcp-rsize
a=content:main

IN Kurento

v=0
o=- 3869174617 3869174617 IN IP4 0.0.0.0
s=Kurento Media Server
c=IN IP4 0.0.0.0
t=0 0
a=extmap-allow-mixed
a=msid-semantic: WMS 4TVY2TkFcnbeOReXF7vP7g5laZoPAr6mb7v9
a=group:BUNDLE 0
m=video 1 UDP/TLS/RTP/SAVPF 96
b=TIAS:50000
b=AS:50
a=rtpmap:96 VP8/90000
a=fmtp:96
a=rtcp:9 IN IP4 0.0.0.0
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=setup:active
a=mid:0
a=recvonly
a=ice-ufrag:0/tW
a=ice-pwd:cgmLbHyv9H7/5R8BLdYvRd
a=fingerprint:sha-256 EF:F0:A2:BF:50:A7:5B:C3:A3:CA:F5:3B:2B:C3:0B:EC:0C:34:2E:0C:98:ED:01:01:5E:84:99:FA:63:8E:CE:9E
a=ssrc:176234920 cname:user2843940848@host-1c4be482
a=rtcp-mux
a=content:main

The main differences are as follows:
a=ice-lite
a=ice-options:renomination

Will this affect the local IP selection of ice?

My environment is EC2 of AWS. Can these changes be configured in mediasoup?

@prlanzarin
Copy link
Member

@prlanzarin
Copy link
Member

prlanzarin commented Aug 11, 2022

Will this affect the local IP selection of ice?

Yes. One is a full ICE implementation, the other (mediasoup) is an ICE-lite.

My environment is EC2 of AWS. Can these changes be configured in mediasoup?

Yes. EC2 is a supported environment with mediasoup. Please follow the steps in the aforementioned comment and make sure the correct IPs are configured in mediasoup and the EC2 firewall is properly set up in a way that you don't need internal hole punching.

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