What is RemoteControlEvent in coreaudio_dev ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If I don't receive remote control event (as the comment suggested), I fail
to restart AudioUnit
Why is RemoteControlEvent important in this case ?


On Wed, May 8, 2013 at 4:20 PM, Khoa Pham <onmyway133 at gmail.com> wrote:

> Hi,
>
> As someone wondered in
> http://permalink.gmane.org/gmane.comp.voip.pjsip/14083 and Ming suggested
> a fix in ticket http://trac.pjsip.org/repos/ticket/1175
> We couldn't have a clue about the frustrated comments about
> RemoteControlEvent, my program runs well without it
>
> /* Make sure that your application can receive remote control
>
>              * events by adding the code:
>
>              *     [[UIApplication sharedApplication]
>
>              *      beginReceivingRemoteControlEvents];
>
>              * Otherwise audio unit will fail to restart while your
>
>              * application is in the background mode.
>
>              */
>
> /**
>
>  * As in iOS SDK 4 or later, audio route change property listener is
>
>  * no longer necessary. Just make surethat your application can receive
>
>  * remote control events by adding the code:
>
>  *     [[UIApplication sharedApplication]
>
>  *      beginReceivingRemoteControlEvents];
>
>  * Otherwise audio route change (such as headset plug/unplug) will not be
>
>  * processed while your application is in the background mode.
>
>  */
>
> What do all these things mean ?
>
>
>
> --
> Khoa Pham
> HCMC University of Science
> Faculty of Information Technology
>



-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130508/e36525c5/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux