2016-07-24 35 views
0

我使用oovoo sdk。iOS ooVoo。我怎樣才能注意到會議的某個人何時掛斷電話?

我怎麼能注意到會議的某個人何時掛斷電話?

- (void)initSDKInitializer { 

self.sdk = [ooVooClient sharedInstance]; 
self.sdk.AVChat.delegate = self; 
self.sdk.AVChat.VideoController.delegate = self; 
self.defaultCameraId = [self.sdk.AVChat.VideoController getConfig:ooVooVideoControllerConfigKeyCaptureDeviceId]; 
self.currentRes = self.defaultRes = [self.sdk.AVChat.VideoController getConfig:ooVooVideoControllerConfigKeyResolution]; 


[self.sdk.AVChat.VideoController setConfig:self.currentRes forKey:ooVooVideoControllerConfigKeyResolution]; 

self.ownVideoPanelView.fitVideoMode = YES; 

[self.sdk.AVChat.VideoController bindVideoRender:self.userId render:self.ownVideoPanelView]; 

[self.sdk.AVChat.VideoController openCamera]; 
[self.view bringSubviewToFront:self.toolBarView]; 

}

回答

0

因此,當有人離開會議委託方法被調用。 我相信當你設置AVChat的委託時,你必須遵守4-5必需的委託方法。

- (void)didParticipantLeave:(id<ooVooParticipant>)participant; 

其中一個廣告是在有人退出視頻會議時通知的。