Adding components, proper animations and info, video glowing and basic fullscreen

This commit is contained in:
Ilya Yelagov
2022-11-26 13:22:38 +04:00
parent a9ed9202a6
commit 2f9f07d860
5 changed files with 622 additions and 148 deletions

View File

@@ -665,7 +665,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
if call.isStream {
strongSelf.hasGroupCallOnScreenPromise.set(true)
let groupCallController = MediaStreamingControllerImpl(sharedContext: strongSelf, accountContext: call.accountContext, call: call) // MediaStreamComponentController(call: call)
// TODO: remove sharedContext and accountContext from init
let groupCallController = _MediaStreamComponentController(sharedContext: strongSelf, accountContext: call.accountContext, call: call) // MediaStreamComponentController(call: call)ue
groupCallController.onViewDidAppear = { [weak self] in
if let strongSelf = self {
strongSelf.hasGroupCallOnScreenPromise.set(true)