Jump to content
  • 0

Android SDK- Conference video call - skipping frames


Gopalkrishna Patro
 Share

Question

Hi,

 

While in conference call(2 android devices), mostly the video is jerky and skipping the frames(e.g: if you wave your hand, only one frame is taken or fast moving with bluring). It's looks like 20-30% frames are only showing. And video quality is also very less in Android App.

 

But while playing the streaming video in ant media dashboard, streaming video is fine.

 

Please help us to fix this. Early response will be very helpful and appreciated.

Note:
Sample app and sdk: WebRTCAndroidFramework_04_Jan_2021-hurgns.zip

Thanks,
Gopal

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
Thank you for the reply.

Yes, we are checking with good internet connection, but still some frames are dropping.

Log:
01-13 10:37:41.863 7264-7439/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4001 ms. Frames received: 33. Dropped: 0. Rendered: 33. Render fps: 8.2. Average render time: 3356 us. Average swapBuffer time: 2100 us.
01-13 10:37:43.711 7264-7450/io.antmedia.webrtc W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one.
01-13 10:37:43.736 7264-7303/io.antmedia.webrtc I/EglRenderer: play_view_renderer1Duration: 4001 ms. Frames received: 1. Dropped: 0. Rendered: 1. Render fps: .2. Average render time: 2355 us. Average swapBuffer time: 1349 us.
01-13 10:37:45.865 7264-7439/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4001 ms. Frames received: 33. Dropped: 0. Rendered: 33. Render fps: 8.2. Average render time: 3073 us. Average swapBuffer time: 1964 us.
01-13 10:37:47.736 7264-7303/io.antmedia.webrtc I/EglRenderer: play_view_renderer1Duration: 4000 ms. Frames received: 16. Dropped: 0. Rendered: 16. Render fps: 4.0. Average render time: 4392 us. Average swapBuffer time: 2997 us.
01-13 10:37:48.450 7264-7312/io.antmedia.webrtc I/receive_statistics_proxy.cc: (line 474): WebRTC.Video.ReceiveStreamLifetimeInSeconds 40
    Frames decoded 40
    WebRTC.Video.DroppedFrames.Receiver 265
    WebRTC.Video.ReceivedPacketsLostInPercent 11
    WebRTC.Video.DecodedFramesPerSecond 1
    WebRTC.Video.KeyFramesReceivedInPermille 51
    WebRTC.Video.JitterBufferDelayInMs 1183
    WebRTC.Video.TargetDelayInMs 3134
    WebRTC.Video.CurrentDelayInMs 1846
    WebRTC.Video.InterframeDelay95PercentileInMs 382
    WebRTC.Video.InterframeDelay95PercentileInMs.S0 382
    WebRTC.Video.MediaBitrateReceivedInKbps.S0 29
    WebRTC.Video.KeyFramesReceivedInPermille.S0 52
    WebRTC.Video.MediaBitrateReceivedInKbps 32
01-13 10:37:48.452 7264-7312/io.antmedia.webrtc I/video_render_frames.cc: (line 47): WebRTC.Video.DroppedFrames.RenderQueue 4
01-13 10:37:49.865 7264-7439/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4000 ms. Frames received: 34. Dropped: 0. Rendered: 34. Render fps: 8.5. Average render time: 3769 us. Average swapBuffer time: 2421 us.
01-13 10:37:53.866 7264-7439/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4001 ms. Frames received: 33. Dropped: 0. Rendered: 33. Render fps: 8.2. Average render time: 3873 us. Average swapBuffer time: 2566 us.
01-13 10:37:57.869 7264-7439/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4002 ms. Frames received: 31. Dropped: 0. Rendered: 31. Render fps: 7.7. Average render time: 3847 us. Average swapBuffer time: 2682 us.
01-13 10:37:58.309 7264-7536/io.antmedia.webrtc I/video_stream_encoder.cc: (line 1330): Dropping frame. Too large for target bitrate.
01-13 10:37:58.479 7264-7536/io.antmedia.webrtc I/video_stream_encoder.cc: (line 1330): Dropping frame. Too large for target bitrate.
01-13 10:38:01.871 7264-7439/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4001 ms. Frames received: 30. Dropped: 0. Rendered: 30. Render fps: 7.5. Average render time: 5024 us. Average swapBuffer time: 2150 us.
01-13 10:38:02.410 7264-7447/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDropping frame - Not initialized or already released.
01-13 10:38:02.543 7264-7447/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDropping frame - Not initialized or already released.
01-13 10:38:02.669 7264-7447/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDropping frame - Not initialized or already released.
01-13 10:38:02.751 7264-7443/io.antmedia.webrtc I/send_statistics_proxy.cc: (line 664): Frames encoded 29
    WebRTC.Video.DroppedFrames.Capturer 0
    WebRTC.Video.DroppedFrames.EncoderQueue 0
    WebRTC.Video.DroppedFrames.Encoder 0
    WebRTC.Video.DroppedFrames.Ratelimiter 0
