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
6 changes: 3 additions & 3 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
],
dependencies: [
.package(
url: "https://github.com/GetStream/stream-video-swift-webrtc.git", exact: "137.0.43"
url: "https://github.com/GetStream/stream-video-swift-webrtc.git", exact: "137.0.54"
)

],
Expand Down
2 changes: 1 addition & 1 deletion common/darwin/Classes/FlutterRTCMediaStream.m
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ - (RTCMediaStreamTrack*)cloneTrack:(nonnull NSString*)trackId {
for (NSString* streamId in self.localStreams) {
RTCMediaStream* stream = [self.localStreams objectForKey:streamId];
for (RTCVideoTrack* track in stream.videoTracks) {
if ([trackId isEqualToString:trackId]) {
if ([trackId isEqualToString:track.trackId]) {
[stream addVideoTrack:videoTrack];
}
}
Expand Down
2 changes: 1 addition & 1 deletion common/darwin/Classes/FlutterWebRTCPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@class FlutterRTCMediaRecorder;
@class AudioManager;

void postEvent(FlutterEventSink _Nonnull sink, id _Nullable event);
void postEvent(FlutterEventSink _Nullable sink, id _Nullable event);

typedef void (^CompletionHandler)(void);

Expand Down
2 changes: 1 addition & 1 deletion ios/stream_webrtc_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A new flutter plugin project.
s.vendored_frameworks = 'Frameworks/StreamWebRTC.xcframework'
s.prepare_command = <<-CMD
mkdir -p Frameworks/
curl -sL "https://github.com/GetStream/stream-video-swift-webrtc/releases/download/137.0.42/StreamWebRTC.xcframework.zip" -o Frameworks/StreamWebRTC.zip
curl -sL "https://github.com/GetStream/stream-video-swift-webrtc/releases/download/137.0.54/StreamWebRTC.xcframework.zip" -o Frameworks/StreamWebRTC.zip
unzip -o Frameworks/StreamWebRTC.zip -d Frameworks/
rm Frameworks/StreamWebRTC.zip
CMD
Expand Down
6 changes: 3 additions & 3 deletions ios/stream_webrtc_flutter/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ios/stream_webrtc_flutter/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
],
dependencies: [
.package(
url: "https://github.com/GetStream/stream-video-swift-webrtc.git", exact: "137.0.43"
url: "https://github.com/GetStream/stream-video-swift-webrtc.git", exact: "137.0.54"
)

],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ - (RTCMediaStreamTrack*)cloneTrack:(nonnull NSString*)trackId {
for (NSString* streamId in self.localStreams) {
RTCMediaStream* stream = [self.localStreams objectForKey:streamId];
for (RTCVideoTrack* track in stream.videoTracks) {
if ([trackId isEqualToString:trackId]) {
if ([trackId isEqualToString:track.trackId]) {
[stream addVideoTrack:videoTrack];
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@class FlutterRTCMediaRecorder;
@class AudioManager;

void postEvent(FlutterEventSink _Nonnull sink, id _Nullable event);
void postEvent(FlutterEventSink _Nullable sink, id _Nullable event);

typedef void (^CompletionHandler)(void);

Expand Down