rtsp-samsung-tv icon indicating copy to clipboard operation
rtsp-samsung-tv copied to clipboard

Port Error

Open BPM-NZ opened this issue 2 years ago • 1 comments

Hi there, I'm trying to get the server running in a docker but have a port error when creating the container. There is a service running on port 10000 already, "systemd---miniserv.pl". I am running Portainer also. When I remap the ports can access the web page but can't get any streams going. Any ideas how I can get this going? Cheers

BPM-NZ avatar Sep 12 '21 01:09 BPM-NZ

@BPM-NZ Can you share what command are you use to running docker?

If you change port like that:

docker run -d --name=rtsp-samsung-tv  -p 3004:3004 -p 10004-10009:9999-10004  --restart=always vassio/rtsp-samsung-tv:latest

then you need to change here also port https://github.com/vzakharchenko/rtsp-samsung-tv/blob/4c0580c08b9c0cf6a89f866e2bf6ff92d9c4ab93/CameraDevice/index.html#L43

 var url = 'ws://' + serverInfo.ip + ':' + (10004 + _i);

and here https://github.com/vzakharchenko/rtsp-samsung-tv/blob/4c0580c08b9c0cf6a89f866e2bf6ff92d9c4ab93/camera-admin-ui/public/camera.html#L88

const url = 'ws://' + serverInfo.ip + ':' + (10004 + i);

vzakharchenko avatar Sep 20 '21 12:09 vzakharchenko