视频通话,本地视频卡顿

如果我这边是200W像素的摄像头  如果改为Constants.VIDEO_PROFILE_720P 就会卡顿, 如果改为Constants.VIDEO_PROFILE_480P卡顿的话不是这么明显;要是使用300W像素的摄像头改为Constants.VIDEO_PROFILE_720P卡顿的话不是这么明显。按道理 200W像素 就是1920*1080 分辨率 2073600 接近200万像素 200万又称(1080P),网络的话是直接连接的网线,100M的光纤 。是不是需要降低设备的像素?本地卡顿才不会这么明显??
 
Has invited:

agorahu

Favor from:

您好,一般卡顿问题有两种情况,一种是网络问题,另一种是设备问题。现在根据您的描述我不能确定您的问题,能否提供下sdk log,方便我们帮您解决。

戴科

Favor from:

具体描述...01-02 08:00:50.740 770-770/com.agorademo E/MainActivity: Login : appID=21eff65da014401395b595a84b316326, account=CC11D4EA
01-02 08:00:51.090 770-1328/com.agorademo E/MainActivity: 登录成功
01-02 08:00:51.140 770-770/com.agorademo E/MediaPlayer: Should have subtitle controller already set
01-02 08:00:51.300 770-1328/com.agorademo E/MainActivity: 加入频道 B380AB66B22842F38FE857A450D5D520 successfully
01-02 08:00:51.300 770-770/com.agorademo E/MainActivity: handleMessage: 请求通话连接结果
01-02 08:00:51.300 770-1328/com.agorademo E/MainActivity: 频道用户列表 : CC11D4EA:1725217326
01-02 08:00:51.670 770-1351/com.agorademo E/MainActivity: initReqeustConnect 通话连接结果 : {"LyStatus":"OK"}
01-02 08:00:51.670 770-770/com.agorademo E/MainActivity: setCallConnection: 已经成功建立通话连接了 
01-02 08:00:52.670 770-1328/com.agorademo E/MainActivity: 其他用用户加入频道 = E9292AD9:2032065087 joined
01-02 08:00:52.670 770-1328/com.agorademo E/MainActivity: 拨打电话   Invite ==E9292AD9 join == B380AB66B22842F38FE857A450D5D520
01-02 08:00:53.110 770-1328/com.agorademo E/MainActivity: 远端已收到呼叫回调 E9292AD9:2032065087
01-02 08:00:55.430 770-1328/com.agorademo E/MainActivity: 远端已接受呼叫回调 E9292AD9:2032065087
01-02 08:00:55.480 770-770/com.agorademo I/VideoChatViewActivity: checkSelfPermission android.permission.RECORD_AUDIO 22
01-02 08:00:55.480 770-770/com.agorademo I/VideoChatViewActivity: checkSelfPermission android.permission.CAMERA 23
01-02 08:00:55.480 770-1328/com.agorademo E/MainActivity: 其他用户离开频道E9292AD9:2032065087 leaved
01-02 08:00:55.480 770-770/com.agorademo I/dalvikvm: Could not find method android.net.wifi.WifiInfo.getFrequency, referenced from method io.agora.rtc.internal.RtcEngineImpl.doGetNetworkInfo
01-02 08:00:55.480 770-770/com.agorademo W/dalvikvm: VFY: unable to resolve virtual method 1332: Landroid/net/wifi/WifiInfo;.getFrequency ()I
01-02 08:00:55.480 770-770/com.agorademo D/dalvikvm: VFY: replacing opcode 0x6e at 0x0095
01-02 08:00:55.500 770-770/com.agorademo D/dalvikvm: Trying to load lib /data/app-lib/com.agorademo-1/libagora-rtc-sdk-jni.so 0x41b97a80
01-02 08:00:55.520 770-770/com.agorademo D/dalvikvm: Added shared lib /data/app-lib/com.agorademo-1/libagora-rtc-sdk-jni.so 0x41b97a80
01-02 08:00:55.580 770-770/com.agorademo E/VideoChatViewActivity: sdk版本 = 1.12.0
01-02 08:00:55.580 770-770/com.agorademo E/VideoChatViewActivity: 这里有没有数据0
01-02 08:00:55.590 770-770/com.agorademo E/VideoChatViewActivity: 加入频道
01-02 08:00:55.630 770-1411/com.agorademo D/*WEBRTCN*: SetRenderAndroidVM
01-02 08:00:55.630 770-1411/com.agorademo I/MediaCodecList: register mediacode *****************
01-02 08:00:55.710 770-1328/com.agorademo E/MainActivity: 用户登出 == 101
01-02 08:00:55.710 770-1328/com.agorademo E/MainActivity: 注销成功 0
01-02 08:00:55.730 770-1328/com.agorademo E/MainActivity: 其他用户离开频道CC11D4EA:1725217326 leaved
01-02 08:00:55.930 770-770/com.agorademo W/MediaPlayer: mediaplayer went away with unhandled events
01-02 08:00:56.450 770-1411/com.agorademo D/*WEBRTCN*: StartRender: thread started: 1783702664
01-02 08:00:56.470 770-1411/com.agorademo D/*WEBRTCN*: VideoRenderAndroid dtor
01-02 08:00:56.470 770-1411/com.agorademo D/*WEBRTCN*: StopRender:
01-02 08:00:56.470 770-1457/com.agorademo D/*WEBRTCN*: JavaRenderThreadProcess: Java thread detached
01-02 08:00:56.470 770-1411/com.agorademo D/*WEBRTCN*: StartRender: thread started: 1758257952
01-02 08:00:56.470 770-1410/com.agorademo E/VideoChatViewActivity: 加入频道成功
01-02 08:00:56.470 770-1410/com.agorademo E/VideoChatViewActivity: 有用户加入频道
01-02 08:00:56.590 770-770/com.agorademo E/VideoChatViewActivity: ==========远端显示模式
01-02 08:00:56.590 770-1411/com.agorademo D/*WEBRTCN*: StartRender: thread started: 1786685472
01-02 08:02:17.720 770-1410/com.agorademo E/VideoChatViewActivity: 用户主动离开===0
01-02 08:02:17.860 770-1411/com.agorademo D/*WEBRTCN*: VideoRenderAndroid dtor
01-02 08:02:17.860 770-1411/com.agorademo D/*WEBRTCN*: StopRender:
01-02 08:02:17.860 770-1465/com.agorademo D/*WEBRTCN*: JavaRenderThreadProcess: Java thread detached
01-02 08:02:18.240 770-1411/com.agorademo D/*WEBRTCN*: VideoRenderAndroid dtor
01-02 08:02:18.240 770-1411/com.agorademo D/*WEBRTCN*: StopRender:
01-02 08:02:18.240 770-1460/com.agorademo D/*WEBRTCN*: JavaRenderThreadProcess: Java thread detached
01-02 08:02:18.250 770-782/com.agorademo E/BufferQueue: [unnamed-770-0] cancelBuffer: slot 0 is not owned by the client (state=0)
01-02 08:02:18.250 770-781/com.agorademo E/BufferQueue: [unnamed-770-0] cancelBuffer: slot 1 is not owned by the client (state=2)
01-02 08:02:18.250 770-948/com.agorademo E/BufferQueue: [unnamed-770-0] cancelBuffer: slot 2 is not owned by the client (state=0)
01-02 08:02:18.250 770-782/com.agorademo E/BufferQueue: [unnamed-770-0] cancelBuffer: slot 3 is not owned by the client (state=0)
01-02 08:02:18.380 770-1410/com.agorademo E/VideoChatViewActivity: 离开频道通话时长 == 82
01-02 08:02:18.400 770-2672/com.agorademo D/dalvikvm: GC_FOR_ALLOC freed 5732K, 19% free 25089K/30892K, paused 17ms, total 17ms
01-02 08:02:18.410 770-779/com.agorademo W/MediaPlayer-JNI: MediaPlayer finalized without being released
01-02 08:02:18.430 770-1411/com.agorademo D/*WEBRTCN*: SetRenderAndroidVM
01-02 08:02:20.160 770-2672/com.agorademo I/VideoChatViewActivity: 请求挂断通话结果 :{"LyStatus":"OK"}
01-02 08:02:20.160 770-770/com.agorademo E/VideoChatViewActivity: 请求挂断通话结果 = {"LyStatus":"OK"}
01-02 08:02:20.760 770-770/com.agorademo D/dalvikvm: GC_EXPLICIT freed 1310K, 22% free 24143K/30892K, paused 1ms+2ms, total 22ms
01-02 08:02:20.760 770-770/com.agorademo E/VideoChatViewActivity: 界面销毁  === null

黑曜石

Favor from:

问题解决了么,我也遇到了同样的问题

To reply to a question, please Login or registered