port change

jamesChoi

New Member
We have https: localhost: 8888
->
I tried http: localhost: 9091, and I succeeded in sending the mobile video.

However, I closed the 8888 port and changed it to 9091 -> Cloud default port (2052), but the connection was not made to the socket.

Is there a way?
 

jamesChoi

New Member
member: 2128 "] WCS_HOME / conf / wcs-manager.properties

server.port = 9091
http: // localhost: 9091 / embed_player? urlServer = ws: // localhost: 8080 & streamName = rtsp: //stream_IP/camera.stream&mediaProviders=WebRTC&autoplay=1&loop=1

You can see the video confirmation.

After changing to server.port = 2052,


http: // localhost: 2052 / embed_player? urlServer = ws: // localhost: 8080 & streamName = rtsp: //stream_IP/camera.stream&mediaProviders=WebRTC&autoplay=1&loop=1

I can not see the video.
Unable to connect to web socket.
 

Max

Administrator
Staff member
It does not work because WCS uses REST Hook URL http://localhost:9091/EchoApp by default
You have to change this URL too.
Code:
ssh -p 2000 admin@localhost
>update app myAppKey -l http://localhost:2052/EchoApp
So your default REST hook will be changed to http://localhost:2052/EchoApp and therefore connection will be established.
Here you can find more information about CLI and REST hooks
https://docs.flashphoner.com/display/WCS5EN/Applications+management
https://docs.flashphoner.com/display/WCS5EN/Controlling+REST+methods
 
Top