|
6#
楼主 |
发表于 2015-8-28 11:01:27
|
只看该作者
2015-08-28 10:47:29.931 ChatDemo-UI2.0[1971:720959] Invoke UserSpeakControl(userid=-1,bOpen=1)
2015-08-28 10:47:29.933 ChatDemo-UI2.0[1971:720959] Audio record control:1, result:-1
2015-08-28 10:47:29.994 ChatDemo-UI2.0[1971:721208] Default Audio Capture Driver()
2015-08-28 10:47:30.003 ChatDemo-UI2.0[1971:721208] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2015-08-28 10:47:30.013 ChatDemo-UI2.0[1971:721208] Audio codec init, handle:3, 11, 1, 16000, 16, 15850
2015-08-28 10:47:30.043 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.086 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.136 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.160 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.180 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.207 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.249 ChatDemo-UI2.0[1971:721252] video codec init:codec:1, 8fps, 1280x720, bitrate:0kbps, quality:3, preset:3, gop:30, handle:-1
2015-08-28 10:47:30.259 ChatDemo-UI2.0[1971:721307] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
- (void) StartVideoChatint) userid
{
// open local video
NSLog(@"startVideoChat:%d", userid);
[AnyChatPlatform SetSDKOptionInt:BRAC_SO_LOCALVIDEO_OVERLAY :1];
if (isOldVersion)
{
[AnyChatPlatform UserSpeakControl: -1:YES];
}else{
[self setMuteState:isChooseToMute];
}
[AnyChatPlatform SetVideoPos:-1 :self :0 :0 :0 :0];
[AnyChatPlatform UserCameraControl:-1 : YES];
// request other user video
[AnyChatPlatform UserSpeakControl: userid:YES];
[AnyChatPlatform SetVideoPos:userid: self.remoteVideoSurface:0:0:0:0];
[AnyChatPlatform UserCameraControl:userid : YES];
self->iRemoteUserId = userid;
[AnyChatPlatform SetSDKOptionInt:BRAC_SO_LOCALVIDEO_ORIENTATION : self.interfaceOrientation];
}
|
|