Changing the VLCMediaPlayer layer view

This forum is about all development around libVLC.
User avatar
diegostamigni
New Cone
New Cone
Posts: 1
Joined: 26 Jan 2016 11:17

Changing the VLCMediaPlayer layer view

Postby diegostamigni » 26 Jan 2016 11:30

Hello, just a quick question: is it possibile to change (or better, reset/update) the drawable of a VLCMediaPlayer (MobileVLCKit) instance that is already attached ?

For example:

Code: Select all

VLCMedia *media = [[VLCMedia alloc] initWithURL:url]; VLCMediaPlayer *player = [[VLCMediaPlayer alloc] init]; [player setMedia:media]; [player setDrawable:pipView]; [player play]; // is this possible ? [player setDrawable:fullscreenView];

After a quick try, it's not working at all. Why ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Changing the VLCMediaPlayer layer view

Postby Jean-Baptiste Kempf » 28 Jun 2016 09:41

This will probably crash.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 28 guests