mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add call video stream api
This commit is contained in:
@@ -888,6 +888,10 @@ public final class PresentationCallImpl: PresentationCall {
|
||||
return self.debugInfoValue.get()
|
||||
}
|
||||
|
||||
func video(isIncoming: Bool) -> Signal<OngoingGroupCallContext.VideoFrameData, NoError>? {
|
||||
return self.ongoingContext?.video(isIncoming: isIncoming)
|
||||
}
|
||||
|
||||
public func makeIncomingVideoView(completion: @escaping (PresentationCallVideoView?) -> Void) {
|
||||
self.ongoingContext?.makeIncomingVideoView(completion: { view in
|
||||
if let view = view {
|
||||
|
||||
Reference in New Issue
Block a user