We are currently building a webrtc application, converting a rtmp flow in a webrtc stream.
The application works well under normal condition but we are encountering problems when running the client app on a corporate environment.
For further testing we are using: https://testrtc.com to check different network configuration.
The tests are running fine under the "No firewall" configuration but if switch to "Firewall - Only http & https allowed" we don't get any valid stream.
We are using the default ant-media configuration with no turn server and the default stun servers:
Question
ThibaultOber
We are currently building a webrtc application, converting a rtmp flow in a webrtc stream.
The application works well under normal condition but we are encountering problems when running the client app on a corporate environment.
For further testing we are using: https://testrtc.com to check different network configuration.
The tests are running fine under the "No firewall" configuration but if switch to "Firewall - Only http & https allowed" we don't get any valid stream.
We are using the default ant-media configuration with no turn server and the default stun servers:
iceServers: [{"urls":"stun:stun1.l.google.com:19302"}]
The client is configuring using the WebRTCAdaptor JS library, with the antmedia server address as the "websocket_url"
1) Does it means the antmedia server is the signalling server which maintain the peer 2 peer connection ?
---------------------------------------------------------------------------------------------------------------------
When we look at the chrome://webrtc-internals logs we are missing an onicecandidate events:
When it's working (no firewall):
candidate: "candidate:4112619227 1 udp 2122260223 172.17.0.2 35950 typ host generation 0 ufrag 4lmt network-id 1", sdpMid: "0", sdpMLineIndex: 0
2023-01-04 09:28:44.366 onicecandidate
candidate: "candidate:3147983403 1 tcp 1518280447 172.17.0.2 9 typ host tcptype active generation 0 ufrag 4lmt network-id 1", sdpMid: "0", sdpMLineIndex: 0
2023-01-04 09:28:44.385 onicecandidate
candidate: "candidate:369102903 1 udp 1686052607 35.196.255.115 35950 typ srflx raddr 172.17.0.2 rport 35950 generation 0 ufrag 4lmt network-id 1", sdpMid: "0", sdpMLineIndex: 0
When it's not working (ports block):
2) I have readen online that a turn server could help on this configuration, can you please clarify this scenario ?
Thank you.
Please find attached the logs we got from: chrome://webrtc-internals & the one from the antmedia console
FirewallLog.txt noFirewallLog.txt ant-media-error-log.txt ant-media-console-log.txt
Link to comment
Share on other sites
Top Posters For This Question
8
6
Popular Days
Jan 5
6
Jan 4
3
Jan 13
2
Jan 14
1
Top Posters For This Question
ThibaultOber 8 posts
Mohit 6 posts
Popular Days
Jan 5 2023
6 posts
Jan 4 2023
3 posts
Jan 13 2023
2 posts
Jan 14 2023
1 post
Posted Images
13 answers to this question
Recommended Posts