01-13 10:38:05.680 7264-7576/io.antmedia.webrtc I/webrtc_video_engine.cc: (line 2854): VideoReceiveStream stats: 1378542, {ssrc: 1059736823, total_bps: 0, width: 0, height: 0, key: 0, delta: 0, frames_dropped: 0, network_fps: 0, decode_fps: 0, render_fps: 0, decode_ms: 0, max_decode_ms: 0, first_frame_received_to_decoded_ms: -1, cur_delay_ms: 0, targ_delay_ms: 0, jb_delay_ms: 0, jb_cumulative_delay_seconds: 0, jb_emitted_count: 0, min_playout_delay_ms: 0, sync_offset_ms: 2147483647, cum_loss: 0, nack: 0, fir: 0, pli: 0}
01-13 10:38:05.713 7264-7576/io.antmedia.webrtc I/receive_statistics_proxy.cc: (line 474): Frames decoded 0
    WebRTC.Video.DroppedFrames.Receiver 0
01-13 10:38:05.714 7264-7576/io.antmedia.webrtc I/video_render_frames.cc: (line 47): WebRTC.Video.DroppedFrames.RenderQueue 0
01-13 10:38:08.538 7264-7624/io.antmedia.webrtc I/video_stream_encoder.cc: (line 1330): Dropping frame. Too large for target bitrate.
01-13 10:38:08.585 7264-7624/io.antmedia.webrtc I/video_stream_encoder.cc: (line 1330): Dropping frame. Too large for target bitrate.
01-13 10:38:08.716 7264-7624/io.antmedia.webrtc I/video_stream_encoder.cc: (line 1330): Dropping frame. Too large for target bitrate.
01-13 10:38:08.845 7264-7624/io.antmedia.webrtc I/video_stream_encoder.cc: (line 1330): Dropping frame. Too large for target bitrate.
01-13 10:38:09.245 7264-7572/io.antmedia.webrtc I/EglRenderer: play_view_renderer1Duration: 4000 ms. Frames received: 8. Dropped: 0. Rendered: 8. Render fps: 2.0. Average render time: 3080 us. Average swapBuffer time: 1538 us.
01-13 10:38:09.278 7264-7577/io.antmedia.webrtc I/EglRenderer: publish_view_rendererDuration: 4000 ms. Frames received: 7. Dropped: 0. Rendered: 7. Render fps: 1.7. Average render time: 8739 us. Average swapBuffer time: 5838 us.
01-13 10:38:09.505 7264-7645/io.antmedia.webrtc W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one.
01-13 10:38:10.321 7264-7645/io.antmedia.webrtc W/generic_decoder.cc: (line 92): Too many frames backed up in the decoder, dropping this one.
01-13 10:38:13.246 7264-7572/io.antmedia.webrtc I/EglRenderer: play_view_renderer1Duration: 4000 ms. Frames received: 4. Dropped: 0. Rendered: 4. Render fps: 1.0. Average render time: 15434 us. Average swapBuffer time: 11797 us.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...