Skip to content

Commit

Permalink
Use custom WebRTC
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Nov 27, 2024
1 parent 1bf0b61 commit becb04c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ fileprivate func content() {
}
}
}

container {
// Get a call object
let call = streamVideo.call(callType: "default", callId: UUID().uuidString)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ final class UnsecureRepository: VoIPTokenHandler {
func save(voIPPushToken: String?) {

}

func currentVoIPPushToken() -> String? {
nil
}
Expand Down Expand Up @@ -279,7 +279,7 @@ protocol VoIPTokenHandler {
}

final class CallKitService {

func reportIncomingCall(
callCid: String,
displayName: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion StreamVideo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8804,7 +8804,7 @@
repositoryURL = "https://github.com/GetStream/stream-video-swift-webrtc";
requirement = {
kind = exactVersion;
version = 114.5735.8;
version = 125.6422.62;
};
};
8423B7542950BB0A00012F8D /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
Expand Down

0 comments on commit becb04c

Please sign in to comment.