Initial ad messages implementation

This commit is contained in:
Ali
2021-08-24 19:40:25 +02:00
parent 01d708ef4d
commit 44562a845a
26 changed files with 930 additions and 38 deletions

View File

@@ -2859,14 +2859,14 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
}
}
public func setShouldBeRecording(_ shouldBeRecording: Bool, title: String?) {
public func setShouldBeRecording(_ shouldBeRecording: Bool, title: String?, videoOrientation: Bool?) {
if !self.stateValue.canManageCall {
return
}
if (self.stateValue.recordingStartTimestamp != nil) == shouldBeRecording {
return
}
self.participantsContext?.updateShouldBeRecording(shouldBeRecording, title: title)
self.participantsContext?.updateShouldBeRecording(shouldBeRecording, title: title, videoOrientation: videoOrientation)
}
private func requestCall(movingFromBroadcastToRtc: Bool) {