Can anyone help me fullscreen my RTSP stream in my app?

This forum is about all development around libVLC.
Jo_Han_Solo
New Cone
New Cone
Posts: 2
Joined: 17 Dec 2017 23:28

Can anyone help me fullscreen my RTSP stream in my app?

Postby Jo_Han_Solo » 18 Dec 2017 00:09

Hey guys,

I'm using mrmaffen's VLC-ANDROID-SDK to develop an RTSP streaming app.
https://github.com/mrmaffen/vlc-android-sdk

I've had a lot of success getting it working and running quite well, but the problem I'm having that I can't seem to shake is getting it to display the video feed in fullscreen on the SurfaceView, or even just in the center of the SurfaceView.

This is what I get:
https://goo.gl/7wd8fF

The black window is the total size of the screen, I want that video to fill the screen and hopefully always fill from center, but I can't figure out how to do it.

Anyone have any experience with anything like this and knows how to fix it?

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: Can anyone help me fullscreen my RTSP stream in my app?

Postby mfkl » 17 Jan 2018 18:57

Hi,

Try using a more recent SDK: https://code.videolan.org/videolan/vlc-android
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests