Please check WebRTC as RTMP example source code. By default, webserver URL is set toI mean there is an input field in WebRTC as RTMP re-publishing for example wss://example.com:8444. it shows the website address by default how can I change the default address to another address. Because I installed WCS on another server that is why I want that address to show by default rather than my website name.
url
field
Code:
function init_page() {
$("#url").val(setURL());
loadPlayer();
...
}
Code:
function init_page() {
$("#url").val("wss://wcs_address:8443");
loadPlayer();
...
}