-
Notifications
You must be signed in to change notification settings - Fork 28
[Enhancement]Improved audio session management #906
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
Merged
ipavlidakis
merged 29 commits into
develop
from
enhancement/improved-audio-session-management
Aug 8, 2025
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d8909de
[Enhancement]Expand applicationState with `.unknown`
ipavlidakis 0225e6d
WIP
ipavlidakis 2120501
More updages
ipavlidakis e52db2a
Expand logging
ipavlidakis 473cc97
fix streamvideo audiosession configuration
ipavlidakis 5cac353
update stateadapter
ipavlidakis a193ffe
Update execution order
ipavlidakis f4b611d
Do not activate session on callkit report
ipavlidakis 7bcd659
Only complete activation from callkit when the app isn't in foreground
ipavlidakis 629155b
Simplified flow
ipavlidakis 412ab9b
trace audiosession events
ipavlidakis 2a8169c
add log
ipavlidakis 9dfd1b2
remove ringingCall
ipavlidakis 8624d6a
update setPrefersNoInterruptionsFromSystemAlerts
ipavlidakis 45e3693
Move activation/deactivation to mainthread and check the callCid of t…
ipavlidakis 71456d3
Add comments
ipavlidakis d5c90bf
RTCAudioStore implementation
ipavlidakis dbd3395
Add comments and clean up
ipavlidakis 432d38f
Fix tests
ipavlidakis 17f69b8
Add tests
ipavlidakis c660c0f
Add RTCAudioStore tests
ipavlidakis cacb2e9
Add stages tests
ipavlidakis bf8c7ed
Fix Xcode 15 compilation error
ipavlidakis 9b20956
Add more tests
ipavlidakis 3a21a9d
Implement handling for audioOutputOn
ipavlidakis 07e9d04
Add tests for audioOutputOn handling
ipavlidakis 123129d
Fix scenario where disabling output with CallKit
ipavlidakis 6d99221
Fix memory leak
ipavlidakis 95b8d12
Update changelog
ipavlidakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// Copyright © 2025 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
/// An enumeration that describes the source from which a call was joined. | ||
/// | ||
/// Use `JoinSource` to indicate whether the join action originated from within | ||
/// the app's own UI or through a system-level interface such as CallKit. | ||
/// This helps distinguish the user's entry point and can be used to customize | ||
/// behavior or analytics based on how the call was initiated. | ||
enum JoinSource { | ||
/// Indicates that the call was joined from within the app's UI. | ||
case inApp | ||
|
||
/// Indicates that the call was joined via CallKit integration. | ||
case callKit | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.