Skip to content

Commit

Permalink
Make some audio config extensions public
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry committed Jan 29, 2025
1 parent 81abc78 commit 80801c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/LiveKit/Types/AudioSessionConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public extension AudioSessionConfiguration {
}
}

extension AudioSessionConfiguration {
public extension AudioSessionConfiguration {
func toRTCType() -> LKRTCAudioSessionConfiguration {

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-13, 14.2, macOS,variant=Mac Catalyst)

cannot use class 'LKRTCAudioSessionConfiguration' here; 'LiveKitWebRTC' has been imported as implementation-only

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-14, 15.4, macOS,variant=Mac Catalyst)

method must be declared <<INTERNAL ERROR: encountered %error in diagnostic text>> because its result uses an internal type

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-13, 14.2, iOS Simulator,OS=17.2,name=iPhone 14 Pro)

cannot use class 'LKRTCAudioSessionConfiguration' here; 'LiveKitWebRTC' has been imported as implementation-only

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-14, 15.4, iOS Simulator,OS=17.5,name=iPhone 15 Pro)

method must be declared <<INTERNAL ERROR: encountered %error in diagnostic text>> because its result uses an internal type

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-14, 15.4, visionOS Simulator,name=Apple Vision Pro)

method must be declared <<INTERNAL ERROR: encountered %error in diagnostic text>> because its result uses an internal type

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-14, 15.4, tvOS Simulator,name=Apple TV)

method must be declared <<INTERNAL ERROR: encountered %error in diagnostic text>> because its result uses an internal type

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-15, 16.2, macOS,variant=Mac Catalyst)

method must be declared internal because its result uses an internal type

Check failure on line 107 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-15, 16.2, iOS Simulator,OS=18.1,name=iPhone 16 Pro)

method must be declared internal because its result uses an internal type
let configuration = LKRTCAudioSessionConfiguration.webRTC()
configuration.category = category.rawValue
Expand All @@ -113,7 +113,7 @@ extension AudioSessionConfiguration {
}
}

extension LKRTCAudioSession {
public extension LKRTCAudioSession {

Check failure on line 116 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-13, 14.2, macOS,variant=Mac Catalyst)

cannot use class 'LKRTCAudioSession' in an extension with public or '@usableFromInline' members; 'LiveKitWebRTC' has been imported as implementation-only

Check failure on line 116 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-13, 14.2, iOS Simulator,OS=17.2,name=iPhone 14 Pro)

cannot use class 'LKRTCAudioSession' in an extension with public or '@usableFromInline' members; 'LiveKitWebRTC' has been imported as implementation-only

Check failure on line 116 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-15, 16.2, macOS,variant=Mac Catalyst)

cannot use class 'LKRTCAudioSession' in an extension with public or '@usableFromInline' members; 'LiveKitWebRTC' was not imported publicly

Check failure on line 116 in Sources/LiveKit/Types/AudioSessionConfiguration.swift

View workflow job for this annotation

GitHub Actions / test (macos-15, 16.2, iOS Simulator,OS=18.1,name=iPhone 16 Pro)

cannot use class 'LKRTCAudioSession' in an extension with public or '@usableFromInline' members; 'LiveKitWebRTC' was not imported publicly
func toAudioSessionConfiguration() -> AudioSessionConfiguration {
AudioSessionConfiguration(category: AVAudioSession.Category(rawValue: category),
categoryOptions: categoryOptions,
Expand Down

0 comments on commit 80801c2

Please sign in to comment.