Skip to content

Commit

Permalink
chore(codec): hide h265 codec
Browse files Browse the repository at this point in the history
  • Loading branch information
lambiengcode committed Oct 13, 2024
1 parent 673f691 commit 73c3832
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/types/enums/codec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enum WebRTCCodec {
vp8('vp8', true),
vp9('vp9', true),
h264('h264', true),
h265('h265', false),
// h265('h265', false),
av1('av1', false);

const WebRTCCodec(this.codec, this.isSFrameSuported);
Expand Down Expand Up @@ -35,7 +35,7 @@ extension CodecStringX on String {
'vp8' || 'video/vp8' => WebRTCCodec.vp8,
'vp9' || 'video/vp9' => WebRTCCodec.vp9,
'h264' || 'video/h264' => WebRTCCodec.h264,
'h265' || 'video/h265' => WebRTCCodec.h265,
// 'h265' || 'video/h265' => WebRTCCodec.h265,
'av1' || 'video/av1' => WebRTCCodec.av1,
_ => WebRTCCodec.h264,
};
Expand Down
2 changes: 1 addition & 1 deletion lib/types/models/meeting_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Meeting {
latestJoinedAt.hashCode;
}

bool get isNoOneElse => participants.length < 2;
bool get isNoOneElse => members.length < 2;

String get inviteLink => 'https:/waterbus.tech/meeting/$code';

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies:
sdp_transform: ^0.3.2
h264_profile_level_id: ^0.2.1
dart_webrtc_plus: ^1.4.6+2
flutter_webrtc_plus: ^0.11.2+6
flutter_webrtc_plus: ^0.11.2+7
# flutter_webrtc_plus:
# path: /Users/lambiengcode/Documents/webrtc/flutter-webrtc

Expand Down

0 comments on commit 73c3832

Please sign in to comment.