diff --git a/lib/types/enums/codec.dart b/lib/types/enums/codec.dart index 6cda6ae..e83a078 100644 --- a/lib/types/enums/codec.dart +++ b/lib/types/enums/codec.dart @@ -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); @@ -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, }; diff --git a/lib/types/models/meeting_model.dart b/lib/types/models/meeting_model.dart index 7a2657d..508a29f 100644 --- a/lib/types/models/meeting_model.dart +++ b/lib/types/models/meeting_model.dart @@ -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'; diff --git a/pubspec.yaml b/pubspec.yaml index 2b435bd..9a11b15 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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