aircast iOS SDK --- airplay screen mirror receiver iOS8-iOS11.3 support
airplay mirroring and airplay casting SDK
pod 'aircast', :git => 'https://github.com/AirCastLab/aircast-ios.git'
then
#import <aircast_sdk_ios/acast_c.h>
aircast instance callbacks
static int ac_callback( EACMsgType eType, void* data, size_t dataSize, void* opaque)
{
switch (eType)
{
case eACMsgType_Error:
{
// error callback
break;
}
case eACMsgType_Info:
// info callback
break;
case eACMsgType_Connected:
// connected callback
break;
case eACMsgType_MediaDesc:
// media desc callback, include audio and video
break;
case eACMsgType_Disconnected:
// disconnected clalback
break;
case eACMsgType_VideoData:
// video data callback
break;
case eACMsgType_AudioData:
// audio data callback
break;
case eACMsgType_LicenseRequest:
// license need request, when the sdk need license
ac_update_license(*license);
break;
}
}
aircat setup
int ac_setup( AC_CALLBACK listener, void* opaque)
int ac_start(const SACStartParams* params)
void ac_stop(void);
void ac_finalize(void);
void ac_update_license(const char* license);
Please provide your company info and product info