RTSPtoWebRTC
RTSPtoWebRTC copied to clipboard
How to change ice_servers with credential details in config.json
{ "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