change wss default port

manh.chu

New Member
Hi administrator,

I'm using WCS version 5.2.1498.
I change the default port at file flashphoner.properties with config: wss.port=443 (default 8443) and then restart webcallserver it OK, but I used the command netstat to check port 443 it's not listening. I'm certain port 443 hasn't been serviced using.

Can you explain to me some reason port 443 not working?

Thank you for reading.
 

Max

Administrator
Staff member
Hello

By default server process starts from user 'flashphoner', not from a root user.
Try to launch server as root user.

1. Stop server.
2. Edit config /usr/local/FlashphonerWebCallServer/bin/setenv.sh
Code:
WCS_NON_ROOT=false
3. Start server as sudo user

Or
Code:
sudo ./webcallserver set-root-mode enable

The issue may be caused by non-root launch. Non-root application can't bind lower ports like 443.
 

manh.chu

New Member
Hello

By default server process starts from user 'flashphoner', not from a root user.
Try to launch server as root user.

1. Stop server.
2. Edit config /usr/local/FlashphonerWebCallServer/bin/setenv.sh
Code:
WCS_NON_ROOT=false
3. Start server as sudo user

Or
Code:
sudo ./webcallserver set-root-mode enable

The issue may be caused by non-root launch. Non-root application can't bind lower ports like 443.
It's work. Thank you again.
 

manh.chu

New Member
Hi administrator,

I'm using the feature SIP Phone Video, call from Browser to Browser situation occurs freeze-frame in the remote video. I debug in edge://webrtc-internals/. I see frame_Decoded_in_ms unstable.
1679801138149.png


How can I improve this?
 

Max

Administrator
Staff member
Seems like channel bandwidth between server and publisher/player browsers in not enough to publish a desired resolution. Use lower resolution/bitrate and/or try to switch to TCP transport. Also check a client network conditions: do not use mobile 2G/3G, use 4G/LTE or WiFi or a wired connection.
 

manh.chu

New Member
Seems like channel bandwidth between server and publisher/player browsers in not enough to publish a desired resolution. Use lower resolution/bitrate and/or try to switch to TCP transport. Also check a client network conditions: do not use mobile 2G/3G, use 4G/LTE or WiFi or a wired connection.
I decreased Video FPS (at Phone Video) and switch TCP transport, but that problem still. Client use WIFI.
What parameters can I change resolution/bitrate at flashphoner.properties?
 

Max

Administrator
Staff member
You can change resolution at the example page:
1679894206937.png

Code:
function getConstraints() {
    var constraints = {
        audio: {deviceId: {exact: $('#micList').find(":selected").val()}},
        video: {
            deviceId: {exact: $('#cameraList').find(":selected").val()},
            width: parseInt($('#sendWidth').val()),
            height: parseInt($('#sendHeight').val()),
            frameRate: parseInt($('#sendFramerate').val())
        }
    };
    return constraints;
}
Also make sure you have restarted WCS after changing server parameter to
Code:
ice_tcp_transport=true
Test a bandwidth between both clients and WCS: Testing channel bandwidth using iperf via TCP
Code:
iperf3 -c wcs-address -p 5201 -t 60 
iperf3 -c wcs-address -p 5201 -t 60 -R
The channel should be at least 10 Mbps to test SD streams and 20 Mbps to test HD streams.
 
Top