VLCAudio class support

iOS, iPad, iPhone, tvOS specific usage questions
pvms78
Blank Cone
Blank Cone
Posts: 27
Joined: 27 Mar 2014 18:40
Operating System: Mac OS

VLCAudio class support

Postby pvms78 » 01 Sep 2015 20:46

Hi,

Could you consider returning, in master branch, the VLCAudio support? I am developing an application with multiple videos with audio and I want to play the audio of the one that is currently selected. I made a modification in the code, that I could share if you like, that enables the application to mute each video individually without using the hardware control of the iOS device.

Thank you,
Paulo

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

Re: VLCAudio class support

Postby fkuehne » 02 Sep 2015 10:31

We removed this class for VLCKit 3.0 because we didn't see the use, however this is not finalized yet and we are open for suggestions. We would be very happy about your patch :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

pvms78
Blank Cone
Blank Cone
Posts: 27
Joined: 27 Mar 2014 18:40
Operating System: Mac OS

Re: VLCAudio class support

Postby pvms78 » 02 Sep 2015 14:56

Hi,
Ok. Will provide the patch until tomorrow.
It changes the audiounit_ios module from C-file to M-file. This way, it removes some deprecated methods.
Thank you

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

Re: VLCAudio class support

Postby fkuehne » 07 Sep 2015 12:52

Ping ;)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

pvms78
Blank Cone
Blank Cone
Posts: 27
Joined: 27 Mar 2014 18:40
Operating System: Mac OS

Re: VLCAudio class support

Postby pvms78 » 16 Sep 2015 13:07

Hi, sorry for the delay. I have been overwhelmed by work and could not write this patch. Will do as soon as I can.
Thank you

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

Re: VLCAudio class support

Postby fkuehne » 16 Sep 2015 13:39

No worries, looking forward to it!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

pvms78
Blank Cone
Blank Cone
Posts: 27
Joined: 27 Mar 2014 18:40
Operating System: Mac OS

Re: VLCAudio class support

Postby pvms78 » 05 Oct 2015 01:50

Hi, I've sent the patch to enable audio mute for VLC library. How should I send a patch to VLCKit now that it has been moved to videolan Gitlab.

zasuk
New Cone
New Cone
Posts: 6
Joined: 28 Sep 2015 01:44

Re: VLCAudio class support

Postby zasuk » 05 Oct 2015 18:18

with this i'll be able to mute one video if for example i have two playing at same time?

pvms78
Blank Cone
Blank Cone
Posts: 27
Joined: 27 Mar 2014 18:40
Operating System: Mac OS

Re: VLCAudio class support

Postby pvms78 » 05 Oct 2015 21:54

Yes. A Patch to MobileVLCKit will also be needed.

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

Re: VLCAudio class support

Postby fkuehne » 05 Oct 2015 22:43

Hello,

I'll merge your patch in a few minutes once it completed my tests.

For the VLCKit patch, feel free to send it either to the iOS mailing-list or vlc-devel. We will enable pull requests on code.v.o later this year, but this is not done yet.

Thanks for your work!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

golopupinsky
New Cone
New Cone
Posts: 2
Joined: 01 Nov 2015 16:23

Re: VLCAudio class support

Postby golopupinsky » 01 Nov 2015 16:32

What's the status of VLCAudio? I also develop iOS app that plays several videos simultaneously. And it requires not only muting one of them but also controlling their volume independently. Is this doable right now? Or will it be possible in the future?

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

Re: VLCAudio class support

Postby fkuehne » 02 Nov 2015 11:03

Volume setting is not supported in the iOS audio output module - in our own use-case we rely on system volume so this was never a priority to us. Should be easy to add though, patch welcome :)

FYI, mute was recently added by a forum contributor.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

golopupinsky
New Cone
New Cone
Posts: 2
Joined: 01 Nov 2015 16:23

Re: VLCAudio class support

Postby golopupinsky » 02 Nov 2015 11:40

Mute doesn't work for me (I'm using couple weeks old vlckit build - that's probably the reason).
Haven't really touched vlc sources yet. Would appreciate any hints on starting point for this.


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

Who is online

Users browsing this forum: No registered users and 6 guests