Skip to content

RTMP2WebRTC: Stuttering when using flutter WebRTC #4052

@winlinvip

Description

@winlinvip

We have developed a live streaming mobile application using Flutter, which employs RTMP for broadcasting and WebRTC for viewing, based on the logic found in your flutter_live repository (https://github.com/ossrs/flutter_live/blob/main/lib/flutter_live.dart). The application performs well on Android devices, but experiences some lag on iOS devices. We are exploring potential optimizations. From previous tests, we observed that the lag on iOS devices is reduced when the encoder profile is switched from 'main' or 'high' to 'baseline', although some lag still persists.

When using RTMP for baseline streaming, there is less stuttering compared to high settings, but stuttering still occurs.

TRANS_BY_GPT4

Metadata

Metadata

Assignees

Labels

WebRTCWebRTC, RTC2RTMP or RTMP2RTC.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions