Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
# Upcoming

### 🔄 Changed
- Permissions prompts won't show up when moving to background for a call that has already ended but the feedback screen is visible. [#951](https://github.com/GetStream/stream-video-swift/pull/951)

# [1.33.0](https://github.com/GetStream/stream-video-swift/releases/tag/1.33.0)
_September 15, 2025_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@ final class WebRTCPermissionsAdapter: @unchecked Sendable {
}
}

func cleanUp() {
processingQueue.addOperation { [weak self] in
// By emptying the Set we are saying that there are no permissions
// required, so when the app moves to foreground no prompts will
// appear.
self?.requiredPermissions = []
}
}

// MARK: - Private Helpers

/// Requests pending permissions when returning to foreground, if needed.
Expand Down
1 change: 1 addition & 0 deletions Sources/StreamVideo/WebRTC/v2/WebRTCStateAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ actor WebRTCStateAdapter: ObservableObject, StreamAudioSessionAdapterDelegate, W
set(participantPins: [])
trackStorage.removeAll()
audioSession.deactivate()
permissionsAdapter.cleanUp()
}

/// Cleans up the session for reconnection, clearing adapters and tracks.
Expand Down
Loading