|
您好,我在打开摄像头时出现了问题,之前有好友请求视频时是双方都可以打开的,但是现在只有好友那台电脑才可以打开,无论是我请求还是好友请求。摄像头qq测试没问题,本机也在成功进入房间后调用了
int ret = AnyChatCoreSDK.UserCameraControl(-1, true);
ret = AnyChatCoreSDK.UserSpeakControl(-1, true);
ret = AnyChatCoreSDK.SetVideoPos(-1, frmchat.pictLocalVideo.Handle, 0, 0, frmchat.pictLocalVideo.Width, frmchat.pictLocalVideo.Height);
//MessageBox.Show(frmchat.myFriendID.ToString());
ret = AnyChatCoreSDK.UserCameraControl(frmchat.myFriendID, true);
ret = AnyChatCoreSDK.UserSpeakControl(frmchat.myFriendID, true);
ret = AnyChatCoreSDK.SetVideoPos(frmchat.myFriendID, frmchat.picFriendVideo.Handle, 0, 0, frmchat.picFriendVideo.Width, frmchat.picFriendVideo.Height);
这些函数,ret返回值也为0,但就是打不开。。。求指教,谢谢 |
|