Merge branch 'temp'

# Conflicts:
#	submodules/TgVoipWebrtc/PublicHeaders/TgVoip/OngoingCallThreadLocalContext.h
#	submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm
[skip ci]
This commit is contained in:
overtake 2020-07-15 17:19:22 +03:00
commit 2f3d2ea58a
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