sonoff-hack icon indicating copy to clipboard operation
sonoff-hack copied to clipboard

rtsp doesn't works

Open Dim3333 opened this issue 4 years ago • 6 comments

Hi,

Firmware Version | 0.1.1 Base Version | V0525.1.276build20201103 Model | GK-200MP2C

Username and password are empty. I use this link: rtsp://hack:hack@MYIP/av_stream/ch0

But connection refused with VLC (snapshot is ok). I don't know why ?

Dim3333 avatar Feb 15 '22 09:02 Dim3333

Is your port set to 554 for rtsp? One of mine was set to something different set it back and it was fine.

sccsltd avatar Feb 15 '22 09:02 sccsltd

Thanks @sccsltd I changed the rtsp port to 254 and it's works.

Dim3333 avatar Feb 15 '22 09:02 Dim3333

http://CAM-IP/index.html?page=configurations

on that page you can check the ports or change them if you want to 👍😊

sccsltd avatar Feb 15 '22 09:02 sccsltd

Yes, i done that.

Dim3333 avatar Feb 15 '22 09:02 Dim3333

I am having the same issue but do not even see a listener on 554:

[root@GK]# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:1000            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:7101            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:7103            0.0.0.0:*               LISTEN
tcp        0     64 172.1.1.129:ssh         172.1.1.141:57599       ESTABLISHED

I have tried changing ports for RTSP w/full resets to no avail. Stumped at this point. Thanks.

UPDATE / EDIT:

So if I change to port 254 or leave at 554 as OP did I do not see a port listening. If I bump up to port 5554 I see listener and am now able to connect/stream. Makes me wonder - Is the RSTP daemon in userspace and cannot bind to ports below 1024?

My versions are also same as OP:

Firmware Version | 0.1.1
-- | --
Base Version | V0525.1.276build20201103
Model | GK-200MP2C

neurocis avatar Feb 23 '22 04:02 neurocis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 03 '24 02:04 github-actions[bot]