Skip to content

How to change ice_servers with credential details in config.json #3

@sraza295

Description

@sraza295

{
"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions