8000 release: 0.13.2+hotfix.1. · flutter-webrtc/flutter-webrtc@05371ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 05371ec

Browse files
committed
release: 0.13.2+hotfix.1.
1 parent fc1298e commit 05371ec

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
# Changelog
33

4+
[0.13.2+hotfix.1] - 2025-04-30
5+
6+
* [macOS] fix: Fixed compilation errors introduced by Media Recorder implementation.
7+
48
[0.13.2] - 2025-04-29
59

610
* [iOS/Android]feat: Media Recorder implementation Android and iOS (#1810)

common/darwin/Classes/FlutterWebRTCPlugin.m

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#import "FlutterRTCMediaStream.h"
77
#import "FlutterRTCPeerConnection.h"
88
#import "FlutterRTCVideoRenderer.h"
9-
#import "FlutterRTCMediaRecorder.h"
109
#import "FlutterRTCFrameCryptor.h"
1110
#if TARGET_OS_IPHONE
11+
#import "FlutterRTCMediaRecorder.h"
1212
#import "FlutterRTCVideoPlatformViewFactory.h"
1313
#import "FlutterRTCVideoPlatformViewController.h"
1414
#endif
@@ -1507,8 +1507,9 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
15071507
message:[NSString stringWithFormat:@"Error: peerConnection not found!"]
15081508
details:nil]);
15091509
}
1510+
#if TARGET_OS_IOS
15101511
} else if ([@"startRecordToFile" isEqualToString:call.method]){
1511-
#if TARGET_OS_IOS
1512+
15121513
NSDictionary* argsMap = call.arguments;
15131514
NSNumber* recorderId = argsMap[@"recorderId"];
15141515
NSString* path = argsMap[@"path"];
@@ -1527,10 +1528,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
15271528
];
15281529
}
15291530
result(nil);
1530-
#endif
1531-
15321531
} else if ([@"stopRecordToFile" isEqualToString:call.method]) {
1533-
#if TARGET_OS_IOS
15341532
NSDictionary* argsMap = call.arguments;
15351533
NSNumber* recorderId = argsMap[@"recorderId"];
15361534
FlutterRTCMediaRecorder* recorder = self.recorders[recorderId];
@@ -1542,7 +1540,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
15421540
message:[NSString stringWithFormat:@"Error: recorder with id %@ not found!",recorderId]
15431541
details:nil]);
15441542
}
1545-
#endif
1543+
#endif
15461544
} else {
15471545
[self handleFrameCryptorMethodCall:call result:result];
15481546
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_webrtc
22
description: Flutter WebRTC plugin for iOS/Android/Destkop/Web, based on GoogleWebRTC.
3-
version: 0.13.2
3+
version: 0.13.2+hotfix.1
44
homepage: https://github.com/cloudwebrtc/flutter-webrtc
55
environment:
66
sdk: ">=3.3.0 <4.0.0"

0 commit comments

Comments
 (0)
0