Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin 2020-07-15 17:37:35 +03:00
commit cfd087f7af
2 changed files with 19 additions and 0 deletions

View File

@ -2,7 +2,15 @@
#define OngoingCallContext_h
#import <Foundation/Foundation.h>
#ifndef WEBRTC_IOS
#import <AppKit/AppKit.h>
#else
#import <UIKit/UIKit.h>
#endif
#ifndef WEBRTC_IOS
#define UIView NSView
#endif
@interface OngoingCallConnectionDescriptionWebrtc : NSObject

View File

@ -1,11 +1,22 @@
#ifndef WEBRTC_IOS
#import "OngoingCallThreadLocalContext.h"
#else
#import <TgVoip/OngoingCallThreadLocalContext.h>
#endif
#import "Instance.h"
#import "InstanceImpl.h"
#import "VideoCaptureInterface.h"
#ifndef WEBRTC_IOS
#import "platform/darwin/VideoMetalViewMac.h"
#define GLVideoView VideoMetalView
#define UIViewContentModeScaleAspectFill kCAGravityResizeAspectFill
#else
#import "platform/darwin/VideoMetalView.h"
#import "platform/darwin/GLVideoView.h"
#endif
@implementation OngoingCallConnectionDescriptionWebrtc