Skip to content

Commit

Permalink
fix(example): lower default bitrate to avoid issue on bad connection
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Feb 7, 2024
1 parent 024cb29 commit a6313cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/lib/types/params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ String bitrateToPrettyString(int bitrate) {
}

class Params {
final VideoConfig video = VideoConfig.withDefaultBitrate();
final VideoConfig video =
VideoConfig.withDefaultBitrate(resolution: Resolution.RESOLUTION_360);
final AudioConfig audio = AudioConfig();

String rtmpUrl = "rtmp://broadcast.api.video/s/";
Expand Down

0 comments on commit a6313cd

Please sign in to comment.