Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changes/bump-to-libwebrtc-m144
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
minor type="changed" "Bump flutter-webrtc to 1.4.0 and upgrade to libwebrtc m144 (iOS/macOS)"
2 changes: 1 addition & 1 deletion ios/livekit_client.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Pod::Spec.new do |s|
s.static_framework = true

s.dependency 'Flutter'
s.dependency 'WebRTC-SDK', '137.7151.04'
s.dependency 'WebRTC-SDK', '144.7559.01'
s.dependency 'flutter_webrtc'
end
3 changes: 2 additions & 1 deletion lib/src/extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,11 @@ extension ParticipantTypeExt on lk_models.ParticipantInfo_Kind {

extension DegradationPreferenceExt on DegradationPreference {
rtc.RTCDegradationPreference toRTCType() => {
DegradationPreference.disabled: rtc.RTCDegradationPreference.DISABLED,
DegradationPreference.maintainFramerate: rtc.RTCDegradationPreference.MAINTAIN_FRAMERATE,
DegradationPreference.maintainResolution: rtc.RTCDegradationPreference.MAINTAIN_RESOLUTION,
DegradationPreference.balanced: rtc.RTCDegradationPreference.BALANCED,
DegradationPreference.maintainFramerateAndResolution:
rtc.RTCDegradationPreference.MAINTAIN_FRAMERATE_AND_RESOLUTION,
}[this]!;
}

Expand Down
2 changes: 2 additions & 0 deletions lib/src/options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,12 @@ class RoomOptions {
}

enum DegradationPreference {
@Deprecated('DISABLED is Deprecated for DegradationPreference')
disabled,
maintainFramerate,
maintainResolution,
balanced,
maintainFramerateAndResolution,
}

class BackupVideoCodec {
Expand Down
2 changes: 1 addition & 1 deletion macos/livekit_client.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Pod::Spec.new do |s|
s.static_framework = true

s.dependency 'FlutterMacOS'
s.dependency 'WebRTC-SDK', '137.7151.04'
s.dependency 'WebRTC-SDK', '144.7559.01'
s.dependency 'flutter_webrtc'
end
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ dependencies:
json_annotation: ^4.9.0

# Fix version to avoid version conflicts between WebRTC-SDK pods, which both this package and flutter_webrtc depend on.
flutter_webrtc: 1.3.0
dart_webrtc: ^1.7.0
flutter_webrtc: 1.4.0
dart_webrtc: ^1.8.0

dev_dependencies:
flutter_test:
Expand Down
Loading