Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ERR: path has changed" from Android VLC #96

Closed
JC-85 opened this issue Oct 3, 2020 · 1 comment
Closed

"ERR: path has changed" from Android VLC #96

JC-85 opened this issue Oct 3, 2020 · 1 comment
Labels
question Further information is requested

Comments

@JC-85
Copy link

JC-85 commented Oct 3, 2020

Which version are you using?

v0.9.15

Which operating system are you using?

Windows

Describe the problem

When connecting to the port with VLC (3.2.12) on Android I receive the following error message, and the connection fails:

2020/10/04 00:28:16 [2/0/0] [client [::1]:52111] connected
2020/10/04 00:28:16 [2/0/0] [client [::1]:52111] OPTIONS
2020/10/04 00:28:16 [2/0/0] [client [::1]:52111] ANNOUNCE
[udp @ 000001d238191640] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 000001d238191e40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
2020/10/04 00:28:16 [2/0/0] [client [::1]:52111] SETUP
2020/10/04 00:28:16 [2/0/0] [client [::1]:52111] RECORD
2020/10/04 00:28:16 [2/0/0] [client [::1]:52111] is publishing on path 'ch0', 1 track via udp
Output #0, rtsp, to 'rtsp://localhost:8554/ch0':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: mpeg4, yuv420p, 1280x720, q=2-31, 200 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.54.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39856] SETUP
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39856] PLAY
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39856] is receiving on path 'ch0', 1 track via udp
2020/10/04 00:28:16 [2/1/1] [client 192.168.2.34:39856] TEARDOWN
2020/10/04 00:28:16 [1/1/0] [client 192.168.2.34:39856] disconnected
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39858] connected
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39858] SETUP
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39858] PLAY
2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39858] ERR: path has changed, was 'ch0', now is 'ch0/trackID=0'
2020/10/04 00:28:16 [1/1/0] [client 192.168.2.34:39858] disconnected

Connecting to rtsp-simple-server from VLC (3.0.11) on Windows works without any problems. Connecting to other RTSP streams using the same Android device also works without issues.

@aler9 aler9 added the question Further information is requested label Oct 6, 2020
@aler9
Copy link
Member

aler9 commented Oct 6, 2020

Hello, i've tested this exact setup (rtsp-simple-server on Windows, VLC on Android on different machine) but everything worked and i was not able to replicate the issue.

In my opinion, there's a firewall between the machine and the device that blocks UDP connections; if there's a firewall, VLC sends a TEARDOWN request after 10 seconds, and then try with TCP, but in this case the teardown happens instanteously:

2020/10/04 00:28:16 [2/1/0] [client 192.168.2.34:39856] is receiving on path 'ch0', 1 track via udp
2020/10/04 00:28:16 [2/1/1] [client 192.168.2.34:39856] TEARDOWN

There should be a delay of 10 seconds between these two lines.
Please try again and attach another log.

@aler9 aler9 closed this as completed Mar 30, 2021
@bluenviron bluenviron locked and limited conversation to collaborators Mar 30, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants