aws / amazon-chime-sdk-android

An Android client library for integrating multi-party communications powered by the Amazon Chime service.
https://aws.amazon.com/chime/chime-sdk/
Apache License 2.0
105 stars 49 forks source link

Memory leak resulting in crash #553

Open reest opened 1 year ago

reest commented 1 year ago

Describe the bug

Currently we are running the android chime sdk in React Native, interfacing through a native event emitter and native module bindings (as outlined in the amazon chime react native example). With our Android app, we are running to an issue where once a meeting has begun, the app's RAM usage increases and will continue to increase until it has reached the device's limit. Sometime it happens quickly but sometimes it requires 4-5 concurrent video streams to cause RAM to reach the maximum.

The main issue is the RAM increases regardless of who is in the call, when the meeting is ended RAM continues to increase, or will continue to increase with only 2 participants in the meeting.

Logs If applicable, add logs from logcat to help explain your problem.

I/DefaultVideoTileController: Adding video tile with videoId = 0, attendeeId = null, pauseState = Unpaused I/MeetingObservers: Received video tile add event for attendee: c304a5c6-a9f2-e6a6-0aae-fa6d97d12154 W/Logging: HardwareVideoEncoderFactory: No shared EglBase.Context. Encoders will not use texture mode. W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc I/Logging: JavaVideoClient: Android H264 Codec:--------------START W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc I/Logging: JavaVideoClient: HW H264 Encoder: OMX.qcom.video.encoder.avc I/Logging: JavaVideoClient: --> MaxSupportedInstances:8 I/Logging: JavaVideoClient: HW H264 Decoder: OMX.qcom.video.decoder.avc I/Logging: JavaVideoClient: --> MaxSupportedInstances:8 I/Logging: JavaVideoClient: SW H264 Decoder: OMX.SEC.avc.sw.dec I/Logging: JavaVideoClient: --> MaxSupportedInstances:32 I/Logging: JavaVideoClient: SW H264 Decoder: OMX.google.h264.decoder I/Logging: JavaVideoClient: --> MaxSupportedInstances:32 I/Logging: JavaVideoClient: SW H264 Encoder: OMX.google.h264.encoder I/Logging: JavaVideoClient: --> MaxSupportedInstances:32 I/Logging: JavaVideoClient: Android H264 Codec: -----END (WEBRTC supported max H/W H264Encoder[8];H/W H264Decoder[8] W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc I/Logging: HardwareVideoEncoder: initEncode: 400 x 296. @ 131kbps. Fps: 60 Use surface mode: false I/ACodec: [] Now uninitialized I/ACodec: [] onAllocateComponent I/RNVideoViewManager: Creating view instance I/RNVideoViewManager: Setting tileId: 0 I/DefaultVideoTileController: Binding VideoView to Tile with tileId = 0 I/DefaultVideoTileController: Initializing EGL state on EGL render view I/SurfaceRenderView: Initializing render view I/DefaultEglRenderer: Initializing EGL renderer I/DefaultVideoTile: Binding the View to Tile I/SurfaceRenderView: Video frame rotated size changed to 800x600 with rotation Rotation0 I/ChimeReactNativeSDKDemoManager: Called bindVideoView for tileId: 0 with identifier: 829.0 D/ViewRootImpl@8a69bea[MainActivity]: Relayout returned: oldFrame=[0,0][1280,800] newFrame=[0,0][1280,800] result=0x1 surface={isValid=true -1917063168} surfaceGenerationChanged=false I/DefaultEglRenderer: Setting aspect ratio from 0.0 to 1.7804878 D/ViewRootImpl@8a69bea[MainActivity]: Relayout returned: oldFrame=[0,0][1280,800] newFrame=[0,0][1280,800] result=0x7 surface={isValid=true -2020788224} surfaceGenerationChanged=true D/ViewRootImpl@8a69bea[MainActivity]: mHardwareRenderer.updateSurface() mSurface={isValid=true -2020788224} D/SurfaceView: Relayout returned: oldFrame=[0,0][0,0] newFrame=[982,698][1128,780] result=0x7 surface={Surface(name=null)/@0xd51b28a isValid=true -1917063168} I/SurfaceRenderView: Surface created, creating EGL surface with resource I/DefaultEglRenderer: Request on handler thread to create EGL surface from input surface Surface(name=null)/@0xeb40fb D/SurfaceView: Relayout returned: oldFrame=[982,698][1128,780] newFrame=[982,698][1128,780] result=0x1 surface={Surface(name=null)/@0xd51b28a isValid=true -2020186112} I/art: Background partial concurrent mark sweep GC freed 157117(6MB) AllocSpace objects, 10(17MB) LOS objects, 49% free, 12MB/24MB, paused 2.524ms total 133.684ms I/MeetingObservers: Received attendee active speaker event for attendee c304a5c6-a9f2-e6a6-0aae-fa6d97d12154 with externalUserId 6c99e77e#Chandler Test^5d8cfdfc51a27a50d0c99322 I/art: Background sticky concurrent mark sweep GC freed 302835(8MB) AllocSpace objects, 0(0B) LOS objects, 46% free, 13MB/24MB, paused 7.227ms total 169.169ms D/ViewRootImpl@8a69bea[MainActivity]: Relayout returned: oldFrame=[0,0][1280,800] newFrame=[0,0][1280,800] result=0x1 surface={isValid=true -2020788224} surfaceGenerationChanged=false I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_RUNNING_MODERATE) received by JS VM, ignoring because it's non-severe I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_RUNNING_LOW) received by JS VM, ignoring because it's non-severe I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_RUNNING_CRITICAL) received by JS VM, running a GC I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_RUNNING_CRITICAL) received by JS VM, running a GC I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_RUNNING_CRITICAL) received by JS VM, running a GC I/art: Background partial concurrent mark sweep GC freed 298066(8MB) AllocSpace objects, 1(60KB) LOS objects, 48% free, 12MB/24MB, paused 5.673ms total 230.806ms D/FA: Service connection suspended D/FA: Service connection suspended

Other logs

D/ViewRootImpl@f342321[MainActivity]: ViewPostImeInputStage processPointer 0 D/ViewRootImpl@f342321[MainActivity]: ViewPostImeInputStage processPointer 1 E/video_client_webrtc_stats.cc: [344:779][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:780][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:780][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:781][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:781][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:781][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:782][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:782][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:783][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [344:783][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_renderer_adapter.cc: [344:783][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=12cfbbc6-a0d6-deb9-cd56-636e01fb5d21 group_id=1 stream_id=1 ssrc=1922792463 track_label=track_1 max_bitrate_kbps=466 avg_bitrate_kbps=335 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:784][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=09c64344-219a-eda6-dc53-9300a8d6ab52 group_id=3 stream_id=41 ssrc=1690159403 track_label=track_41 max_bitrate_kbps=466 avg_bitrate_kbps=341 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:784][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=a96d48d3-c9b8-5ecc-8ecf-d955c907dc45 group_id=4 stream_id=61 ssrc=3787228184 track_label=track_61 max_bitrate_kbps=509 avg_bitrate_kbps=439 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:784][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=8e278116-0c23-ea0e-051b-665ae66ffc29 group_id=5 stream_id=81 ssrc=1797659783 track_label=track_81 max_bitrate_kbps=466 avg_bitrate_kbps=345 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:784][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=7c41711c-07be-21a3-ca3c-8d593d77d2b4 group_id=6 stream_id=101 ssrc=3168679181 track_label=track_101 max_bitrate_kbps=509 avg_bitrate_kbps=444 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:784][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=c30724be-79e8-5067-f879-cf7238b2ea01 group_id=7 stream_id=121 ssrc=1599250251 track_label=track_121 max_bitrate_kbps=466 avg_bitrate_kbps=339 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:785][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=b83f4eca-7c95-14f3-b9c0-cc5e36850f49 group_id=8 stream_id=141 ssrc=1687792737 track_label=track_141 max_bitrate_kbps=566 avg_bitrate_kbps=417 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:785][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=5f269a92-f90d-f886-5c00-6ccbbdd60eb4 group_id=9 stream_id=161 ssrc=3298270680 track_label=track_161 max_bitrate_kbps=509 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:785][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=4d91ad2d-3341-1c27-1844-43d92fbf51c3 group_id=10 stream_id=181 ssrc=3218319095 track_label=track_181 max_bitrate_kbps=466 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [344:785][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=3f1df5f0-71aa-5ce0-596a-1b0840aee89d group_id=11 stream_id=201 ssrc=980472352 track_label=track_201 max_bitrate_kbps=431 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_client_webrtc_stats.cc: [345:792][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:792][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:793][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:793][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:794][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:794][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:794][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:795][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:795][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [345:796][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_renderer_adapter.cc: [345:799][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=12cfbbc6-a0d6-deb9-cd56-636e01fb5d21 group_id=1 stream_id=1 ssrc=1922792463 track_label=track_1 max_bitrate_kbps=466 avg_bitrate_kbps=335 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:799][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=09c64344-219a-eda6-dc53-9300a8d6ab52 group_id=3 stream_id=41 ssrc=1690159403 track_label=track_41 max_bitrate_kbps=466 avg_bitrate_kbps=341 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:799][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=a96d48d3-c9b8-5ecc-8ecf-d955c907dc45 group_id=4 stream_id=61 ssrc=3787228184 track_label=track_61 max_bitrate_kbps=509 avg_bitrate_kbps=439 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:799][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=8e278116-0c23-ea0e-051b-665ae66ffc29 group_id=5 stream_id=81 ssrc=1797659783 track_label=track_81 max_bitrate_kbps=466 avg_bitrate_kbps=345 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:800][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=7c41711c-07be-21a3-ca3c-8d593d77d2b4 group_id=6 stream_id=101 ssrc=3168679181 track_label=track_101 max_bitrate_kbps=509 avg_bitrate_kbps=444 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:800][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=c30724be-79e8-5067-f879-cf7238b2ea01 group_id=7 stream_id=121 ssrc=1599250251 track_label=track_121 max_bitrate_kbps=466 avg_bitrate_kbps=339 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:800][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=b83f4eca-7c95-14f3-b9c0-cc5e36850f49 group_id=8 stream_id=141 ssrc=1687792737 track_label=track_141 max_bitrate_kbps=566 avg_bitrate_kbps=417 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:800][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=5f269a92-f90d-f886-5c00-6ccbbdd60eb4 group_id=9 stream_id=161 ssrc=3298270680 track_label=track_161 max_bitrate_kbps=509 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:800][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=4d91ad2d-3341-1c27-1844-43d92fbf51c3 group_id=10 stream_id=181 ssrc=3218319095 track_label=track_181 max_bitrate_kbps=466 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [345:801][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=3f1df5f0-71aa-5ce0-596a-1b0840aee89d group_id=11 stream_id=201 ssrc=980472352 track_label=track_201 max_bitrate_kbps=431 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_client_webrtc_stats.cc: [346:807][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:808][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:808][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:808][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:809][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:811][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:811][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:812][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:813][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [346:819][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_renderer_adapter.cc: [346:820][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=12cfbbc6-a0d6-deb9-cd56-636e01fb5d21 group_id=1 stream_id=1 ssrc=1922792463 track_label=track_1 max_bitrate_kbps=466 avg_bitrate_kbps=335 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:821][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=09c64344-219a-eda6-dc53-9300a8d6ab52 group_id=3 stream_id=41 ssrc=1690159403 track_label=track_41 max_bitrate_kbps=466 avg_bitrate_kbps=341 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:821][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=a96d48d3-c9b8-5ecc-8ecf-d955c907dc45 group_id=4 stream_id=61 ssrc=3787228184 track_label=track_61 max_bitrate_kbps=509 avg_bitrate_kbps=439 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:821][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=8e278116-0c23-ea0e-051b-665ae66ffc29 group_id=5 stream_id=81 ssrc=1797659783 track_label=track_81 max_bitrate_kbps=466 avg_bitrate_kbps=345 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:821][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=7c41711c-07be-21a3-ca3c-8d593d77d2b4 group_id=6 stream_id=101 ssrc=3168679181 track_label=track_101 max_bitrate_kbps=509 avg_bitrate_kbps=444 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:821][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=c30724be-79e8-5067-f879-cf7238b2ea01 group_id=7 stream_id=121 ssrc=1599250251 track_label=track_121 max_bitrate_kbps=466 avg_bitrate_kbps=339 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:821][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=b83f4eca-7c95-14f3-b9c0-cc5e36850f49 group_id=8 stream_id=141 ssrc=1687792737 track_label=track_141 max_bitrate_kbps=566 avg_bitrate_kbps=417 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:822][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=5f269a92-f90d-f886-5c00-6ccbbdd60eb4 group_id=9 stream_id=161 ssrc=3298270680 track_label=track_161 max_bitrate_kbps=509 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:822][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=4d91ad2d-3341-1c27-1844-43d92fbf51c3 group_id=10 stream_id=181 ssrc=3218319095 track_label=track_181 max_bitrate_kbps=466 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [346:822][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=3f1df5f0-71aa-5ce0-596a-1b0840aee89d group_id=11 stream_id=201 ssrc=980472352 track_label=track_201 max_bitrate_kbps=431 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_client_webrtc_stats.cc: [347:823][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:824][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:824][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:825][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:825][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:827][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:827][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:828][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:829][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [347:829][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_renderer_adapter.cc: [347:832][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=12cfbbc6-a0d6-deb9-cd56-636e01fb5d21 group_id=1 stream_id=1 ssrc=1922792463 track_label=track_1 max_bitrate_kbps=466 avg_bitrate_kbps=335 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:832][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=09c64344-219a-eda6-dc53-9300a8d6ab52 group_id=3 stream_id=41 ssrc=1690159403 track_label=track_41 max_bitrate_kbps=466 avg_bitrate_kbps=341 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:832][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=a96d48d3-c9b8-5ecc-8ecf-d955c907dc45 group_id=4 stream_id=61 ssrc=3787228184 track_label=track_61 max_bitrate_kbps=509 avg_bitrate_kbps=439 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=8e278116-0c23-ea0e-051b-665ae66ffc29 group_id=5 stream_id=81 ssrc=1797659783 track_label=track_81 max_bitrate_kbps=466 avg_bitrate_kbps=345 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=7c41711c-07be-21a3-ca3c-8d593d77d2b4 group_id=6 stream_id=101 ssrc=3168679181 track_label=track_101 max_bitrate_kbps=509 avg_bitrate_kbps=444 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=c30724be-79e8-5067-f879-cf7238b2ea01 group_id=7 stream_id=121 ssrc=1599250251 track_label=track_121 max_bitrate_kbps=466 avg_bitrate_kbps=339 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=b83f4eca-7c95-14f3-b9c0-cc5e36850f49 group_id=8 stream_id=141 ssrc=1687792737 track_label=track_141 max_bitrate_kbps=566 avg_bitrate_kbps=417 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=5f269a92-f90d-f886-5c00-6ccbbdd60eb4 group_id=9 stream_id=161 ssrc=3298270680 track_label=track_161 max_bitrate_kbps=509 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=4d91ad2d-3341-1c27-1844-43d92fbf51c3 group_id=10 stream_id=181 ssrc=3218319095 track_label=track_181 max_bitrate_kbps=466 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [347:833][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=3f1df5f0-71aa-5ce0-596a-1b0840aee89d group_id=11 stream_id=201 ssrc=980472352 track_label=track_201 max_bitrate_kbps=431 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_client_webrtc_stats.cc: [348:844][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:844][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:845][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:845][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:845][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:846][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:846][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:846][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:847][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_client_webrtc_stats.cc: [348:847][14515] (line 375): Significant difference between receive FPS and output FPS; notify:video_received_output_fps_difference E/video_renderer_adapter.cc: [348:848][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=12cfbbc6-a0d6-deb9-cd56-636e01fb5d21 group_id=1 stream_id=1 ssrc=1922792463 track_label=track_1 max_bitrate_kbps=466 avg_bitrate_kbps=335 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:848][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=09c64344-219a-eda6-dc53-9300a8d6ab52 group_id=3 stream_id=41 ssrc=1690159403 track_label=track_41 max_bitrate_kbps=466 avg_bitrate_kbps=341 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:848][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=a96d48d3-c9b8-5ecc-8ecf-d955c907dc45 group_id=4 stream_id=61 ssrc=3787228184 track_label=track_61 max_bitrate_kbps=509 avg_bitrate_kbps=439 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:848][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=8e278116-0c23-ea0e-051b-665ae66ffc29 group_id=5 stream_id=81 ssrc=1797659783 track_label=track_81 max_bitrate_kbps=466 avg_bitrate_kbps=345 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:848][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=7c41711c-07be-21a3-ca3c-8d593d77d2b4 group_id=6 stream_id=101 ssrc=3168679181 track_label=track_101 max_bitrate_kbps=509 avg_bitrate_kbps=444 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:848][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=c30724be-79e8-5067-f879-cf7238b2ea01 group_id=7 stream_id=121 ssrc=1599250251 track_label=track_121 max_bitrate_kbps=466 avg_bitrate_kbps=339 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:849][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=b83f4eca-7c95-14f3-b9c0-cc5e36850f49 group_id=8 stream_id=141 ssrc=1687792737 track_label=track_141 max_bitrate_kbps=566 avg_bitrate_kbps=417 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:849][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=5f269a92-f90d-f886-5c00-6ccbbdd60eb4 group_id=9 stream_id=161 ssrc=3298270680 track_label=track_161 max_bitrate_kbps=509 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:849][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=4d91ad2d-3341-1c27-1844-43d92fbf51c3 group_id=10 stream_id=181 ssrc=3218319095 track_label=track_181 max_bitrate_kbps=466 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps E/video_renderer_adapter.cc: [348:849][14515] (line 174): 10 metrics frames sent with 0 FPS;stream_info={ profile_id=3f1df5f0-71aa-5ce0-596a-1b0840aee89d group_id=11 stream_id=201 ssrc=980472352 track_label=track_201 max_bitrate_kbps=431 avg_bitrate_kbps=0 } notify:video_remote_stream_unpaused_with_zero_fps I/art: Background sticky concurrent mark sweep GC freed 143486(5MB) AllocSpace objects, 1(16KB) LOS objects, 41% free, 17MB/29MB, paused 3.609ms total 142.442ms I/art: Background sticky concurrent mark sweep GC freed 160784(4MB) AllocSpace objects, 0(0B) LOS objects, 40% free, 17MB/29MB, paused 16.425ms total 337.745ms D/FA: Service connection suspended D/FA: Service connection suspended

Screenshots

max-ram-reached Screenshot 2023-04-04 at 3 29 34 PM

Test environment Info (please complete the following information):

If you are reporting a crash:

Additional context Add any other context about the problem here.

dingyishen-amazon commented 1 year ago

Thanks for reporting, we are taking a look. Have you tried to reproduce with our demo app?