Jump to content
  • 0

WebRTCApp stream recording error



Hello Guys,

I use Antmedia Community 1.7.2 with docker and try to record some video with WebRTCApp.
On my local dev machine the recording is working perfect, but when I deploy on the server after I press Start Publishing button it passes like 5 second then in the browser console i got this error:
ICE failed, add a STUN server and see about:webrtc for more details
And the recording stops.

Do you have any solution for this?

Thank you very much,
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
Hi Adrian,You can setup a free turn server from here:https://numb.viagenie.ca/
Then you can use that server in peer.html:
Change the following :
var pc_config = null;
'iceServers' : [ {
'urls' : 'stun:stun.l.google.com:19302'
} ]
So that it becomes like :
var pc_config = {
'iceServers' : [ {
} ]

'iceServers': [
'urls': 'turn:turnserver.example.org', // A TURN server
'username': 'webrtc',
'credential': 'turnpassword'

Best regards,

Senior Software Engineer at Zalando SE
Member at GDG Ankara
Link to comment
Share on other sites


  • Create New...