From f733588f65587db8b2f5df34b6145d31fb20e6b6 Mon Sep 17 00:00:00 2001
From: Alexey Alter-Pesotskiy
Date: Tue, 26 Nov 2024 12:51:30 +0000
Subject: [PATCH] Use custom WebRTC
---
.../AudioFilter/RobotVoiceFilter.swift | 2 +-
DemoApp/Sources/Components/Router.swift | 2 +-
DemoApp/Sources/DemoApp.swift | 2 +-
.../04-ui-components/02-video-renderer.swift | 2 +-
.../06-advanced/06-apply-video-filters.swift | 4 +-
.../GloballyUsedVariables.swift | 6 +-
Package.swift | 2 +-
README.md | 2 +-
Sources/StreamVideo/Call.swift | 2 +-
.../Controllers/CallController.swift | 2 +-
.../StreamVideo/Models/CallParticipant.swift | 2 +-
.../StreamVideo/Models/CallStatsReport.swift | 2 +-
.../StreamVideo/Models/ConnectOptions.swift | 2 +-
.../Models/ScreenSharingSession.swift | 2 +-
Sources/StreamVideo/Models/VideoCodec.swift | 2 +-
Sources/StreamVideo/Models/VideoOptions.swift | 2 +-
Sources/StreamVideo/StreamVideo.swift | 2 +-
.../StreamCallAudioRecorder.swift | 2 +-
.../AudioSession/AudioSessionProtocol.swift | 2 +-
...RTCAudioSessionConfiguration+Default.swift | 2 +-
.../StreamAudioSessionAdapter.swift | 2 +-
.../AudioSession/StreamRTCAudioSession.swift | 6 +-
Sources/StreamVideo/VideoConfig.swift | 2 +-
.../WebRTC/AudioFilter/AudioFilter.swift | 2 +-
.../Filters/NoiseCancellationFilter.swift | 2 +-
...dioFilterCapturePostProcessingModule.swift | 2 +-
.../StreamAudioProcessingModule.swift | 2 +-
.../WebRTC/DefaultRTCConfiguration.swift | 2 +-
.../WebRTC/DefaultRTCMediaConstraints.swift | 2 +-
.../WebRTC/PeerConnectionFactory.swift | 2 +-
.../BroadcastBufferConnection.swift | 2 +-
.../Screensharing/BroadcastBufferReader.swift | 2 +-
.../BroadcastBufferUploadConnection.swift | 2 +-
.../BroadcastBufferUploader.swift | 2 +-
.../BroadcastScreenCapturer.swift | 2 +-
.../Screensharing/ScreenshareCapturer.swift | 2 +-
.../Statistics/Statistics+Convenience.swift | 2 +-
.../SimulatorScreenCapturer.swift | 2 +-
.../StreamVideoCaptureHandler.swift | 2 +-
.../WebRTC/VideoCapturing/VideoCapturer.swift | 2 +-
.../VideoCapturerProviding.swift | 2 +-
.../VideoCapturing/VideoCapturing.swift | 2 +-
.../VideoCapturing/VideoCapturingUtils.swift | 2 +-
.../WebRTC/VideoFilters/VideoFilters.swift | 2 +-
.../WebRTC/RTCMediaStreamTrack+Sendable.swift | 2 +-
.../PeerConnection/Adapters/ICEAdapter.swift | 2 +-
.../RTCIceCandidate+Convenience.swift | 2 +-
...IceCandidate+CustomStringConvertible.swift | 2 +-
.../Extensions/RTCIceCandidate+Sendable.swift | 2 +-
...nectionState+CustomStringConvertible.swift | 2 +-
...theringState+CustomStringConvertible.swift | 2 +-
.../RTCMediaStream+Convenience.swift | 2 +-
...CMediaStream+CustomStringConvertible.swift | 2 +-
...nectionState+CustomStringConvertible.swift | 2 +-
...RTCRtpEncodingParameters+Convenience.swift | 2 +-
...CRtpReceiver+CustomStringConvertible.swift | 2 +-
...verDirection+CustomStringConvertible.swift | 2 +-
.../RTCRtpTransceiverInit+Convenience.swift | 2 +-
.../RTCSdpType+CustomStringConvertible.swift | 2 +-
.../RTCSessionDescription+AudioSettings.swift | 2 +-
...gnalingState+CustomStringConvertible.swift | 2 +-
.../Extensions/RTCVideoTrack+Sendable.swift | 2 +-
...mRTCPeerConnection+DelegatePublisher.swift | 2 +-
.../MediaAdapters/AudioMediaAdapter.swift | 2 +-
.../LocalAudioMediaAdapter.swift | 2 +-
.../LocalScreenShareMediaAdapter.swift | 2 +-
.../LocalVideoMediaAdapter.swift | 2 +-
.../MediaAdapters/MediaAdapter.swift | 2 +-
.../ScreenShareMediaAdapter.swift | 2 +-
.../MediaAdapters/ScreenShareSession.swift | 2 +-
.../MediaAdapters/VideoCaptureSession.swift | 2 +-
.../MediaAdapters/VideoMediaAdapter.swift | 2 +-
.../PeerConnection/Models/ICECandidate.swift | 2 +-
.../StreamRTCPeerConnection+Events.swift | 2 +-
.../v2/PeerConnection/Models/TrackEvent.swift | 2 +-
.../Protocols/MediaAdapting.swift | 2 +-
...TCPeerConnectionCoordinatorProviding.swift | 2 +-
.../StreamRTCPeerConnectionProtocol.swift | 2 +-
.../RTCPeerConnectionCoordinator.swift | 2 +-
.../RTCTemporaryPeerConnection.swift | 2 +-
.../StreamRTCPeerConnection.swift | 2 +-
.../Stages/WebRTCCoordinator+Joining.swift | 2 +-
.../WebRTC/v2/WebRTCCoordinator.swift | 2 +-
.../WebRTC/v2/WebRTCJoinRequestFactory.swift | 2 +-
.../WebRTC/v2/WebRTCStateAdapter.swift | 2 +-
.../CallView/CallView.swift | 2 +-
.../ParticipantsFullScreenLayout.swift | 2 +-
.../CallView/ParticipantsGridLayout.swift | 2 +-
.../CallView/ParticipantsGridView.swift | 2 +-
.../CallView/VideoParticipantsView.swift | 2 +-
.../VideoRenderer/VideoRenderer.swift | 2 +-
.../StreamVideoSwiftUI/CallViewModel.swift | 2 +-
.../RTCCVPixelBuffer+Convenience.swift | 2 +-
...tureInPictureVideoCallViewController.swift | 2 +-
.../StreamBufferTransformer.swift | 2 +-
.../StreamPictureInPictureController.swift | 2 +-
...eamPictureInPictureTrackStateAdapter.swift | 2 +-
.../StreamPictureInPictureVideoRenderer.swift | 2 +-
.../PictureInPicture/StreamRTCYUVBuffer.swift | 2 +-
StreamVideo-XCFramework.podspec | 9 +--
StreamVideo.podspec | 9 +--
StreamVideo.xcodeproj/project.pbxproj | 76 +++++++------------
...eamAVPictureInPictureViewControlling.swift | 2 +-
.../StreamBufferTransformerTests.swift | 2 +-
...ctureInPictureTrackStateAdapterTests.swift | 2 +-
.../MicrophoneManager_Tests.swift | 2 +-
.../Mock/CallController_Mock.swift | 2 +-
.../Mock/CallParticipant_Mock.swift | 2 +-
StreamVideoTests/Mock/MockAudioSession.swift | 2 +-
.../Mock/MockLocalMediaAdapter.swift | 2 +-
.../Mock/MockRTCPeerConnection.swift | 2 +-
.../MockRTCPeerConnectionCoordinator.swift | 2 +-
...kRTCPeerConnectionCoordinatorFactory.swift | 2 +-
...ockRTCPeerConnectionCoordinatorStack.swift | 2 +-
.../Mock/MockRTCVideoCapturerDelegate.swift | 2 +-
.../Mock/MockVideoCapturerFactory.swift | 2 +-
.../Mock/MockWebRTCCoordinatorStack.swift | 2 +-
.../Mock/PeerConnectionFactory+Mock.swift | 2 +-
StreamVideoTests/Mock/VideoConfig+Dummy.swift | 2 +-
.../Dummy/CallStatsReport+Dummy.swift | 2 +-
.../Dummy/RTCMediaStreamTrack+dummy.swift | 2 +-
.../StreamAudioSessionAdapter_Tests.swift | 2 +-
.../StreamRTCAudioSession_Tests.swift | 2 +-
StreamVideoTests/Utils/Sorting_Tests.swift | 2 +-
.../WebRTC/AudioSession_Tests.swift | 2 +-
.../WebRTC/RTCConfiguration_Tests.swift | 2 +-
StreamVideoTests/WebRTC/Retries_Tests.swift | 2 +-
.../WebRTC/SFU/Mocks/MockSignalServer.swift | 2 +-
.../WebRTC/SFU/SFUEventAdapter_Tests.swift | 2 +-
.../Statistics/CallStatsReporting_Tests.swift | 2 +-
.../Mocks/MockStreamStatistics.swift | 2 +-
.../WebRTC/VideoCapturerUtils_Tests.swift | 2 +-
.../StreamVideoCaptureHandler_Tests.swift | 2 +-
.../Adapters/ICEAdapter_Tests.swift | 2 +-
.../RTCRtpEncodingParameters_Test.swift | 2 +-
.../RTCRtpTransceiverInit_Tests.swift | 2 +-
.../AudioMediaAdapter_Tests.swift | 2 +-
.../LocalAudioMediaAdapter_Tests.swift | 2 +-
.../LocalScreenShareMediaAdapter_Tests.swift | 2 +-
.../LocalVideoMediaAdapter_Tests.swift | 2 +-
.../ScreenShareMediaAdapter_Tests.swift | 2 +-
.../AdaptiveVideoCapturePolicy_tests.swift | 2 +-
.../VideoCapturePolicy_Tests.swift | 2 +-
.../VideoMediaAdapter_Tests.swift | 2 +-
.../RTCPeerConnectionCoordinator_Tests.swift | 2 +-
.../WebRTC/v2/WebRTCCoorindator_Tests.swift | 2 +-
.../v2/WebRTCJoinRequestFactory_Tests.swift | 2 +-
.../WebRTC/v2/WebRTCStateAdapter_Tests.swift | 2 +-
fastlane/Fastfile | 2 +-
149 files changed, 179 insertions(+), 217 deletions(-)
diff --git a/DemoApp/Sources/Components/AudioFilter/RobotVoiceFilter.swift b/DemoApp/Sources/Components/AudioFilter/RobotVoiceFilter.swift
index f5a660e86..172627dd1 100644
--- a/DemoApp/Sources/Components/AudioFilter/RobotVoiceFilter.swift
+++ b/DemoApp/Sources/Components/AudioFilter/RobotVoiceFilter.swift
@@ -4,7 +4,7 @@
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
final class RobotVoiceFilter: AudioFilter {
diff --git a/DemoApp/Sources/Components/Router.swift b/DemoApp/Sources/Components/Router.swift
index 4c6a419ff..c4df7db58 100644
--- a/DemoApp/Sources/Components/Router.swift
+++ b/DemoApp/Sources/Components/Router.swift
@@ -6,7 +6,7 @@ import Foundation
import GoogleSignIn
import StreamVideo
import StreamVideoSwiftUI
-import StreamWebRTC
+import WebRTC
import SwiftUI
#if canImport(StreamVideoNoiseCancellation)
import StreamVideoNoiseCancellation
diff --git a/DemoApp/Sources/DemoApp.swift b/DemoApp/Sources/DemoApp.swift
index 159d29ca4..523f5270f 100644
--- a/DemoApp/Sources/DemoApp.swift
+++ b/DemoApp/Sources/DemoApp.swift
@@ -5,7 +5,7 @@
import GoogleSignIn
import StreamVideo
import StreamVideoSwiftUI
-import StreamWebRTC
+import WebRTC
import SwiftUI
@main
diff --git a/DocumentationTests/DocumentationTests/DocumentationTests/04-ui-components/02-video-renderer.swift b/DocumentationTests/DocumentationTests/DocumentationTests/04-ui-components/02-video-renderer.swift
index 82bf2ddf4..fe5b2dda8 100644
--- a/DocumentationTests/DocumentationTests/DocumentationTests/04-ui-components/02-video-renderer.swift
+++ b/DocumentationTests/DocumentationTests/DocumentationTests/04-ui-components/02-video-renderer.swift
@@ -2,7 +2,7 @@ import StreamVideo
import StreamVideoSwiftUI
import SwiftUI
import Combine
-import StreamWebRTC
+import WebRTC
@MainActor
fileprivate func content() {
diff --git a/DocumentationTests/DocumentationTests/DocumentationTests/06-advanced/06-apply-video-filters.swift b/DocumentationTests/DocumentationTests/DocumentationTests/06-advanced/06-apply-video-filters.swift
index 67591c994..ae502e761 100644
--- a/DocumentationTests/DocumentationTests/DocumentationTests/06-advanced/06-apply-video-filters.swift
+++ b/DocumentationTests/DocumentationTests/DocumentationTests/06-advanced/06-apply-video-filters.swift
@@ -4,7 +4,7 @@ import StreamVideoSwiftUI
import CoreImage
import SwiftUI
import Vision
-import StreamWebRTC
+import WebRTC
@MainActor
fileprivate func content() {
@@ -250,7 +250,7 @@ fileprivate func content() {
}
}
}
-
+
container {
// Get a call object
let call = streamVideo.call(callType: "default", callId: UUID().uuidString)
diff --git a/DocumentationTests/DocumentationTests/DocumentationTests/GloballyUsedVariables.swift b/DocumentationTests/DocumentationTests/DocumentationTests/GloballyUsedVariables.swift
index 8cf205b95..b2049e999 100644
--- a/DocumentationTests/DocumentationTests/DocumentationTests/GloballyUsedVariables.swift
+++ b/DocumentationTests/DocumentationTests/DocumentationTests/GloballyUsedVariables.swift
@@ -3,7 +3,7 @@ import StreamVideoSwiftUI
import SwiftUI
import Combine
import CoreImage
-import StreamWebRTC
+import WebRTC
var apiKey = ""
var user = User(id: "")
@@ -250,7 +250,7 @@ final class UnsecureRepository: VoIPTokenHandler {
func save(voIPPushToken: String?) {
}
-
+
func currentVoIPPushToken() -> String? {
nil
}
@@ -279,7 +279,7 @@ protocol VoIPTokenHandler {
}
final class CallKitService {
-
+
func reportIncomingCall(
callCid: String,
displayName: String,
diff --git a/Package.swift b/Package.swift
index 9e53898bc..87bef1575 100644
--- a/Package.swift
+++ b/Package.swift
@@ -30,7 +30,7 @@ let package = Package(
name: "StreamVideo",
dependencies: [
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
- .product(name: "StreamWebRTC", package: "stream-video-swift-webrtc")
+ .product(name: "WebRTC", package: "stream-video-swift-webrtc")
]
),
.target(
diff --git a/README.md b/README.md
index 1e160a8b1..6556e7aba 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
-
+
![Stream Video for iOS Header image](https://github.com/GetStream/stream-video-swift/assets/12433593/e4a44ae5-a8eb-4ac7-8910-28187aa011f6)
diff --git a/Sources/StreamVideo/Call.swift b/Sources/StreamVideo/Call.swift
index 11bb444ab..e3de162af 100644
--- a/Sources/StreamVideo/Call.swift
+++ b/Sources/StreamVideo/Call.swift
@@ -5,7 +5,7 @@
import AVFoundation
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// Observable object that provides info about the call state, as well as methods for updating it.
public class Call: @unchecked Sendable, WSEventsSubscriber {
diff --git a/Sources/StreamVideo/Controllers/CallController.swift b/Sources/StreamVideo/Controllers/CallController.swift
index 556f488af..76ff428f1 100644
--- a/Sources/StreamVideo/Controllers/CallController.swift
+++ b/Sources/StreamVideo/Controllers/CallController.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// Class that handles a particular call.
class CallController: @unchecked Sendable {
diff --git a/Sources/StreamVideo/Models/CallParticipant.swift b/Sources/StreamVideo/Models/CallParticipant.swift
index 1bdd07192..6d11ae6db 100644
--- a/Sources/StreamVideo/Models/CallParticipant.swift
+++ b/Sources/StreamVideo/Models/CallParticipant.swift
@@ -3,7 +3,7 @@
//
import Foundation
-@preconcurrency import StreamWebRTC
+@preconcurrency import WebRTC
/// Represents a participant in the call.
public struct CallParticipant: Identifiable, Sendable, Hashable {
diff --git a/Sources/StreamVideo/Models/CallStatsReport.swift b/Sources/StreamVideo/Models/CallStatsReport.swift
index ed5a66f84..0bf9ef79b 100644
--- a/Sources/StreamVideo/Models/CallStatsReport.swift
+++ b/Sources/StreamVideo/Models/CallStatsReport.swift
@@ -3,7 +3,7 @@
//
import Foundation
-@preconcurrency import StreamWebRTC
+@preconcurrency import WebRTC
/// A struct representing a call stats report.
public struct CallStatsReport: Sendable {
diff --git a/Sources/StreamVideo/Models/ConnectOptions.swift b/Sources/StreamVideo/Models/ConnectOptions.swift
index 210047103..e70fe7a7d 100644
--- a/Sources/StreamVideo/Models/ConnectOptions.swift
+++ b/Sources/StreamVideo/Models/ConnectOptions.swift
@@ -3,7 +3,7 @@
//
import Foundation
-@preconcurrency import StreamWebRTC
+@preconcurrency import WebRTC
public struct ConnectOptions: Sendable {
let rtcConfiguration: RTCConfiguration
diff --git a/Sources/StreamVideo/Models/ScreenSharingSession.swift b/Sources/StreamVideo/Models/ScreenSharingSession.swift
index f04cae90c..621f42dae 100644
--- a/Sources/StreamVideo/Models/ScreenSharingSession.swift
+++ b/Sources/StreamVideo/Models/ScreenSharingSession.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
public struct ScreenSharingSession {
public let track: RTCVideoTrack?
diff --git a/Sources/StreamVideo/Models/VideoCodec.swift b/Sources/StreamVideo/Models/VideoCodec.swift
index 4a990990f..ece9b507a 100644
--- a/Sources/StreamVideo/Models/VideoCodec.swift
+++ b/Sources/StreamVideo/Models/VideoCodec.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Represents supported video codecs for WebRTC communication.
///
diff --git a/Sources/StreamVideo/Models/VideoOptions.swift b/Sources/StreamVideo/Models/VideoOptions.swift
index dd28dd983..a20ea5ffa 100644
--- a/Sources/StreamVideo/Models/VideoOptions.swift
+++ b/Sources/StreamVideo/Models/VideoOptions.swift
@@ -3,7 +3,7 @@
//
import Foundation
-@preconcurrency import StreamWebRTC
+@preconcurrency import WebRTC
/// Configuration for the video options for a call.
struct VideoOptions: Sendable {
diff --git a/Sources/StreamVideo/StreamVideo.swift b/Sources/StreamVideo/StreamVideo.swift
index c4fb2954b..5f03faadf 100644
--- a/Sources/StreamVideo/StreamVideo.swift
+++ b/Sources/StreamVideo/StreamVideo.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
import SwiftProtobuf
public typealias UserTokenProvider = (@escaping (Result) -> Void) -> Void
diff --git a/Sources/StreamVideo/Utils/AudioSession/AudioRecorder/StreamCallAudioRecorder.swift b/Sources/StreamVideo/Utils/AudioSession/AudioRecorder/StreamCallAudioRecorder.swift
index 19121ea38..1e5ee0399 100644
--- a/Sources/StreamVideo/Utils/AudioSession/AudioRecorder/StreamCallAudioRecorder.swift
+++ b/Sources/StreamVideo/Utils/AudioSession/AudioRecorder/StreamCallAudioRecorder.swift
@@ -5,7 +5,7 @@
import AVFoundation
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// This class abstracts the usage of AVAudioRecorder, providing a convenient way to record and manage
/// audio streams. It handles setting up the recording environment, starting and stopping recording, and
diff --git a/Sources/StreamVideo/Utils/AudioSession/AudioSessionProtocol.swift b/Sources/StreamVideo/Utils/AudioSession/AudioSessionProtocol.swift
index e67ea8c9e..40e877ad3 100644
--- a/Sources/StreamVideo/Utils/AudioSession/AudioSessionProtocol.swift
+++ b/Sources/StreamVideo/Utils/AudioSession/AudioSessionProtocol.swift
@@ -4,7 +4,7 @@
import AVFoundation
import Foundation
-import StreamWebRTC
+import WebRTC
/// A protocol defining the interface for managing an audio session,
/// with properties and methods to control audio settings, activation,
diff --git a/Sources/StreamVideo/Utils/AudioSession/Extensions/RTCAudioSessionConfiguration+Default.swift b/Sources/StreamVideo/Utils/AudioSession/Extensions/RTCAudioSessionConfiguration+Default.swift
index 2217a1c17..4b85452e4 100644
--- a/Sources/StreamVideo/Utils/AudioSession/Extensions/RTCAudioSessionConfiguration+Default.swift
+++ b/Sources/StreamVideo/Utils/AudioSession/Extensions/RTCAudioSessionConfiguration+Default.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCAudioSessionConfiguration {
/// Provides a default configuration for `RTCAudioSessionConfiguration`
diff --git a/Sources/StreamVideo/Utils/AudioSession/StreamAudioSessionAdapter.swift b/Sources/StreamVideo/Utils/AudioSession/StreamAudioSessionAdapter.swift
index 754a27fbd..70f8b8207 100644
--- a/Sources/StreamVideo/Utils/AudioSession/StreamAudioSessionAdapter.swift
+++ b/Sources/StreamVideo/Utils/AudioSession/StreamAudioSessionAdapter.swift
@@ -5,7 +5,7 @@
import AVFoundation
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// The `StreamAudioSessionAdapter` class manages the device's audio session
/// for an app, enabling control over activation, configuration, and routing
diff --git a/Sources/StreamVideo/Utils/AudioSession/StreamRTCAudioSession.swift b/Sources/StreamVideo/Utils/AudioSession/StreamRTCAudioSession.swift
index 26e443648..627fe44da 100644
--- a/Sources/StreamVideo/Utils/AudioSession/StreamRTCAudioSession.swift
+++ b/Sources/StreamVideo/Utils/AudioSession/StreamRTCAudioSession.swift
@@ -4,7 +4,7 @@
import AVFoundation
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class implementing the `AudioSessionProtocol` that manages the WebRTC
/// audio session for the application, handling settings and route management.
@@ -60,7 +60,7 @@ final class StreamRTCAudioSession: AudioSessionProtocol {
/// - Parameter mode: The audio mode to set.
/// - Throws: An error if setting the mode fails.
func setMode(_ mode: String) throws {
- try source.setMode(mode)
+ try source.setMode(AVAudioSession.Mode(rawValue: mode))
}
/// Configures the audio category and category options for the session.
@@ -73,7 +73,7 @@ final class StreamRTCAudioSession: AudioSessionProtocol {
_ category: String,
with categoryOptions: AVAudioSession.CategoryOptions
) throws {
- try source.setCategory(category, with: categoryOptions)
+ try source.setCategory(AVAudioSession.Category(rawValue: category), with: categoryOptions)
}
/// Activates or deactivates the audio session.
diff --git a/Sources/StreamVideo/VideoConfig.swift b/Sources/StreamVideo/VideoConfig.swift
index 8a72cba6c..10e121417 100644
--- a/Sources/StreamVideo/VideoConfig.swift
+++ b/Sources/StreamVideo/VideoConfig.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
public final class VideoConfig: Sendable {
/// An array of `VideoFilter` objects representing the filters to apply to the video.
diff --git a/Sources/StreamVideo/WebRTC/AudioFilter/AudioFilter.swift b/Sources/StreamVideo/WebRTC/AudioFilter/AudioFilter.swift
index 69364ee91..d3e6c72ef 100644
--- a/Sources/StreamVideo/WebRTC/AudioFilter/AudioFilter.swift
+++ b/Sources/StreamVideo/WebRTC/AudioFilter/AudioFilter.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// AudioFilter protocol defines the structure for audio filtering implementations.
public protocol AudioFilter: Sendable {
diff --git a/Sources/StreamVideo/WebRTC/AudioFilter/Filters/NoiseCancellationFilter.swift b/Sources/StreamVideo/WebRTC/AudioFilter/Filters/NoiseCancellationFilter.swift
index 5481d9d61..e29aee76e 100644
--- a/Sources/StreamVideo/WebRTC/AudioFilter/Filters/NoiseCancellationFilter.swift
+++ b/Sources/StreamVideo/WebRTC/AudioFilter/Filters/NoiseCancellationFilter.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A concrete implementation of `AudioFilter` that applies noise cancellation effects.
public final class NoiseCancellationFilter: AudioFilter, @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioFilterCapturePostProcessingModule.swift b/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioFilterCapturePostProcessingModule.swift
index ce2fc9a24..6890f0621 100644
--- a/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioFilterCapturePostProcessingModule.swift
+++ b/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioFilterCapturePostProcessingModule.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A protocol defining requirements for an audio filter capture post-processing module.
public protocol AudioFilterCapturePostProcessingModule: RTCAudioCustomProcessingDelegate {
diff --git a/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioProcessingModule.swift b/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioProcessingModule.swift
index 19fae7b4e..04082a14e 100644
--- a/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioProcessingModule.swift
+++ b/Sources/StreamVideo/WebRTC/AudioFilter/StreamAudioProcessingModule.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A protocol defining requirements for an audio processing module that supports audio filters.
public protocol AudioProcessingModule: RTCAudioProcessingModule, Sendable {
diff --git a/Sources/StreamVideo/WebRTC/DefaultRTCConfiguration.swift b/Sources/StreamVideo/WebRTC/DefaultRTCConfiguration.swift
index 9fcf48f56..b97bc6e5f 100644
--- a/Sources/StreamVideo/WebRTC/DefaultRTCConfiguration.swift
+++ b/Sources/StreamVideo/WebRTC/DefaultRTCConfiguration.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCConfiguration {
diff --git a/Sources/StreamVideo/WebRTC/DefaultRTCMediaConstraints.swift b/Sources/StreamVideo/WebRTC/DefaultRTCMediaConstraints.swift
index 1c7474026..8781adb16 100644
--- a/Sources/StreamVideo/WebRTC/DefaultRTCMediaConstraints.swift
+++ b/Sources/StreamVideo/WebRTC/DefaultRTCMediaConstraints.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCMediaConstraints {
diff --git a/Sources/StreamVideo/WebRTC/PeerConnectionFactory.swift b/Sources/StreamVideo/WebRTC/PeerConnectionFactory.swift
index a2a8f9c67..a937c9f07 100644
--- a/Sources/StreamVideo/WebRTC/PeerConnectionFactory.swift
+++ b/Sources/StreamVideo/WebRTC/PeerConnectionFactory.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A factory class for creating WebRTC-related objects such as peer connections,
/// video sources, and audio tracks.
diff --git a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferConnection.swift b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferConnection.swift
index 8641c5ac0..6cd9e3da7 100644
--- a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferConnection.swift
+++ b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferConnection.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
class BroadcastBufferConnection: NSObject {
diff --git a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferReader.swift b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferReader.swift
index 2197e7209..b6967c7c3 100644
--- a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferReader.swift
+++ b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferReader.swift
@@ -5,7 +5,7 @@
import CoreImage
import CoreVideo
import Foundation
-import StreamWebRTC
+import WebRTC
private class Message {
static let imageContextVar: CIContext? = {
diff --git a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploadConnection.swift b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploadConnection.swift
index d38346eeb..6fda095b8 100644
--- a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploadConnection.swift
+++ b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploadConnection.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
class BroadcastBufferUploadConnection: BroadcastBufferConnection {
var onOpen: (() -> Void)?
diff --git a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploader.swift b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploader.swift
index 0806e8706..2deb6f7bb 100644
--- a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploader.swift
+++ b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastBufferUploader.swift
@@ -4,7 +4,7 @@
import Foundation
import ReplayKit
-import StreamWebRTC
+import WebRTC
actor BroadcastBufferUploader {
diff --git a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastScreenCapturer.swift b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastScreenCapturer.swift
index 7dd5d93c7..a28535ab0 100644
--- a/Sources/StreamVideo/WebRTC/Screensharing/BroadcastScreenCapturer.swift
+++ b/Sources/StreamVideo/WebRTC/Screensharing/BroadcastScreenCapturer.swift
@@ -4,7 +4,7 @@
import Foundation
import ReplayKit
-import StreamWebRTC
+import WebRTC
class BroadcastScreenCapturer: VideoCapturing {
diff --git a/Sources/StreamVideo/WebRTC/Screensharing/ScreenshareCapturer.swift b/Sources/StreamVideo/WebRTC/Screensharing/ScreenshareCapturer.swift
index 48f4f3635..2bf4700db 100644
--- a/Sources/StreamVideo/WebRTC/Screensharing/ScreenshareCapturer.swift
+++ b/Sources/StreamVideo/WebRTC/Screensharing/ScreenshareCapturer.swift
@@ -4,7 +4,7 @@
import Foundation
import ReplayKit
-import StreamWebRTC
+import WebRTC
class ScreenshareCapturer: VideoCapturing {
private var videoCapturer: RTCVideoCapturer
diff --git a/Sources/StreamVideo/WebRTC/Statistics/Statistics+Convenience.swift b/Sources/StreamVideo/WebRTC/Statistics/Statistics+Convenience.swift
index 608173082..9d30cd800 100644
--- a/Sources/StreamVideo/WebRTC/Statistics/Statistics+Convenience.swift
+++ b/Sources/StreamVideo/WebRTC/Statistics/Statistics+Convenience.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A wrapper around RTCStatistics that can be used to easily access its properties.
@dynamicMemberLookup
diff --git a/Sources/StreamVideo/WebRTC/VideoCapturing/SimulatorScreenCapturer.swift b/Sources/StreamVideo/WebRTC/VideoCapturing/SimulatorScreenCapturer.swift
index f76963198..358927478 100644
--- a/Sources/StreamVideo/WebRTC/VideoCapturing/SimulatorScreenCapturer.swift
+++ b/Sources/StreamVideo/WebRTC/VideoCapturing/SimulatorScreenCapturer.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
final class SimulatorScreenCapturer: RTCVideoCapturer {
private var displayLink: CADisplayLink?
diff --git a/Sources/StreamVideo/WebRTC/VideoCapturing/StreamVideoCaptureHandler.swift b/Sources/StreamVideo/WebRTC/VideoCapturing/StreamVideoCaptureHandler.swift
index 0585704ac..0fd94e6c2 100644
--- a/Sources/StreamVideo/WebRTC/VideoCapturing/StreamVideoCaptureHandler.swift
+++ b/Sources/StreamVideo/WebRTC/VideoCapturing/StreamVideoCaptureHandler.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-@preconcurrency import StreamWebRTC
+@preconcurrency import WebRTC
final class StreamVideoCaptureHandler: NSObject, RTCVideoCapturerDelegate {
diff --git a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturer.swift b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturer.swift
index aef7d8243..9c50522b9 100644
--- a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturer.swift
+++ b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturer.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
class VideoCapturer: CameraVideoCapturing {
diff --git a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturerProviding.swift b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturerProviding.swift
index a701e9033..784de7425 100644
--- a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturerProviding.swift
+++ b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturerProviding.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
/// A protocol defining methods for creating video capturing objects.
protocol VideoCapturerProviding {
diff --git a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturing.swift b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturing.swift
index f3a0c8bef..da71b134d 100644
--- a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturing.swift
+++ b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturing.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
protocol VideoCapturing {
func startCapture(device: AVCaptureDevice?) async throws
diff --git a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturingUtils.swift b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturingUtils.swift
index 01dc52702..5ce1fc765 100644
--- a/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturingUtils.swift
+++ b/Sources/StreamVideo/WebRTC/VideoCapturing/VideoCapturingUtils.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
enum VideoCapturingUtils {
static func codecs(
diff --git a/Sources/StreamVideo/WebRTC/VideoFilters/VideoFilters.swift b/Sources/StreamVideo/WebRTC/VideoFilters/VideoFilters.swift
index 5efe1e5b4..bb26649c3 100644
--- a/Sources/StreamVideo/WebRTC/VideoFilters/VideoFilters.swift
+++ b/Sources/StreamVideo/WebRTC/VideoFilters/VideoFilters.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
open class VideoFilter: @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/Extensions/WebRTC/RTCMediaStreamTrack+Sendable.swift b/Sources/StreamVideo/WebRTC/v2/Extensions/WebRTC/RTCMediaStreamTrack+Sendable.swift
index 94b3bebc1..b86f7b6b0 100644
--- a/Sources/StreamVideo/WebRTC/v2/Extensions/WebRTC/RTCMediaStreamTrack+Sendable.swift
+++ b/Sources/StreamVideo/WebRTC/v2/Extensions/WebRTC/RTCMediaStreamTrack+Sendable.swift
@@ -2,6 +2,6 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCMediaStreamTrack: @unchecked Sendable {}
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Adapters/ICEAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Adapters/ICEAdapter.swift
index 62087eea7..b10b982b7 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Adapters/ICEAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Adapters/ICEAdapter.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Manages ICE (Interactive Connectivity Establishment) operations for WebRTC. The adapter is bound to
/// the SFUAdapter and PeerConnection instance.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Convenience.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Convenience.swift
index 3c8d98310..574eecd9a 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Convenience.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Convenience.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCIceCandidate {
/// Initializes an RTCIceCandidate from a Stream_Video_Sfu_Models_ICETrickle.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+CustomStringConvertible.swift
index f6b5b2fae..81615b18b 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+CustomStringConvertible.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCIceCandidate {
/// Provides a detailed string representation of the RTCIceCandidate.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Sendable.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Sendable.swift
index f75104507..667af7961 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Sendable.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceCandidate+Sendable.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
/// Extends RTCIceCandidate to conform to the Sendable protocol.
///
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceConnectionState+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceConnectionState+CustomStringConvertible.swift
index 03a1997dd..cff2f2e1c 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceConnectionState+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceConnectionState+CustomStringConvertible.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Extension to make RTCIceConnectionState conform to CustomStringConvertible.
extension RTCIceConnectionState: CustomStringConvertible {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceGatheringState+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceGatheringState+CustomStringConvertible.swift
index 90117f612..dfe21069d 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceGatheringState+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCIceGatheringState+CustomStringConvertible.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Extension to make RTCIceGatheringState conform to CustomStringConvertible.
extension RTCIceGatheringState: CustomStringConvertible {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+Convenience.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+Convenience.swift
index fe614c7f7..cb511ecf9 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+Convenience.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+Convenience.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Constant representing the identifier suffix for screen share tracks.
private let screenShareTrackType = "TRACK_TYPE_SCREEN_SHARE"
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+CustomStringConvertible.swift
index dd2f36f89..3804c039f 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCMediaStream+CustomStringConvertible.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCMediaStream {
/// Provides a detailed string representation of the RTCMediaStream.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCPeerConnectionState+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCPeerConnectionState+CustomStringConvertible.swift
index 061a21185..736548d59 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCPeerConnectionState+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCPeerConnectionState+CustomStringConvertible.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Extends `RTCPeerConnectionState` to conform to the `CustomStringConvertible` protocol.
extension RTCPeerConnectionState: CustomStringConvertible {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters+Convenience.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters+Convenience.swift
index c9f3ba2d5..da0a1b5ca 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters+Convenience.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters+Convenience.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCRtpEncodingParameters {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpReceiver+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpReceiver+CustomStringConvertible.swift
index 93aa3ffd7..a6ad2d9fb 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpReceiver+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpReceiver+CustomStringConvertible.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
extension RTCRtpReceiver {
/// Provides a detailed string representation of the RTCRtpReceiver.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverDirection+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverDirection+CustomStringConvertible.swift
index 5ca7862a6..bbb7da289 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverDirection+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverDirection+CustomStringConvertible.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Extends `RTCRtpTransceiverDirection` to conform to the `CustomStringConvertible` protocol.
extension RTCRtpTransceiverDirection: CustomStringConvertible {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit+Convenience.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit+Convenience.swift
index 9276a57e2..79e454705 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit+Convenience.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit+Convenience.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCRtpTransceiverInit {
/// Convenience initializer for creating an `RTCRtpTransceiverInit` with specific parameters.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSdpType+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSdpType+CustomStringConvertible.swift
index 58315e056..01b6be4f3 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSdpType+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSdpType+CustomStringConvertible.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCSdpType: CustomStringConvertible {
/// A textual representation of the SDP type.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSessionDescription+AudioSettings.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSessionDescription+AudioSettings.swift
index 997cc56ef..1eae117ab 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSessionDescription+AudioSettings.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSessionDescription+AudioSettings.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCSessionDescription: @unchecked Sendable {
/// Enables or disables Opus DTX in the session description.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSignalingState+CustomStringConvertible.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSignalingState+CustomStringConvertible.swift
index 15d16b37c..b0f06358f 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSignalingState+CustomStringConvertible.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCSignalingState+CustomStringConvertible.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCSignalingState: CustomStringConvertible {
/// A textual representation of the signaling state.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCVideoTrack+Sendable.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCVideoTrack+Sendable.swift
index 9bc907016..998b0f9a9 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCVideoTrack+Sendable.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/RTCVideoTrack+Sendable.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
/// Extends `RTCVideoTrack` to conform to the `Sendable` protocol.
///
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/StreamRTCPeerConnection+DelegatePublisher.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/StreamRTCPeerConnection+DelegatePublisher.swift
index 2691cd03a..b13e8d0f7 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/StreamRTCPeerConnection+DelegatePublisher.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Extensions/StreamRTCPeerConnection+DelegatePublisher.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
extension StreamRTCPeerConnection {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter.swift
index d7315f6a6..d0ebae2ac 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that manages audio media for a call session.
final class AudioMediaAdapter: MediaAdapting, @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter.swift
index 68b0462a6..796bfcb37 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that manages local audio media for a call session.
final class LocalAudioMediaAdapter: LocalMediaAdapting {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter.swift
index 81223d5a3..9d07572e7 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that adapts local screen sharing media for use in a streaming context.
///
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter.swift
index 87bdca1ba..f6695c695 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter.swift
@@ -5,7 +5,7 @@
@preconcurrency import AVFoundation
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that manages local video media for a call session.
final class LocalVideoMediaAdapter: LocalMediaAdapting, @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/MediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/MediaAdapter.swift
index 1d85afdd8..f3b8f2dcd 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/MediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/MediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that manages audio, video, and screen sharing media for a call session.
final class MediaAdapter {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter.swift
index cc05b10ab..c4c8cc005 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that manages screen sharing media for a call session.
final class ScreenShareMediaAdapter: MediaAdapting, @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareSession.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareSession.swift
index dd92f4225..21c65b561 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareSession.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareSession.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A structure representing a screen sharing session.
struct ScreenShareSession {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoCaptureSession.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoCaptureSession.swift
index 7a6ebc931..784df9bf3 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoCaptureSession.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoCaptureSession.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
struct VideoCaptureSession {
var position: AVCaptureDevice.Position
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter.swift
index 97f1f33f4..2fba3f747 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A class that manages video media for a call session.
final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/ICECandidate.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/ICECandidate.swift
index 41161f8fd..357710215 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/ICECandidate.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/ICECandidate.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Represents an ICE (Interactive Connectivity Establishment) candidate.
///
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/StreamRTCPeerConnection+Events.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/StreamRTCPeerConnection+Events.swift
index e2611d5a7..6bf0e0891 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/StreamRTCPeerConnection+Events.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/StreamRTCPeerConnection+Events.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension StreamRTCPeerConnection {
/// Indicates that a remote description has been set.
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/TrackEvent.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/TrackEvent.swift
index 780bf3af5..817612b29 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/TrackEvent.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Models/TrackEvent.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// An enumeration representing events related to media tracks in a call.
enum TrackEvent {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/MediaAdapting.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/MediaAdapting.swift
index af4b9285e..c521990f3 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/MediaAdapting.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/MediaAdapting.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A protocol defining the interface for media adapters in a call.
protocol MediaAdapting {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift
index 8bb22e5a3..b9b5c8f5d 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift
@@ -2,7 +2,7 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//
-import StreamWebRTC
+import WebRTC
/// A protocol that defines a factory method for creating RTCPeerConnectionCoordinator instances.
///
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/StreamRTCPeerConnectionProtocol.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/StreamRTCPeerConnectionProtocol.swift
index 3d0bcd4a4..935390e83 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/StreamRTCPeerConnectionProtocol.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/StreamRTCPeerConnectionProtocol.swift
@@ -3,7 +3,7 @@
//
import Combine
-import StreamWebRTC
+import WebRTC
/// Protocol defining the interface for a WebRTC peer connection with Stream-specific functionality.
protocol StreamRTCPeerConnectionProtocol: AnyObject {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator.swift
index d5a8d3124..3b9562214 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// Coordinates the peer connection, managing media, ICE, and SFU interactions.
class RTCPeerConnectionCoordinator: @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCTemporaryPeerConnection.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCTemporaryPeerConnection.swift
index 52ee91ab3..90691860a 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCTemporaryPeerConnection.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/RTCTemporaryPeerConnection.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// A temporary peer connection used for creating offers with specific tracks.
final class RTCTemporaryPeerConnection {
diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/StreamRTCPeerConnection.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/StreamRTCPeerConnection.swift
index 1ae9f183b..93b1f4eb7 100644
--- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/StreamRTCPeerConnection.swift
+++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/StreamRTCPeerConnection.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// Represents a WebRTC peer connection with additional Stream-specific functionality.
final class StreamRTCPeerConnection: StreamRTCPeerConnectionProtocol, @unchecked Sendable {
diff --git a/Sources/StreamVideo/WebRTC/v2/StateMachine/Stages/WebRTCCoordinator+Joining.swift b/Sources/StreamVideo/WebRTC/v2/StateMachine/Stages/WebRTCCoordinator+Joining.swift
index 65014de29..072f0b79e 100644
--- a/Sources/StreamVideo/WebRTC/v2/StateMachine/Stages/WebRTCCoordinator+Joining.swift
+++ b/Sources/StreamVideo/WebRTC/v2/StateMachine/Stages/WebRTCCoordinator+Joining.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension WebRTCCoordinator.StateMachine.Stage {
diff --git a/Sources/StreamVideo/WebRTC/v2/WebRTCCoordinator.swift b/Sources/StreamVideo/WebRTC/v2/WebRTCCoordinator.swift
index aa8e0bc69..711c522e7 100644
--- a/Sources/StreamVideo/WebRTC/v2/WebRTCCoordinator.swift
+++ b/Sources/StreamVideo/WebRTC/v2/WebRTCCoordinator.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// A coordinator that manages WebRTC connections, state transitions, and media
/// operations. It interacts with a state machine to handle different WebRTC
diff --git a/Sources/StreamVideo/WebRTC/v2/WebRTCJoinRequestFactory.swift b/Sources/StreamVideo/WebRTC/v2/WebRTCJoinRequestFactory.swift
index f3a6cce1d..d2e28f689 100644
--- a/Sources/StreamVideo/WebRTC/v2/WebRTCJoinRequestFactory.swift
+++ b/Sources/StreamVideo/WebRTC/v2/WebRTCJoinRequestFactory.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
/// Factory for creating WebRTC join requests.
struct WebRTCJoinRequestFactory {
diff --git a/Sources/StreamVideo/WebRTC/v2/WebRTCStateAdapter.swift b/Sources/StreamVideo/WebRTC/v2/WebRTCStateAdapter.swift
index 3cf093827..01e4c2cd2 100644
--- a/Sources/StreamVideo/WebRTC/v2/WebRTCStateAdapter.swift
+++ b/Sources/StreamVideo/WebRTC/v2/WebRTCStateAdapter.swift
@@ -4,7 +4,7 @@
import Combine
import Foundation
-import StreamWebRTC
+import WebRTC
/// An actor class that handles WebRTC state management and media tracks for a
/// video call. This class manages the connection setup, track handling, and
diff --git a/Sources/StreamVideoSwiftUI/CallView/CallView.swift b/Sources/StreamVideoSwiftUI/CallView/CallView.swift
index ad7ade128..cd465d46b 100644
--- a/Sources/StreamVideoSwiftUI/CallView/CallView.swift
+++ b/Sources/StreamVideoSwiftUI/CallView/CallView.swift
@@ -3,7 +3,7 @@
//
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
public struct CallView: View {
diff --git a/Sources/StreamVideoSwiftUI/CallView/ParticipantsFullScreenLayout.swift b/Sources/StreamVideoSwiftUI/CallView/ParticipantsFullScreenLayout.swift
index ca7341507..f3707fa84 100644
--- a/Sources/StreamVideoSwiftUI/CallView/ParticipantsFullScreenLayout.swift
+++ b/Sources/StreamVideoSwiftUI/CallView/ParticipantsFullScreenLayout.swift
@@ -3,7 +3,7 @@
//
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
public struct ParticipantsFullScreenLayout: View {
diff --git a/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridLayout.swift b/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridLayout.swift
index a1d85b273..3bbe82dfe 100644
--- a/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridLayout.swift
+++ b/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridLayout.swift
@@ -3,7 +3,7 @@
//
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
public struct ParticipantsGridLayout: View {
diff --git a/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridView.swift b/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridView.swift
index a9d691010..7c1f2ff9a 100644
--- a/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridView.swift
+++ b/Sources/StreamVideoSwiftUI/CallView/ParticipantsGridView.swift
@@ -3,7 +3,7 @@
//
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
@MainActor
diff --git a/Sources/StreamVideoSwiftUI/CallView/VideoParticipantsView.swift b/Sources/StreamVideoSwiftUI/CallView/VideoParticipantsView.swift
index c5fdf6ddc..ef727d383 100644
--- a/Sources/StreamVideoSwiftUI/CallView/VideoParticipantsView.swift
+++ b/Sources/StreamVideoSwiftUI/CallView/VideoParticipantsView.swift
@@ -3,7 +3,7 @@
//
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
public struct VideoParticipantsView: View {
diff --git a/Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRenderer.swift b/Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRenderer.swift
index a5cfd31e9..492453497 100644
--- a/Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRenderer.swift
+++ b/Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRenderer.swift
@@ -5,7 +5,7 @@
import Combine
import MetalKit
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
/// A custom video renderer based on RTCMTLVideoView for rendering RTCVideoTrack objects.
diff --git a/Sources/StreamVideoSwiftUI/CallViewModel.swift b/Sources/StreamVideoSwiftUI/CallViewModel.swift
index ef8ac7c47..13322d92e 100644
--- a/Sources/StreamVideoSwiftUI/CallViewModel.swift
+++ b/Sources/StreamVideoSwiftUI/CallViewModel.swift
@@ -4,7 +4,7 @@
import Combine
import StreamVideo
-import StreamWebRTC
+import WebRTC
import SwiftUI
// View model that provides methods for views that present a call.
diff --git a/Sources/StreamVideoSwiftUI/Utils/Extensions/RTCCVPixelBuffer+Convenience.swift b/Sources/StreamVideoSwiftUI/Utils/Extensions/RTCCVPixelBuffer+Convenience.swift
index 9ae78b767..1a7fbdb94 100644
--- a/Sources/StreamVideoSwiftUI/Utils/Extensions/RTCCVPixelBuffer+Convenience.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/Extensions/RTCCVPixelBuffer+Convenience.swift
@@ -3,7 +3,7 @@
//
import Foundation
-import StreamWebRTC
+import WebRTC
extension RTCCVPixelBuffer {
diff --git a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamAVPictureInPictureVideoCallViewController.swift b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamAVPictureInPictureVideoCallViewController.swift
index 43a52e377..a0d5c7b0c 100644
--- a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamAVPictureInPictureVideoCallViewController.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamAVPictureInPictureVideoCallViewController.swift
@@ -5,7 +5,7 @@
import AVKit
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
/// Describes an object that can be used to present picture-in-picture content.
protocol StreamAVPictureInPictureViewControlling: AnyObject {
diff --git a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamBufferTransformer.swift b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamBufferTransformer.swift
index f4528fc47..48f7f6c0d 100644
--- a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamBufferTransformer.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamBufferTransformer.swift
@@ -4,7 +4,7 @@
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
/// `StreamBufferTransformer` is a struct that provides methods for transforming RTCI420Buffer to
/// CVPixelBuffer, while performing downsampling when necessary.
diff --git a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureController.swift b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureController.swift
index 01dd71049..51b5eafd4 100644
--- a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureController.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureController.swift
@@ -6,7 +6,7 @@ import AVKit
import Combine
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
#if canImport(UIKit)
import UIKit
#endif
diff --git a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapter.swift b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapter.swift
index 65b7521c3..de1415ec9 100644
--- a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapter.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapter.swift
@@ -5,7 +5,7 @@
import Combine
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
/// StreamPictureInPictureTrackStateAdapter serves as an adapter for managing the state of a video track
/// used for picture-in-picture functionality. It can enable or disable observers based on its isEnabled property
diff --git a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureVideoRenderer.swift b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureVideoRenderer.swift
index f4e1c1135..af3f43c84 100644
--- a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureVideoRenderer.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamPictureInPictureVideoRenderer.swift
@@ -5,7 +5,7 @@
import Combine
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
/// A view that can be used to render an instance of `RTCVideoTrack`
final class StreamPictureInPictureVideoRenderer: UIView, RTCVideoRenderer {
diff --git a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamRTCYUVBuffer.swift b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamRTCYUVBuffer.swift
index d55d6ef0d..8a3f4efde 100644
--- a/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamRTCYUVBuffer.swift
+++ b/Sources/StreamVideoSwiftUI/Utils/PictureInPicture/StreamRTCYUVBuffer.swift
@@ -6,7 +6,7 @@ import Accelerate
import CoreVideo
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
/// A class that encapsulates the conversion of RTC video frame buffers from YUV to ARGB format.
final class StreamRTCYUVBuffer: NSObject, RTCVideoFrameBuffer {
diff --git a/StreamVideo-XCFramework.podspec b/StreamVideo-XCFramework.podspec
index 70706d66b..3a95781a6 100644
--- a/StreamVideo-XCFramework.podspec
+++ b/StreamVideo-XCFramework.podspec
@@ -17,15 +17,8 @@ Pod::Spec.new do |spec|
spec.module_name = 'StreamVideo'
spec.source = { http: "https://github.com/GetStream/stream-video-swift/releases/download/#{spec.version}/#{spec.module_name}.zip" }
- spec.vendored_frameworks = "#{spec.module_name}.xcframework", 'Frameworks/StreamWebRTC.xcframework'
spec.preserve_paths = "#{spec.module_name}.xcframework/*", 'Frameworks/*'
spec.dependency('SwiftProtobuf', '~> 1.18.0')
-
- spec.prepare_command = <<-CMD
- mkdir -p Frameworks/
- curl -sL "https://github.com/GetStream/stream-video-swift-webrtc/releases/download/114.5735.08/StreamWebRTC.zip" -o Frameworks/StreamWebRTC.zip
- unzip -o Frameworks/StreamWebRTC.zip -d Frameworks/
- rm Frameworks/StreamWebRTC.zip
- CMD
+ spec.dependency('StreamWebRTC', '125.6422.06.2')
end
diff --git a/StreamVideo.podspec b/StreamVideo.podspec
index e819a801d..21dd1f633 100644
--- a/StreamVideo.podspec
+++ b/StreamVideo.podspec
@@ -21,12 +21,5 @@ Pod::Spec.new do |spec|
spec.exclude_files = ["Sources/#{spec.name}/**/*_Tests.swift", "Sources/#{spec.name}/**/*_Mock.swift"]
spec.dependency('SwiftProtobuf', '~> 1.18.0')
- spec.vendored_frameworks = 'Frameworks/StreamWebRTC.xcframework'
-
- spec.prepare_command = <<-CMD
- mkdir -p Frameworks/
- curl -sL "https://github.com/GetStream/stream-video-swift-webrtc/releases/download/114.5735.08/StreamWebRTC.zip" -o Frameworks/StreamWebRTC.zip
- unzip -o Frameworks/StreamWebRTC.zip -d Frameworks/
- rm Frameworks/StreamWebRTC.zip
- CMD
+ spec.dependency('StreamWebRTC', '125.6422.06.2')
end
diff --git a/StreamVideo.xcodeproj/project.pbxproj b/StreamVideo.xcodeproj/project.pbxproj
index 355d8467f..83cd3ccac 100644
--- a/StreamVideo.xcodeproj/project.pbxproj
+++ b/StreamVideo.xcodeproj/project.pbxproj
@@ -654,6 +654,9 @@
8251E6312A17BEEF00E7257A /* ImageFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8251E62E2A17BEEF00E7257A /* ImageFactory.swift */; };
82686160290A7556005BFFED /* SystemEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8268615F290A7556005BFFED /* SystemEnvironment.swift */; };
827D893E2A16369300838B1A /* StreamLazyImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 827D893D2A16369300838B1A /* StreamLazyImage.swift */; };
+ 8280FFD62CF5F96D002DF7F7 /* WebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 8280FFD52CF5F96D002DF7F7 /* WebRTC */; };
+ 8280FFD82CF5F97C002DF7F7 /* WebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 8280FFD72CF5F97C002DF7F7 /* WebRTC */; };
+ 8280FFDA2CF5F984002DF7F7 /* WebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 8280FFD92CF5F984002DF7F7 /* WebRTC */; };
828DE5BD299521EF00F93197 /* UserRobot+Asserts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 828DE5BC299521EF00F93197 /* UserRobot+Asserts.swift */; };
829A1F6929FACCAF0072ED75 /* ParticipantsGridLayout_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 829A1F6829FACCAF0072ED75 /* ParticipantsGridLayout_Tests.swift */; };
829A1F6B29FACCC20072ED75 /* ParticipantsSpotlightLayout_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 829A1F6A29FACCC20072ED75 /* ParticipantsSpotlightLayout_Tests.swift */; };
@@ -721,12 +724,6 @@
82E3BA552A0BAF4B001AB93E /* WebSocketClientEnvironment_Mock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82E3BA522A0BAF4B001AB93E /* WebSocketClientEnvironment_Mock.swift */; };
82E3BA562A0BAF64001AB93E /* WebSocketEngine_Mock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84F58B8A29EEACAD00010C4C /* WebSocketEngine_Mock.swift */; };
82E3BA572A0BAF65001AB93E /* WebSocketEngine_Mock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84F58B8A29EEACAD00010C4C /* WebSocketEngine_Mock.swift */; };
- 82EB8F572B0277730038B5A2 /* StreamWebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 82EB8F562B0277730038B5A2 /* StreamWebRTC */; };
- 82EB8F592B0277E70038B5A2 /* StreamWebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 82EB8F582B0277E70038B5A2 /* StreamWebRTC */; };
- 82EB8F5B2B0277EC0038B5A2 /* StreamWebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 82EB8F5A2B0277EC0038B5A2 /* StreamWebRTC */; };
- 82EB8F5D2B0277F10038B5A2 /* StreamWebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 82EB8F5C2B0277F10038B5A2 /* StreamWebRTC */; };
- 82EB8F5F2B0277F60038B5A2 /* StreamWebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 82EB8F5E2B0277F60038B5A2 /* StreamWebRTC */; };
- 82EB8F612B0277FB0038B5A2 /* StreamWebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = 82EB8F602B0277FB0038B5A2 /* StreamWebRTC */; };
82FB89372A702A9200AC16A1 /* Authentication_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82FB89362A702A9200AC16A1 /* Authentication_Tests.swift */; };
82FF40B52A17C6C200B4D95E /* CallControlsView_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82FF40B42A17C6C200B4D95E /* CallControlsView_Tests.swift */; };
82FF40B72A17C6CD00B4D95E /* ReconnectionView_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82FF40B62A17C6CD00B4D95E /* ReconnectionView_Tests.swift */; };
@@ -2509,8 +2506,8 @@
401A64A52A9DF79E00534ED1 /* StreamChatSwiftUI in Frameworks */,
8423B7562950BB0B00012F8D /* Sentry in Frameworks */,
40AC73B42BE0062B00C57517 /* StreamVideoNoiseCancellation in Frameworks */,
+ 8280FFD82CF5F97C002DF7F7 /* WebRTC in Frameworks */,
401A64A82A9DF7B400534ED1 /* EffectsLibrary in Frameworks */,
- 82EB8F592B0277E70038B5A2 /* StreamWebRTC in Frameworks */,
4035913C2BC53D2A00B5B767 /* Accelerate.framework in Frameworks */,
84F7381A287C141000A363F4 /* StreamVideoSwiftUI.framework in Frameworks */,
84F7384D287C198500A363F4 /* StreamVideo.framework in Frameworks */,
@@ -2534,11 +2531,11 @@
82E1C14F2AEA7DD50076D7BE /* GDPerformanceView-Swift in Frameworks */,
40F0178A2BC014EC00E89FD1 /* Sentry in Frameworks */,
4029A62A2AB069600065DAFB /* StreamChatSwiftUI in Frameworks */,
+ 8280FFDA2CF5F984002DF7F7 /* WebRTC in Frameworks */,
40AB35692B738D3D00E465CC /* EffectsLibrary in Frameworks */,
848A805D290A808E00F3079B /* StreamVideoUIKit.framework in Frameworks */,
848A8058290A808A00F3079B /* StreamVideo.framework in Frameworks */,
848A805B290A808C00F3079B /* StreamVideoSwiftUI.framework in Frameworks */,
- 82EB8F5B2B0277EC0038B5A2 /* StreamWebRTC in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -2547,7 +2544,7 @@
buildActionMask = 2147483647;
files = (
84BE8A5628BE314000B34D2F /* SwiftProtobuf in Frameworks */,
- 82EB8F572B0277730038B5A2 /* StreamWebRTC in Frameworks */,
+ 8280FFD62CF5F96D002DF7F7 /* WebRTC in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -2556,7 +2553,6 @@
buildActionMask = 2147483647;
files = (
84F737F5287C13AD00A363F4 /* StreamVideo.framework in Frameworks */,
- 82EB8F5D2B0277F10038B5A2 /* StreamWebRTC in Frameworks */,
822FF71B2AEAD0B4000202A7 /* StreamSwiftTestHelpers in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -2574,7 +2570,6 @@
buildActionMask = 2147483647;
files = (
84F7380F287C141000A363F4 /* StreamVideoSwiftUI.framework in Frameworks */,
- 82EB8F5F2B0277F60038B5A2 /* StreamWebRTC in Frameworks */,
822FF71D2AEAD0BE000202A7 /* StreamSwiftTestHelpers in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -2593,7 +2588,6 @@
buildActionMask = 2147483647;
files = (
84F73830287C146D00A363F4 /* StreamVideoUIKit.framework in Frameworks */,
- 82EB8F612B0277FB0038B5A2 /* StreamWebRTC in Frameworks */,
822FF71F2AEAD0C4000202A7 /* StreamSwiftTestHelpers in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -5593,8 +5587,8 @@
401A64A72A9DF7B400534ED1 /* EffectsLibrary */,
4046DEEF2A9F469100CA6D2F /* GDPerformanceView-Swift */,
844ADA642AD3F1AB00769F6A /* GoogleSignInSwift */,
- 82EB8F582B0277E70038B5A2 /* StreamWebRTC */,
40AC73B32BE0062B00C57517 /* StreamVideoNoiseCancellation */,
+ 8280FFD72CF5F97C002DF7F7 /* WebRTC */,
);
productName = StreamVideoSwiftUI;
productReference = 842D8BC32865B31B00801910 /* StreamVideoCallApp-Debug.app */;
@@ -5638,9 +5632,9 @@
4029A6292AB069600065DAFB /* StreamChatSwiftUI */,
406303442AD942ED0091AE77 /* GoogleSignInSwift */,
82E1C14E2AEA7DD50076D7BE /* GDPerformanceView-Swift */,
- 82EB8F5A2B0277EC0038B5A2 /* StreamWebRTC */,
40AB35682B738D3D00E465CC /* EffectsLibrary */,
40F017892BC014EC00E89FD1 /* Sentry */,
+ 8280FFD92CF5F984002DF7F7 /* WebRTC */,
);
productName = DemoAppUIKit;
productReference = 8493224C290837890013C029 /* DemoAppUIKit.app */;
@@ -5663,7 +5657,7 @@
name = StreamVideo;
packageProductDependencies = (
84BE8A5528BE314000B34D2F /* SwiftProtobuf */,
- 82EB8F562B0277730038B5A2 /* StreamWebRTC */,
+ 8280FFD52CF5F96D002DF7F7 /* WebRTC */,
);
productName = StreamVideo;
productReference = 84F737ED287C13AC00A363F4 /* StreamVideo.framework */;
@@ -5685,7 +5679,6 @@
name = StreamVideoTests;
packageProductDependencies = (
822FF71A2AEAD0B4000202A7 /* StreamSwiftTestHelpers */,
- 82EB8F5C2B0277F10038B5A2 /* StreamWebRTC */,
);
productName = StreamVideoTests;
productReference = 84F737F4287C13AD00A363F4 /* StreamVideoTests.xctest */;
@@ -5729,7 +5722,6 @@
name = StreamVideoSwiftUITests;
packageProductDependencies = (
822FF71C2AEAD0BE000202A7 /* StreamSwiftTestHelpers */,
- 82EB8F5E2B0277F60038B5A2 /* StreamWebRTC */,
);
productName = StreamVideoSwiftUITests;
productReference = 84F7380E287C141000A363F4 /* StreamVideoSwiftUITests.xctest */;
@@ -5773,7 +5765,6 @@
name = StreamVideoUIKitTests;
packageProductDependencies = (
822FF71E2AEAD0C4000202A7 /* StreamSwiftTestHelpers */,
- 82EB8F602B0277FB0038B5A2 /* StreamWebRTC */,
);
productName = StreamVideoUIKitTests;
productReference = 84F7382F287C146D00A363F4 /* StreamVideoUIKitTests.xctest */;
@@ -5845,8 +5836,8 @@
40F445C32A9E1D91004BE3DA /* XCRemoteSwiftPackageReference "stream-chat-swift-test-helpers" */,
4046DEEC2A9F404300CA6D2F /* XCRemoteSwiftPackageReference "GDPerformanceView-Swift" */,
844ADA612AD3F1AB00769F6A /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */,
- 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */,
40AC73B22BE0062B00C57517 /* XCRemoteSwiftPackageReference "stream-video-noise-cancellation-swift" */,
+ 8280FFD42CF5F96D002DF7F7 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */,
);
productRefGroup = 842D8BC42865B31B00801910 /* Products */;
projectDirPath = "";
@@ -8799,12 +8790,12 @@
version = 0.3.5;
};
};
- 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */ = {
+ 8280FFD42CF5F96D002DF7F7 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */ = {
isa = XCRemoteSwiftPackageReference;
- repositoryURL = "https://github.com/GetStream/stream-video-swift-webrtc";
+ repositoryURL = "https://github.com/GetStream/stream-video-swift-webrtc.git";
requirement = {
- kind = exactVersion;
- version = 114.5735.8;
+ branch = main;
+ kind = branch;
};
};
8423B7542950BB0A00012F8D /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
@@ -8894,40 +8885,25 @@
package = 40F445C32A9E1D91004BE3DA /* XCRemoteSwiftPackageReference "stream-chat-swift-test-helpers" */;
productName = StreamSwiftTestHelpers;
};
- 82E1C14E2AEA7DD50076D7BE /* GDPerformanceView-Swift */ = {
+ 8280FFD52CF5F96D002DF7F7 /* WebRTC */ = {
isa = XCSwiftPackageProductDependency;
- package = 4046DEEC2A9F404300CA6D2F /* XCRemoteSwiftPackageReference "GDPerformanceView-Swift" */;
- productName = "GDPerformanceView-Swift";
+ package = 8280FFD42CF5F96D002DF7F7 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
+ productName = WebRTC;
};
- 82EB8F562B0277730038B5A2 /* StreamWebRTC */ = {
+ 8280FFD72CF5F97C002DF7F7 /* WebRTC */ = {
isa = XCSwiftPackageProductDependency;
- package = 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
- productName = StreamWebRTC;
+ package = 8280FFD42CF5F96D002DF7F7 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
+ productName = WebRTC;
};
- 82EB8F582B0277E70038B5A2 /* StreamWebRTC */ = {
+ 8280FFD92CF5F984002DF7F7 /* WebRTC */ = {
isa = XCSwiftPackageProductDependency;
- package = 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
- productName = StreamWebRTC;
+ package = 8280FFD42CF5F96D002DF7F7 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
+ productName = WebRTC;
};
- 82EB8F5A2B0277EC0038B5A2 /* StreamWebRTC */ = {
- isa = XCSwiftPackageProductDependency;
- package = 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
- productName = StreamWebRTC;
- };
- 82EB8F5C2B0277F10038B5A2 /* StreamWebRTC */ = {
- isa = XCSwiftPackageProductDependency;
- package = 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
- productName = StreamWebRTC;
- };
- 82EB8F5E2B0277F60038B5A2 /* StreamWebRTC */ = {
- isa = XCSwiftPackageProductDependency;
- package = 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
- productName = StreamWebRTC;
- };
- 82EB8F602B0277FB0038B5A2 /* StreamWebRTC */ = {
+ 82E1C14E2AEA7DD50076D7BE /* GDPerformanceView-Swift */ = {
isa = XCSwiftPackageProductDependency;
- package = 82EB8F552B0277730038B5A2 /* XCRemoteSwiftPackageReference "stream-video-swift-webrtc" */;
- productName = StreamWebRTC;
+ package = 4046DEEC2A9F404300CA6D2F /* XCRemoteSwiftPackageReference "GDPerformanceView-Swift" */;
+ productName = "GDPerformanceView-Swift";
};
8423B7552950BB0B00012F8D /* Sentry */ = {
isa = XCSwiftPackageProductDependency;
diff --git a/StreamVideoSwiftUITests/Utils/PictureInPicture/Mocks/MockStreamAVPictureInPictureViewControlling.swift b/StreamVideoSwiftUITests/Utils/PictureInPicture/Mocks/MockStreamAVPictureInPictureViewControlling.swift
index 91e0a40c3..b79c0de26 100644
--- a/StreamVideoSwiftUITests/Utils/PictureInPicture/Mocks/MockStreamAVPictureInPictureViewControlling.swift
+++ b/StreamVideoSwiftUITests/Utils/PictureInPicture/Mocks/MockStreamAVPictureInPictureViewControlling.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideoSwiftUI
-import StreamWebRTC
+import WebRTC
final class MockStreamAVPictureInPictureViewControlling: StreamAVPictureInPictureViewControlling {
var onSizeUpdate: ((CGSize) -> Void)?
diff --git a/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamBufferTransformerTests.swift b/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamBufferTransformerTests.swift
index cb8dd88e4..6b2b07d51 100644
--- a/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamBufferTransformerTests.swift
+++ b/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamBufferTransformerTests.swift
@@ -6,7 +6,7 @@ import CoreGraphics
import SnapshotTesting
import StreamSwiftTestHelpers
@testable import StreamVideoSwiftUI
-import StreamWebRTC
+import WebRTC
import XCTest
final class StreamBufferTransformerTests: XCTestCase {
diff --git a/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapterTests.swift b/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapterTests.swift
index e02abfe32..548f2c095 100644
--- a/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapterTests.swift
+++ b/StreamVideoSwiftUITests/Utils/PictureInPicture/StreamPictureInPictureTrackStateAdapterTests.swift
@@ -5,7 +5,7 @@
import Foundation
@testable import StreamVideo
@testable import StreamVideoSwiftUI
-import StreamWebRTC
+import WebRTC
import XCTest
final class StreamPictureInPictureTrackStateAdapterTests: XCTestCase, @unchecked Sendable {
diff --git a/StreamVideoTests/CallSettings/MicrophoneManager_Tests.swift b/StreamVideoTests/CallSettings/MicrophoneManager_Tests.swift
index 82a4483b0..0375a7994 100644
--- a/StreamVideoTests/CallSettings/MicrophoneManager_Tests.swift
+++ b/StreamVideoTests/CallSettings/MicrophoneManager_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class MicrophoneManager_Tests: XCTestCase {
diff --git a/StreamVideoTests/Mock/CallController_Mock.swift b/StreamVideoTests/Mock/CallController_Mock.swift
index cd3a56dbc..3dd807d86 100644
--- a/StreamVideoTests/Mock/CallController_Mock.swift
+++ b/StreamVideoTests/Mock/CallController_Mock.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
class CallController_Mock: CallController {
diff --git a/StreamVideoTests/Mock/CallParticipant_Mock.swift b/StreamVideoTests/Mock/CallParticipant_Mock.swift
index 9366f5c5a..6b10d599c 100644
--- a/StreamVideoTests/Mock/CallParticipant_Mock.swift
+++ b/StreamVideoTests/Mock/CallParticipant_Mock.swift
@@ -4,7 +4,7 @@
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
extension CallParticipant {
diff --git a/StreamVideoTests/Mock/MockAudioSession.swift b/StreamVideoTests/Mock/MockAudioSession.swift
index bdaea5f4d..9459ba36f 100644
--- a/StreamVideoTests/Mock/MockAudioSession.swift
+++ b/StreamVideoTests/Mock/MockAudioSession.swift
@@ -4,7 +4,7 @@
import AVFoundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockAudioSession: AudioSessionProtocol, Mockable {
final class WeakBox {
diff --git a/StreamVideoTests/Mock/MockLocalMediaAdapter.swift b/StreamVideoTests/Mock/MockLocalMediaAdapter.swift
index 77eed3071..47bece4f1 100644
--- a/StreamVideoTests/Mock/MockLocalMediaAdapter.swift
+++ b/StreamVideoTests/Mock/MockLocalMediaAdapter.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockLocalMediaAdapter: LocalMediaAdapting, Mockable {
// MARK: - Mockable
diff --git a/StreamVideoTests/Mock/MockRTCPeerConnection.swift b/StreamVideoTests/Mock/MockRTCPeerConnection.swift
index ec6cf0763..59c5b07a6 100644
--- a/StreamVideoTests/Mock/MockRTCPeerConnection.swift
+++ b/StreamVideoTests/Mock/MockRTCPeerConnection.swift
@@ -5,7 +5,7 @@
import Combine
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockRTCPeerConnection: StreamRTCPeerConnectionProtocol, Mockable {
diff --git a/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinator.swift b/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinator.swift
index 5e6d622da..a5d5bc566 100644
--- a/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinator.swift
+++ b/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinator.swift
@@ -5,7 +5,7 @@
import Combine
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockRTCPeerConnectionCoordinator:
RTCPeerConnectionCoordinator,
diff --git a/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorFactory.swift b/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorFactory.swift
index 9d6e74af2..1108412fc 100644
--- a/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorFactory.swift
+++ b/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorFactory.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockRTCPeerConnectionCoordinatorFactory: RTCPeerConnectionCoordinatorProviding {
var stubbedBuildCoordinatorResult: [PeerConnectionType: MockRTCPeerConnectionCoordinator] = [:]
diff --git a/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorStack.swift b/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorStack.swift
index 9428507fe..8f3375ce0 100644
--- a/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorStack.swift
+++ b/StreamVideoTests/Mock/MockRTCPeerConnectionCoordinatorStack.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
struct MockRTCPeerConnectionCoordinatorStack {
diff --git a/StreamVideoTests/Mock/MockRTCVideoCapturerDelegate.swift b/StreamVideoTests/Mock/MockRTCVideoCapturerDelegate.swift
index cc57cb78c..b3fa66860 100644
--- a/StreamVideoTests/Mock/MockRTCVideoCapturerDelegate.swift
+++ b/StreamVideoTests/Mock/MockRTCVideoCapturerDelegate.swift
@@ -8,7 +8,7 @@
//
// Created by Ilias Pavlidakis on 19/9/24.
//
-import StreamWebRTC
+import WebRTC
final class MockRTCVideoCapturerDelegate: NSObject, RTCVideoCapturerDelegate {
private(set) var didCaptureWasCalledWith: (capturer: RTCVideoCapturer, frame: RTCVideoFrame)?
diff --git a/StreamVideoTests/Mock/MockVideoCapturerFactory.swift b/StreamVideoTests/Mock/MockVideoCapturerFactory.swift
index 143a1bfb0..2592d6127 100644
--- a/StreamVideoTests/Mock/MockVideoCapturerFactory.swift
+++ b/StreamVideoTests/Mock/MockVideoCapturerFactory.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockVideoCapturerFactory: VideoCapturerProviding, Mockable {
diff --git a/StreamVideoTests/Mock/MockWebRTCCoordinatorStack.swift b/StreamVideoTests/Mock/MockWebRTCCoordinatorStack.swift
index a55d9c087..c11643d7b 100644
--- a/StreamVideoTests/Mock/MockWebRTCCoordinatorStack.swift
+++ b/StreamVideoTests/Mock/MockWebRTCCoordinatorStack.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockWebRTCCoordinatorStack {
diff --git a/StreamVideoTests/Mock/PeerConnectionFactory+Mock.swift b/StreamVideoTests/Mock/PeerConnectionFactory+Mock.swift
index 6ace8ada0..b4c26f0b4 100644
--- a/StreamVideoTests/Mock/PeerConnectionFactory+Mock.swift
+++ b/StreamVideoTests/Mock/PeerConnectionFactory+Mock.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
private var _pc: RTCPeerConnection?
diff --git a/StreamVideoTests/Mock/VideoConfig+Dummy.swift b/StreamVideoTests/Mock/VideoConfig+Dummy.swift
index 0e433587f..b1b7102e0 100644
--- a/StreamVideoTests/Mock/VideoConfig+Dummy.swift
+++ b/StreamVideoTests/Mock/VideoConfig+Dummy.swift
@@ -4,7 +4,7 @@
import Foundation
import StreamVideo
-import StreamWebRTC
+import WebRTC
extension VideoConfig {
static func dummy(
diff --git a/StreamVideoTests/Utilities/Dummy/CallStatsReport+Dummy.swift b/StreamVideoTests/Utilities/Dummy/CallStatsReport+Dummy.swift
index 35d75c68d..ba95440b1 100644
--- a/StreamVideoTests/Utilities/Dummy/CallStatsReport+Dummy.swift
+++ b/StreamVideoTests/Utilities/Dummy/CallStatsReport+Dummy.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
extension CallStatsReport {
static func dummy(
diff --git a/StreamVideoTests/Utilities/Dummy/RTCMediaStreamTrack+dummy.swift b/StreamVideoTests/Utilities/Dummy/RTCMediaStreamTrack+dummy.swift
index 61d960bb0..1fae8c1dc 100644
--- a/StreamVideoTests/Utilities/Dummy/RTCMediaStreamTrack+dummy.swift
+++ b/StreamVideoTests/Utilities/Dummy/RTCMediaStreamTrack+dummy.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
extension RTCMediaStreamTrack {
diff --git a/StreamVideoTests/Utils/AudioSession/StreamAudioSessionAdapter_Tests.swift b/StreamVideoTests/Utils/AudioSession/StreamAudioSessionAdapter_Tests.swift
index 81f3955ac..e505c7bbb 100644
--- a/StreamVideoTests/Utils/AudioSession/StreamAudioSessionAdapter_Tests.swift
+++ b/StreamVideoTests/Utils/AudioSession/StreamAudioSessionAdapter_Tests.swift
@@ -4,7 +4,7 @@
import AVFoundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class StreamAudioSessionAdapter_Tests: XCTestCase, @unchecked Sendable {
diff --git a/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift b/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift
index b871b30c2..4b0d22e11 100644
--- a/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift
+++ b/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class StreamRTCAudioSession_Tests: XCTestCase {
diff --git a/StreamVideoTests/Utils/Sorting_Tests.swift b/StreamVideoTests/Utils/Sorting_Tests.swift
index 20ff7087f..37835c68f 100644
--- a/StreamVideoTests/Utils/Sorting_Tests.swift
+++ b/StreamVideoTests/Utils/Sorting_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class Sorting_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/AudioSession_Tests.swift b/StreamVideoTests/WebRTC/AudioSession_Tests.swift
index f38509805..7d57f78df 100644
--- a/StreamVideoTests/WebRTC/AudioSession_Tests.swift
+++ b/StreamVideoTests/WebRTC/AudioSession_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class AudioSession_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/RTCConfiguration_Tests.swift b/StreamVideoTests/WebRTC/RTCConfiguration_Tests.swift
index e806ba4e5..dbd1e6e87 100644
--- a/StreamVideoTests/WebRTC/RTCConfiguration_Tests.swift
+++ b/StreamVideoTests/WebRTC/RTCConfiguration_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class RTCConfiguration_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/Retries_Tests.swift b/StreamVideoTests/WebRTC/Retries_Tests.swift
index d3050b8d9..d79651b4a 100644
--- a/StreamVideoTests/WebRTC/Retries_Tests.swift
+++ b/StreamVideoTests/WebRTC/Retries_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class Retries_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/SFU/Mocks/MockSignalServer.swift b/StreamVideoTests/WebRTC/SFU/Mocks/MockSignalServer.swift
index 7d407f1e4..4cfb6bc21 100644
--- a/StreamVideoTests/WebRTC/SFU/Mocks/MockSignalServer.swift
+++ b/StreamVideoTests/WebRTC/SFU/Mocks/MockSignalServer.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
final class MockSignalServer: SFUSignalService, Mockable, @unchecked Sendable {
typealias FunctionKey = MockFunctionKey
diff --git a/StreamVideoTests/WebRTC/SFU/SFUEventAdapter_Tests.swift b/StreamVideoTests/WebRTC/SFU/SFUEventAdapter_Tests.swift
index a9bddda41..6aa5dfe91 100644
--- a/StreamVideoTests/WebRTC/SFU/SFUEventAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/SFU/SFUEventAdapter_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class SFUEventAdapter_Tests: XCTestCase, @unchecked Sendable {
diff --git a/StreamVideoTests/WebRTC/Statistics/CallStatsReporting_Tests.swift b/StreamVideoTests/WebRTC/Statistics/CallStatsReporting_Tests.swift
index a63d11035..7cb85e9e0 100644
--- a/StreamVideoTests/WebRTC/Statistics/CallStatsReporting_Tests.swift
+++ b/StreamVideoTests/WebRTC/Statistics/CallStatsReporting_Tests.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class CallStatsReporting_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/Statistics/Mocks/MockStreamStatistics.swift b/StreamVideoTests/WebRTC/Statistics/Mocks/MockStreamStatistics.swift
index 6fc8f1b60..d57bfdcc2 100644
--- a/StreamVideoTests/WebRTC/Statistics/Mocks/MockStreamStatistics.swift
+++ b/StreamVideoTests/WebRTC/Statistics/Mocks/MockStreamStatistics.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@dynamicMemberLookup
struct MockStreamStatistics: StreamStatisticsProtocol {
diff --git a/StreamVideoTests/WebRTC/VideoCapturerUtils_Tests.swift b/StreamVideoTests/WebRTC/VideoCapturerUtils_Tests.swift
index 42f2158c3..846cb418d 100644
--- a/StreamVideoTests/WebRTC/VideoCapturerUtils_Tests.swift
+++ b/StreamVideoTests/WebRTC/VideoCapturerUtils_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class VideoCapturerUtils_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/VideoCapturing/StreamVideoCaptureHandler_Tests.swift b/StreamVideoTests/WebRTC/VideoCapturing/StreamVideoCaptureHandler_Tests.swift
index 810686ad9..1b3e28f63 100644
--- a/StreamVideoTests/WebRTC/VideoCapturing/StreamVideoCaptureHandler_Tests.swift
+++ b/StreamVideoTests/WebRTC/VideoCapturing/StreamVideoCaptureHandler_Tests.swift
@@ -4,7 +4,7 @@
import Foundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class StreamVideoCaptureHandler_Tests: XCTestCase, @unchecked Sendable {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/Adapters/ICEAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/Adapters/ICEAdapter_Tests.swift
index fea8e4764..9e7776220 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/Adapters/ICEAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/Adapters/ICEAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class ICEAdapterTests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters_Test.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters_Test.swift
index 34676b174..5d4343d34 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters_Test.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpEncodingParameters_Test.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class RTCRtpEncodingParameters_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit_Tests.swift
index 498df4b9e..723bc1426 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/Extensions/RTCRtpTransceiverInit_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class RTCRtpTransceiverInit_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter_Tests.swift
index 9407a4f9f..5a8d03605 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/AudioMediaAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class AudioMediaAdapter_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter_Tests.swift
index 58a635c72..a70b67d61 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalAudioMediaAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class LocalAudioMediaAdapter_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter_Tests.swift
index dd8a54dae..20f617c48 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalScreenShareMediaAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class LocalScreenShareMediaAdapter_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter_Tests.swift
index 02cd0add3..3d8406e08 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/LocalMediaAdapters/LocalVideoMediaAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class LocalVideoMediaAdapter_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter_Tests.swift
index 01b137cd6..422a9ff9a 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/ScreenShareMediaAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class ScreenShareMediaAdapter_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/AdaptiveVideoCapturePolicy_tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/AdaptiveVideoCapturePolicy_tests.swift
index 040675510..bcfd11f7f 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/AdaptiveVideoCapturePolicy_tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/AdaptiveVideoCapturePolicy_tests.swift
@@ -4,7 +4,7 @@
import AVFoundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class AdaptiveVideoCapturePolicy_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/VideoCapturePolicy_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/VideoCapturePolicy_Tests.swift
index c5610df5d..4bf402796 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/VideoCapturePolicy_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoCapturePolicy/VideoCapturePolicy_Tests.swift
@@ -4,7 +4,7 @@
import AVFoundation
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class VideoCapturePolicy_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter_Tests.swift
index f95544ae1..9e1407758 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/MediaAdapters/VideoMediaAdapter_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
import XCTest
final class VideoMediaAdapter_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator_Tests.swift b/StreamVideoTests/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator_Tests.swift
index ed57da81e..72cb793cf 100644
--- a/StreamVideoTests/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/PeerConnection/RTCPeerConnectionCoordinator_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class RTCPeerConnectionCoordinator_Tests: XCTestCase {
diff --git a/StreamVideoTests/WebRTC/v2/WebRTCCoorindator_Tests.swift b/StreamVideoTests/WebRTC/v2/WebRTCCoorindator_Tests.swift
index 9edfdd726..942cebab4 100644
--- a/StreamVideoTests/WebRTC/v2/WebRTCCoorindator_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/WebRTCCoorindator_Tests.swift
@@ -4,7 +4,7 @@
import Combine
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class WebRTCCoordinator_Tests: XCTestCase, @unchecked Sendable {
diff --git a/StreamVideoTests/WebRTC/v2/WebRTCJoinRequestFactory_Tests.swift b/StreamVideoTests/WebRTC/v2/WebRTCJoinRequestFactory_Tests.swift
index 1c1886693..42d788da1 100644
--- a/StreamVideoTests/WebRTC/v2/WebRTCJoinRequestFactory_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/WebRTCJoinRequestFactory_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class WebRTCJoinRequestFactory_Tests: XCTestCase, @unchecked Sendable {
diff --git a/StreamVideoTests/WebRTC/v2/WebRTCStateAdapter_Tests.swift b/StreamVideoTests/WebRTC/v2/WebRTCStateAdapter_Tests.swift
index 52ce4ade0..48e8adfdb 100644
--- a/StreamVideoTests/WebRTC/v2/WebRTCStateAdapter_Tests.swift
+++ b/StreamVideoTests/WebRTC/v2/WebRTCStateAdapter_Tests.swift
@@ -3,7 +3,7 @@
//
@testable import StreamVideo
-import StreamWebRTC
+import WebRTC
@preconcurrency import XCTest
final class WebRTCStateAdapter_Tests: XCTestCase, @unchecked Sendable {
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index 5b14922a4..64a9b83e9 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -735,7 +735,7 @@ def frameworks_sizes
stream_video_swiftui_size_kb = stream_video_swiftui_size / 1024.0
stream_video_uikit_size = File.size("#{frameworks_path}/StreamVideoUIKit.framework/StreamVideoUIKit")
stream_video_uikit_size_kb = (stream_video_uikit_size + stream_video_swiftui_size) / 1024.0
- stream_web_rtc_size = File.size("#{frameworks_path}/StreamWebRTC.framework/StreamWebRTC")
+ stream_web_rtc_size = File.size("#{frameworks_path}/WebRTC.framework/WebRTC")
stream_web_rtc_size_kb = stream_web_rtc_size / 1024.0
{