osxaudiosink: use ear speaker on iOS

Mailing List SVR lists at svrinformatica.it
Wed Jul 4 09:15:05 UTC 2018


Solved myself, the key is to set the mode on AVAudioSession,

thanks anyway,

Nicola

Il 04/07/2018 07:33, Mailing List SVR ha scritto:
> Hi,
>
> in an iOS app if I do something like this:
>
> |AVAudioSession*mySession =[AVAudioSessionsharedInstance]; ||NSError*audioSessionError =nil;[mySession 
> setCategory:AVAudioSessionCategoryPlayAndRecorderror:&audioSessionError]; 
> ||[mySession setActive:YES error:&audioSessionError];|
>
> |then the audio is routed to the ear speaker, but this configuration 
> has no effect when using osxaudiosink.
>
> osxaudiosink seems to always use the default speaker. Is there a way 
> to use the ear speaker with osxaudiosink?
>
> thanks
> Nicola
>
> |
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180704/895aa66a/attachment.html>


More information about the gstreamer-devel mailing list