-
Notifications
You must be signed in to change notification settings - Fork 30
[Enhancement]Stereo Playout integration #994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: enhancement/hifi/feature-implementation
Are you sure you want to change the base?
[Enhancement]Stereo Playout integration #994
Conversation
Generated by 🚫 Danger |
e2db509 to
e2b021e
Compare
Public Interface- public struct AudioSessionConfiguration: ReflectiveStringConvertible, Equatable, Sendable
+ public struct AudioSessionConfiguration: CustomStringConvertible, Equatable, Sendable
- public static func ==(lhs: Self,rhs: Self)-> Bool
+ public var description: String
+
+
+ public static func ==(lhs: Self,rhs: Self)-> Bool |
SDK Size
|
StreamVideo XCSize
Show 91 more objects
|
StreamVideoSwiftUI XCSize
|
86c4c5f to
3b8bd28
Compare
ebfedd9 to
6b6c886
Compare
# Conflicts: # StreamVideo.xcodeproj/project.pbxproj
3885f72 to
275c58d
Compare
|
|
||
| static var proximityPolicies: Set<ProximityPolicyDebugConfiguration> = { | ||
| [.speaker, .video] | ||
| [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this affecting stereo?
| /// Category options for playback. | ||
| static let playback: AVAudioSession.CategoryOptions = [] | ||
|
|
||
| #if !canImport(AVFoundation, _version: 2360.61.4.11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a bit ugly, and potentially error prone, can we have another way?
| static let playback: AVAudioSession.CategoryOptions = [] | ||
|
|
||
| #if !canImport(AVFoundation, _version: 2360.61.4.11) | ||
| public static let allowBluetoothHFP = Self.allowBluetooth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I read this about HFP: "if your app is for high-quality audio (music, streaming, etc.), HFP is undesirable because it degrades audio quality."
Will it have impact on audio quality?
| options.append(".duckOthers") | ||
| } | ||
|
|
||
| #if canImport(AVFoundation, _version: 2360.61.4.11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same thing here
| mode: .voiceChat, | ||
| options: [ | ||
| .allowBluetooth, | ||
| .allowBluetoothHFP, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be default?
| self.routeSharingPolicy = source.routeSharingPolicy | ||
| self.availableModes = source.availableModes | ||
| self.preferredInput = source.preferredInput.map { .init($0) } ?? nil | ||
| if #available(iOS 17.2, *) { self.renderingMode = "\(source.renderingMode)" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should test this stuff on older iOS versions
| shouldRecord: false, | ||
| isRecording: false, | ||
| isMicrophoneMuted: false, | ||
| isMicrophoneMuted: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we change this?
| _ = audioDeviceModule | ||
| PeerConnectionFactoryStorage.shared.store(self, for: audioProcessingModule) | ||
| // Remove caching | ||
| // PeerConnectionFactoryStorage.shared.store(self, for: audioProcessingModule) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we delete this instead?
| try await setLocalDescription(answer) | ||
| var answer = try await createAnswer() | ||
| if mungeSubscriberStereo { | ||
| let munger = SDPParser() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when's this going to be enabled on the backend so we can remove this code?
🔗 Issue Links
Provide all JIRA tickets and/or GitHub issues related to this PR, if applicable.
🎯 Goal
Describe why we are making this change.
📝 Summary
Provide bullet points with the most important changes in the codebase.
🛠 Implementation
Provide a detailed description of the implementation and explain your decisions if you find them relevant.
TODO
🎨 Showcase
Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.
imgimg🧪 Manual Testing Notes
Explain how this change can be tested manually, if applicable.
☑️ Contributor Checklist
🎁 Meme
Provide a funny gif or image that relates to your work on this pull request. (Optional)