VLC on tvOS 15.5.1 able to play rtsp network streams?

iOS, iPad, iPhone, tvOS specific usage questions
SiliconLunch
New Cone
New Cone
Posts: 2
Joined: 09 Dec 2019 16:04

VLC on tvOS 15.5.1 able to play rtsp network streams?

Postby SiliconLunch » 20 Nov 2022 10:23

Hi,

I have an rtsp network streaming URL that opens and streams correctly on VLC (3.0.17.3) on MacOS (10.15.7).
However, with the VLC version installed on my AppleTV on tvOS 15.5.1, the same URL fails to open.
After the cursor spins for a while, I am returned to the Network Stream page.

The URL is of the following form:

Code: Select all

rtsp://U:P@A.B.C.D:P/axis-media/media.amp
where:
U = Axis camera username
P = Axis camera password
A.B.C.D is ipaddr of Axis camera
P is the port of the Axis camera

The exact same URL opens fine on my laptop version of VLC from File > Open Network...
So all the Axis camera remote side (ipaddr / port / creds / firewall etc.) are tested and working.

Wondering if anyone has had any success with this type of network stream on VLC on tvOS?

Regards

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC on tvOS 15.5.1 able to play rtsp network streams?

Postby fkuehne » 12 Dec 2022 17:34

This is surprising. A debug log would be interesting. To create it, enable the option in the VLC settings on Apple TV, play your stream and then open the remote playback website indicated in VLC in your web browser to download the log.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

SiliconLunch
New Cone
New Cone
Posts: 2
Joined: 09 Dec 2019 16:04

Re: VLC on tvOS 15.5.1 able to play rtsp network streams?

Postby SiliconLunch » 26 Jan 2023 15:47

Thanks for taking a look.

I've linked 2 logfiles, corresponding to 2 test cases:

Case 1 URI: rtsp://192.168.253.102:1554/axis-media/media.amp
Case 2 URI: rtsp://USER:PSWD@192.168.253.102:1554/axis-media/media.amp

When I use the Case 1 URI on other devices, VLC pops up an auth window where I can enter USER & PSWD. With VLC on AppleTV, there was no popup or other method I could see how to enter the auth creds.

From reading the logs, in both cases it seems the error was a failure to authenticate. In Case 1, it seems obvious because the creds were not input anywhere. But in Case 2, the creds are in the URI, and it's confirmed by the warning "Password in a URI is DEPRECATED". Still, authentication failed in Case 2 as well.

Last thought: my actual PSWD contains several punctuation characters, such as *, % and $. I wonder whether they are not getting properly escaped when the authentication mechanism is performed?

Case 1 log:
https://pastebin.com/WJuaAESh

Case 2 log:
https://pastebin.com/rVfdbnG0


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 26 guests