RTSPtoWebRTC icon indicating copy to clipboard operation
RTSPtoWebRTC copied to clipboard

How to change ice_servers with credential details in config.json

Open sraza295 opened this issue 3 years ago • 0 comments

{ "server": { "http_port": ":8888", "ice_servers": ["stun:stun.l.google.com:19302"] }, "streams": { "INSTAR_IN-6014_HD": { "on_demand": true, "url": "rtsp://admin:[email protected]/11" }, "INSTAR_8015_FHD": { "on_demand": true, "url": "rtsp://admin:[email protected]/11" }, "INSTAR_9020_FHD": { "on_demand": true, "url": "rtsp://admin:[email protected]/12" }, "INSTAR_IN-7011_HD": { "on_demand": true, "url": "rtsp://admin:[email protected]/11" }, "H264_PCMALAW": { "on_demand": true, "url": "rtsp://admin:[email protected]:33556/" } } }

Now, how do I change "ice_servers" with credentials? For example this is my turn server : { url: 'turn:numb.viagenie.ca', credential: 'muazkh', username: '[email protected]' }

how to change in config.json

sraza295 avatar Aug 27 '21 15:08 sraza295