Skip to content

Commit ff198a6

Browse files
authored
Fix WebRTC symbol clash (#709)
Prefixes enums / funcs / constants also. Fixes issue #705
1 parent 1116627 commit ff198a6

29 files changed

+48
-48
lines changed

LiveKitClient.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pod::Spec.new do |spec|
1414

1515
spec.source_files = "Sources/**/*"
1616

17-
spec.dependency("LiveKitWebRTC", "= 125.6422.29")
17+
spec.dependency("LiveKitWebRTC", "= 125.6422.32")
1818
spec.dependency("SwiftProtobuf")
1919
spec.dependency("Logging", "= 1.5.4")
2020
spec.dependency("DequeModule", "= 1.1.4")

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let package = Package(
1818
],
1919
dependencies: [
2020
// LK-Prefixed Dynamic WebRTC XCFramework
21-
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.29"),
21+
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.32"),
2222
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.26.0"),
2323
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"),
2424
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),

Package@swift-5.9.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let package = Package(
2020
],
2121
dependencies: [
2222
// LK-Prefixed Dynamic WebRTC XCFramework
23-
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.29"),
23+
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.32"),
2424
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.29.0"),
2525
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.2"), // 1.6.x requires Swift >=5.8
2626
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),

Package@swift-6.0.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let package = Package(
2020
],
2121
dependencies: [
2222
// LK-Prefixed Dynamic WebRTC XCFramework
23-
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.29"),
23+
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.32"),
2424
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.29.0"),
2525
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.2"), // 1.6.x requires Swift >=5.8
2626
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),

Sources/LiveKit/Audio/AudioDeviceModuleDelegateAdapter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal import LiveKitWebRTC
2626
class AudioDeviceModuleDelegateAdapter: NSObject, LKRTCAudioDeviceModuleDelegate {
2727
weak var audioManager: AudioManager?
2828

29-
func audioDeviceModule(_: LKRTCAudioDeviceModule, didReceiveSpeechActivityEvent speechActivityEvent: RTCSpeechActivityEvent) {
29+
func audioDeviceModule(_: LKRTCAudioDeviceModule, didReceiveSpeechActivityEvent speechActivityEvent: LKRTCSpeechActivityEvent) {
3030
guard let audioManager else { return }
3131
audioManager._state.onMutedSpeechActivity?(audioManager, speechActivityEvent.toLKType())
3232
}

Sources/LiveKit/Audio/AudioEngineObserver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal import LiveKitWebRTC
2222
@_implementationOnly import LiveKitWebRTC
2323
#endif
2424

25-
public let AudioEngineInputMixerNodeKey = kRTCAudioEngineInputMixerNodeKey
25+
public let AudioEngineInputMixerNodeKey = kLKRTCAudioEngineInputMixerNodeKey
2626

2727
/// Do not retain the engine object.
2828
public protocol AudioEngineObserver: NextInvokable, Sendable {

Sources/LiveKit/Audio/DefaultMixerAudioObserver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public final class DefaultMixerAudioObserver: AudioEngineObserver, Loggable {
107107

108108
public func engineWillConnectInput(_ engine: AVAudioEngine, src: AVAudioNode?, dst: AVAudioNode, format: AVAudioFormat, context: [AnyHashable: Any]) -> Int {
109109
// Get the main mixer
110-
guard let mainMixerNode = context[kRTCAudioEngineInputMixerNodeKey] as? AVAudioMixerNode else {
110+
guard let mainMixerNode = context[kLKRTCAudioEngineInputMixerNodeKey] as? AVAudioMixerNode else {
111111
// If failed to get main mixer, call next and return.
112112
return next?.engineWillConnectInput(engine, src: src, dst: dst, format: format, context: context) ?? 0
113113
}

Sources/LiveKit/Audio/Manager/AudioManager+ModuleType.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public enum AudioDeviceModuleType {
2828
}
2929

3030
extension AudioDeviceModuleType {
31-
func toRTCType() -> RTCAudioDeviceModuleType {
31+
func toRTCType() -> LKRTCAudioDeviceModuleType {
3232
switch self {
33-
case .audioEngine: return RTCAudioDeviceModuleType.audioEngine
34-
case .platformDefault: return RTCAudioDeviceModuleType.platformDefault
33+
case .audioEngine: return LKRTCAudioDeviceModuleType.audioEngine
34+
case .platformDefault: return LKRTCAudioDeviceModuleType.platformDefault
3535
}
3636
}
3737
}

Sources/LiveKit/Audio/Manager/AudioManager+MuteMode.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ public extension AudioManager {
6363

6464
@available(*, deprecated, message: "Use `set(muteMode:)` instead")
6565
func setLegacyMuteMode(_ enabled: Bool) throws {
66-
let mode: RTCAudioEngineMuteMode = enabled ? .restartEngine : .voiceProcessing
66+
let mode: LKRTCAudioEngineMuteMode = enabled ? .restartEngine : .voiceProcessing
6767
let result = RTC.audioDeviceModule.setMuteMode(mode)
6868
try checkAdmResult(code: result)
6969
}
7070
}
7171

7272
// MARK: - Internal
7373

74-
extension RTCAudioEngineMuteMode {
74+
extension LKRTCAudioEngineMuteMode {
7575
func toLKType() -> MicrophoneMuteMode {
7676
switch self {
7777
case .voiceProcessing: return .voiceProcessing
@@ -84,7 +84,7 @@ extension RTCAudioEngineMuteMode {
8484
}
8585

8686
extension MicrophoneMuteMode {
87-
func toRTCType() -> RTCAudioEngineMuteMode {
87+
func toRTCType() -> LKRTCAudioEngineMuteMode {
8888
switch self {
8989
case .unknown: return .unknown
9090
case .voiceProcessing: return .voiceProcessing

Sources/LiveKit/Audio/Manager/AudioManager+Testing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal import LiveKitWebRTC
2222

2323
// Only internal testing.
2424
extension AudioManager {
25-
var engineState: RTCAudioEngineState {
25+
var engineState: LKRTCAudioEngineState {
2626
get { RTC.audioDeviceModule.engineState }
2727
set { RTC.audioDeviceModule.engineState = newValue }
2828
}

Sources/LiveKit/Core/RTC.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal import LiveKitWebRTC
2525
private extension Array where Element: LKRTCVideoCodecInfo {
2626
func rewriteCodecsIfNeeded() -> [LKRTCVideoCodecInfo] {
2727
// rewrite H264's profileLevelId to 42e032
28-
let codecs = map { $0.name == kRTCVideoCodecH264Name ? RTC.h264BaselineLevel5CodecInfo : $0 }
28+
let codecs = map { $0.name == kLKRTCVideoCodecH264Name ? RTC.h264BaselineLevel5CodecInfo : $0 }
2929
// logger.log("supportedCodecs: \(codecs.map({ "\($0.name) - \($0.parameters)" }).joined(separator: ", "))", type: Engine.self)
3030
return codecs
3131
}
@@ -66,7 +66,7 @@ actor RTC {
6666
}
6767

6868
// create a new H264 codec with new profileLevelId
69-
return LKRTCVideoCodecInfo(name: kRTCH264CodecName,
69+
return LKRTCVideoCodecInfo(name: kLKRTCH264CodecName,
7070
parameters: ["profile-level-id": profileLevelId.hexString,
7171
"level-asymmetry-allowed": "1",
7272
"packetization-mode": "1"])
@@ -85,8 +85,8 @@ actor RTC {
8585

8686
static let audioProcessingModule: LKRTCDefaultAudioProcessingModule = .init()
8787

88-
static let videoSenderCapabilities = peerConnectionFactory.rtpSenderCapabilities(forKind: kRTCMediaStreamTrackKindVideo)
89-
static let audioSenderCapabilities = peerConnectionFactory.rtpSenderCapabilities(forKind: kRTCMediaStreamTrackKindAudio)
88+
static let videoSenderCapabilities = peerConnectionFactory.rtpSenderCapabilities(forKind: kLKRTCMediaStreamTrackKindVideo)
89+
static let audioSenderCapabilities = peerConnectionFactory.rtpSenderCapabilities(forKind: kLKRTCMediaStreamTrackKindAudio)
9090

9191
static let peerConnectionFactory: LKRTCPeerConnectionFactory = {
9292
// Update pc init lock
@@ -97,7 +97,7 @@ actor RTC {
9797

9898
logger.log("Initializing SSL...", type: Room.self)
9999

100-
RTCInitializeSSL()
100+
LKRTCInitializeSSL()
101101

102102
logger.log("Initializing PeerConnectionFactory...", type: Room.self)
103103

@@ -157,7 +157,7 @@ actor RTC {
157157
try DispatchQueue.liveKitWebRTC.sync { try LKRTCIceCandidate(fromJsonString: fromJsonString) }
158158
}
159159

160-
static func createSessionDescription(type: RTCSdpType, sdp: String) -> LKRTCSessionDescription {
160+
static func createSessionDescription(type: LKRTCSdpType, sdp: String) -> LKRTCSessionDescription {
161161
DispatchQueue.liveKitWebRTC.sync { LKRTCSessionDescription(type: type, sdp: sdp) }
162162
}
163163

Sources/LiveKit/Core/Room+TransportDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal import LiveKitWebRTC
2222
@_implementationOnly import LiveKitWebRTC
2323
#endif
2424

25-
extension RTCPeerConnectionState {
25+
extension LKRTCPeerConnectionState {
2626
var isConnected: Bool {
2727
self == .connected
2828
}
@@ -33,7 +33,7 @@ extension RTCPeerConnectionState {
3333
}
3434

3535
extension Room: TransportDelegate {
36-
func transport(_ transport: Transport, didUpdateState pcState: RTCPeerConnectionState) {
36+
func transport(_ transport: Transport, didUpdateState pcState: LKRTCPeerConnectionState) {
3737
log("target: \(transport.target), connectionState: \(pcState.description)")
3838

3939
// primary connected

Sources/LiveKit/Core/Transport.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ actor Transport: NSObject, Loggable {
3232
nonisolated let target: Livekit_SignalTarget
3333
nonisolated let isPrimary: Bool
3434

35-
var connectionState: RTCPeerConnectionState {
35+
var connectionState: LKRTCPeerConnectionState {
3636
_pc.connectionState
3737
}
3838

@@ -48,7 +48,7 @@ actor Transport: NSObject, Loggable {
4848
_pc.remoteDescription
4949
}
5050

51-
var signalingState: RTCSignalingState {
51+
var signalingState: LKRTCSignalingState {
5252
_pc.signalingState
5353
}
5454

@@ -154,7 +154,7 @@ actor Transport: NSObject, Loggable {
154154
var constraints = [String: String]()
155155
if iceRestart {
156156
log("Restarting ICE...")
157-
constraints[kRTCMediaConstraintsIceRestart] = kRTCMediaConstraintsValueTrue
157+
constraints[kLKRTCMediaConstraintsIceRestart] = kLKRTCMediaConstraintsValueTrue
158158
_isRestartingIce = true
159159
}
160160

@@ -216,7 +216,7 @@ extension Transport {
216216
// MARK: - RTCPeerConnectionDelegate
217217

218218
extension Transport: LKRTCPeerConnectionDelegate {
219-
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange state: RTCPeerConnectionState) {
219+
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange state: LKRTCPeerConnectionState) {
220220
log("[Connect] Transport(\(target)) did update state: \(state.description)")
221221
_delegate.notify { $0.transport(self, didUpdateState: state) }
222222
}
@@ -255,11 +255,11 @@ extension Transport: LKRTCPeerConnectionDelegate {
255255
_delegate.notify { $0.transport(self, didOpenDataChannel: dataChannel) }
256256
}
257257

258-
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange _: RTCIceConnectionState) {}
258+
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange _: LKRTCIceConnectionState) {}
259259
nonisolated func peerConnection(_: LKRTCPeerConnection, didRemove _: LKRTCMediaStream) {}
260-
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange _: RTCSignalingState) {}
260+
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange _: LKRTCSignalingState) {}
261261
nonisolated func peerConnection(_: LKRTCPeerConnection, didAdd _: LKRTCMediaStream) {}
262-
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange _: RTCIceGatheringState) {}
262+
nonisolated func peerConnection(_: LKRTCPeerConnection, didChange _: LKRTCIceGatheringState) {}
263263
nonisolated func peerConnection(_: LKRTCPeerConnection, didRemove _: [LKRTCIceCandidate]) {}
264264
}
265265

Sources/LiveKit/E2EE/E2EEManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class E2EEManager: NSObject, @unchecked Sendable, ObservableObject, Logga
3434

3535
func frameCryptor(_ frameCryptor: LKRTCFrameCryptor,
3636
didStateChangeWithParticipantId participantId: String,
37-
with stateChanged: FrameCryptionState)
37+
with stateChanged: LKRTCFrameCryptorState)
3838
{
3939
// Redirect
4040
target?.frameCryptor(frameCryptor, didStateChangeWithParticipantId: participantId, with: stateChanged)
@@ -174,7 +174,7 @@ public class E2EEManager: NSObject, @unchecked Sendable, ObservableObject, Logga
174174
}
175175

176176
extension E2EEManager {
177-
func frameCryptor(_ frameCryptor: LKRTCFrameCryptor, didStateChangeWithParticipantId participantId: String, with state: FrameCryptionState) {
177+
func frameCryptor(_ frameCryptor: LKRTCFrameCryptor, didStateChangeWithParticipantId participantId: String, with state: LKRTCFrameCryptorState) {
178178
guard let room = _room else {
179179
log("room is nil", .warning)
180180
return

Sources/LiveKit/E2EE/State.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public extension E2EEState {
4848
}
4949
}
5050

51-
extension FrameCryptionState {
51+
extension LKRTCFrameCryptorState {
5252
func toLKType() -> E2EEState {
5353
switch self {
5454
case .new: return .new

Sources/LiveKit/Extensions/CustomStringConvertible.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ extension Track.Source: CustomStringConvertible {
117117
}
118118
}
119119

120-
extension RTCPeerConnectionState {
120+
extension LKRTCPeerConnectionState {
121121
var description: String {
122122
switch self {
123123
case .new: return ".new"

Sources/LiveKit/Extensions/RTCMediaConstraints.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ internal import LiveKitWebRTC
2525
extension LKRTCMediaConstraints {
2626
static let defaultPCConstraints = LKRTCMediaConstraints(
2727
mandatoryConstraints: nil,
28-
optionalConstraints: ["DtlsSrtpKeyAgreement": kRTCMediaConstraintsValueTrue]
28+
optionalConstraints: ["DtlsSrtpKeyAgreement": kLKRTCMediaConstraintsValueTrue]
2929
)
3030
}

Sources/LiveKit/Extensions/RTCVideoCapturerDelegate+Buffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extension Dimensions {
5858
}
5959

6060
extension CGImagePropertyOrientation {
61-
func toRTCRotation() -> RTCVideoRotation {
61+
func toRTCRotation() -> LKRTCVideoRotation {
6262
switch self {
6363
case .up, .upMirrored, .down, .downMirrored: return ._0
6464
case .left, .leftMirrored: return ._90

Sources/LiveKit/Participant/LocalParticipant.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ extension LocalParticipant {
657657
if let rtcDegradationPreference = publishOptions.degradationPreference.toRTCType() {
658658
return NSNumber(value: rtcDegradationPreference.rawValue)
659659
} else if track.source == .screenShareVideo || publishOptions.simulcast {
660-
return NSNumber(value: RTCDegradationPreference.maintainResolution.rawValue)
660+
return NSNumber(value: LKRTCDegradationPreference.maintainResolution.rawValue)
661661
}
662662
return nil
663663
}()

Sources/LiveKit/Protocols/TransportDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ internal import LiveKitWebRTC
2121
#endif
2222

2323
protocol TransportDelegate: AnyObject, Sendable {
24-
func transport(_ transport: Transport, didUpdateState state: RTCPeerConnectionState)
24+
func transport(_ transport: Transport, didUpdateState state: LKRTCPeerConnectionState)
2525
func transport(_ transport: Transport, didGenerateIceCandidate iceCandidate: IceCandidate)
2626
func transport(_ transport: Transport, didOpenDataChannel dataChannel: LKRTCDataChannel)
2727
func transport(_ transport: Transport, didAddTrack track: LKRTCMediaStreamTrack, rtpReceiver: LKRTCRtpReceiver, streams: [LKRTCMediaStream])

Sources/LiveKit/Track/Capturers/VideoCapturer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ extension VideoCapturer {
266266
}
267267

268268
// attempt to determine rotation information if buffer is coming from ReplayKit
269-
var rotation: RTCVideoRotation?
269+
var rotation: LKRTCVideoRotation?
270270
if #available(macOS 11.0, *) {
271271
// Check rotation tags. Extensions see these tags, but `RPScreenRecorder` does not appear to set them.
272272
// On iOS 12.0 and 13.0 rotation tags (other than up) are set by extensions.

Sources/LiveKit/Types/DegradationPreference.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public enum DegradationPreference: Int, Sendable {
3333
}
3434

3535
extension DegradationPreference {
36-
func toRTCType() -> RTCDegradationPreference? {
36+
func toRTCType() -> LKRTCDegradationPreference? {
3737
switch self {
3838
case .auto: return nil
3939
case .disabled: return .disabled

Sources/LiveKit/Types/Dimensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ extension Dimensions {
187187
// MARK: - Convert
188188

189189
extension Dimensions {
190-
func apply(rotation: RTCVideoRotation) -> Dimensions {
190+
func apply(rotation: LKRTCVideoRotation) -> Dimensions {
191191
if rotation == ._90 || rotation == ._270 {
192192
return swapped()
193193
}

Sources/LiveKit/Types/IceTransportPolicy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public enum IceTransportPolicy: Int, Sendable {
3131
}
3232

3333
extension IceTransportPolicy {
34-
func toRTCType() -> RTCIceTransportPolicy {
34+
func toRTCType() -> LKRTCIceTransportPolicy {
3535
switch self {
3636
case .none: return .none
3737
case .relay: return .relay

Sources/LiveKit/Types/SessionDescription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extension LKRTCSessionDescription {
3838

3939
extension Livekit_SessionDescription {
4040
func toRTCType() -> LKRTCSessionDescription {
41-
var sdpType: RTCSdpType
41+
var sdpType: LKRTCSdpType
4242
switch type {
4343
case "answer": sdpType = .answer
4444
case "offer": sdpType = .offer

Sources/LiveKit/Types/SpeechActivityEvent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public enum SpeechActivityEvent {
2525
case ended
2626
}
2727

28-
extension RTCSpeechActivityEvent {
28+
extension LKRTCSpeechActivityEvent {
2929
func toLKType() -> SpeechActivityEvent {
3030
switch self {
3131
case .started: return .started

Sources/LiveKit/Types/VideoRotation.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ public enum VideoRotation: Int, Sendable, Codable {
2727
case _270 = 270
2828
}
2929

30-
extension RTCVideoRotation {
30+
extension LKRTCVideoRotation {
3131
func toLKType() -> VideoRotation {
3232
VideoRotation(rawValue: rawValue)!
3333
}
3434
}
3535

3636
extension VideoRotation {
37-
func toRTCType() -> RTCVideoRotation {
38-
RTCVideoRotation(rawValue: rawValue)!
37+
func toRTCType() -> LKRTCVideoRotation {
38+
LKRTCVideoRotation(rawValue: rawValue)!
3939
}
4040
}

Tests/LiveKitTests/LKTestCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import XCTest
2222
class LKTestCase: XCTestCase {
2323
private static let _globalSetup: Bool = {
2424
LiveKitSDK.setLoggerStandardOutput()
25-
RTCSetMinDebugLogLevel(.info)
25+
LKRTCSetMinDebugLogLevel(.info)
2626
return true
2727
}()
2828

Tests/LiveKitTests/MuteTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct TestEngineStep {
5151
let assert: TestEngineAssert
5252
}
5353

54-
extension RTCAudioEngineState: Swift.CustomStringConvertible {
54+
extension LKRTCAudioEngineState: Swift.CustomStringConvertible {
5555
public var description: String {
5656
"EngineState(" +
5757
"outputEnabled: \(outputEnabled), " +

0 commit comments

Comments
 (0)