AirPlay Initialization

Includes:
"AirPlayCommon.h"
"APSCommonServices.h"

Introduction

Initialization APIs for AirPlay stack.



Functions

AirPlayStartMain

Kickoff AirPlay

AirPlayStopMain

Shutdown AirPlay


AirPlayStartMain


Kickoff AirPlay

OSStatus AirPlayStartMain(
    void );  
Return Value

kNoErr if successful or an error code indicating failure.

Discussion

This function kicksoff AirPlay stack. Platform should call this function from a platform process when AirPlay is to be started. This function will do the necessary AirPlay initialization (including creating threads as needed) and then return from this function.


AirPlayStopMain


Shutdown AirPlay

OSStatus AirPlayStopMain(
    void );  
Return Value

kNoErr if successful or an error code indicating failure.

Discussion

This function shuts down AirPlay stack. Platforms should call this function from a platform process when AirPlay is to be shutdown. Note that this should be called only if platform had started AirPlay stack by calling AirPlayStartMain() earlier.