|
沙发
楼主 |
发表于 2015-8-6 18:11:03
|
只看该作者
anyChatCoreSDK.InitSDK(android.os.Build.VERSION.SDK_INT, 0);anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_GOPCTRL, "20");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_BITRATECTRL, "1000000");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_WIDTHCTRL, "640");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_HEIGHTCTRL, "480");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_FPSCTRL, "20");
anyChatCoreSDK.InitSDK(android.os.Build.VERSION.SDK_INT, 0);anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_GOPCTRL, "30");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_BITRATECTRL, "500000");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_WIDTHCTRL, "640");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_HEIGHTCTRL, "480");
anyChatCoreSDK.SetSDKOptionString(AnyChatDefine.BRAC_SO_LOCALVIDEO_FPSCTRL, "12");
我在手机A上设置了如上参数, 然后手机B向A发起视频请求, 在上面的两个参数下, 显示的效果都一样, 很模糊 , 就像是不起作用一样? 完全不设置参数的话也没效果。。。 请问到底该怎么设置参数呢? |
|