製品アップデート情報
Tencent Cloudオーディオビデオ端末SDKの再生アップグレードおよび承認チェック追加に関するお知らせ
TRTCアプリケーションのサブスクリプションパッケージサービスのリリースに関する説明について

// 現在のルームから退室しますmCloud.exitRoom();
self.trtcCloud = [TRTCCloud sharedInstance];// 現在のルームから退室します[self.trtcCloud exitRoom];
trtc_cloud_ = getTRTCShareInstance();// 現在のルームから退室しますtrtc_cloud_->exitRoom();
// onExitRoomコールバックを監視することで、退室の理由を確認できます@Overridepublic void onExitRoom(int reason) {if (reason == 0) {Log.d(TAG, "Exit current room by calling the 'exitRoom' api of sdk ...");} else if (reason == 1) {Log.d(TAG, "Kicked out of the current room by server through the restful api...");} else if (reason == 2) {Log.d(TAG, "Current room is dissolved by server through the restful api...");}}
// onExitRoomコールバックを監視することで、退室の理由を確認できます- (void)onExitRoom:(NSInteger)reason {if (reason == 0) {NSLog(@"Exit current room by calling the 'exitRoom' api of sdk ...");} else if (reason == 1) {NSLog(@"Kicked out of the current room by server through the restful api...");} else if (reason == 2) {NSLog(@"Current room is dissolved by server through the restful api...");}}
// onExitRoomコールバックを監視することで、退室の理由を確認できますvoid onExitRoom(int reason) {if (reason == 0) {printf("Exit current room by calling the 'exitRoom' api of sdk ...");} else if (reason == 1) {printf("Kicked out of the current room by server through the restful api...");} else if (reason == 2) {printf("Current room is dissolved by server through the restful api...");}}
フィードバック