open-webrtc-toolkit / owt-client-android

Open WebRTC Toolkit client SDK for Android applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
195 stars 96 forks source link

H264 decode drop frame #234

Open melon025 opened 3 years ago

melon025 commented 3 years ago

HUAWEI M6(kirin980) publish H264 stream(1280x720@30) ,resolution update (resolution up); MIPAD 4(qcom660) subscribe H264 stream(1280x720@30), resolution will update but frame drop ; when use Subscription.applyOption(option,callback), frame will also be drop; If the resolution is not updated, the frame does not seem to be drop, Can anyone help me ?

server:4.3.x webrtc:m83 log: 2020-08-14 14:46:13.154 11387-11387/com.melon.meeting D/Renderer: false:onLayout left=1 top=1 right=2559 bottom=1515 width=2558 height=1514 2020-08-14 14:46:14.940 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:15.577 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:15.912 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:16.240 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:16.570 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:16.902 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:17.233 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:17.564 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one. 2020-08-14 14:46:17.893 11387-12074/com.melon.meeting W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one.