rtsp-samsung-tv
rtsp-samsung-tv copied to clipboard
Port Error
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 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);