Video streaming improvements

This commit is contained in:
Ali
2022-02-27 00:54:32 +04:00
parent fd233a4657
commit c3b36dda43
6 changed files with 47 additions and 26 deletions

View File

@@ -687,7 +687,8 @@ public final class PresentationCallManagerImpl: PresentationCallManager {
peerId: peerId,
isChannel: isChannel,
invite: nil,
joinAsPeerId: nil
joinAsPeerId: nil,
isStream: false
)
strongSelf.updateCurrentGroupCall(call)
strongSelf.currentGroupCallPromise.set(.single(call))
@@ -849,7 +850,8 @@ public final class PresentationCallManagerImpl: PresentationCallManager {
peerId: peerId,
isChannel: isChannel,
invite: invite,
joinAsPeerId: joinAsPeerId
joinAsPeerId: joinAsPeerId,
isStream: initialCall.isStream ?? false
)
strongSelf.updateCurrentGroupCall(call)
strongSelf.currentGroupCallPromise.set(.single(call))