8 #import <Foundation/Foundation.h>
23 #include "gs_endpoint_cxx.h"
25 class GSCore :
public GsEndpointCore {
27 GSCore(
GSepCore *c) : GsEndpointCore() { GsEndpointCore::inst =
this; }
30 virtual void on_connection_event(gs_connection_event *ev);
31 virtual void on_session_event(gs_session_event *ev);
32 virtual void on_device_event(gs_device_event *ev);
33 virtual void on_sip_info_received (gs_call_id
id,
const char *conType,
const char *content);
34 virtual void on_audio_frame (
int stream_direction_cap1_play2, int16_t audio10ms[],
int length,
int samplingFreq,
bool isStereo);