When playing rtsp stream, there is always a gray screen

iOS, iPad, iPhone, tvOS specific usage questions
mzhs
New Cone
New Cone
Posts: 4
Joined: 07 Jun 2023 09:50

When playing rtsp stream, there is always a gray screen

Postby mzhs » 07 Jun 2023 10:07

Hello, when using mobilevlckit library to play rtsp stream in ios development, pixel art gray screen and delay problems appear. How can I solve them? Thank you
code:
VLCMediaPlayer * player = [[VLCMediaPlayer alloc] initWithOptions:nil];
player.drawable=cell_cam.playView;
VLCMedia *media=[VLCMedia mediaWithURL:[NSURL URLWithString:url]];
player.media =media;
[player play];

mzhs
New Cone
New Cone
Posts: 4
Joined: 07 Jun 2023 09:50

Re: When playing rtsp stream, there is always a gray screen

Postby mzhs » 07 Jun 2023 10:10

It's not always a gray screen, it happens from time to time


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

Who is online

Users browsing this forum: No registered users and 12 guests