mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-05 11:00:54 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
cfd087f7af
@ -2,7 +2,15 @@
|
|||||||
#define OngoingCallContext_h
|
#define OngoingCallContext_h
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
#ifndef WEBRTC_IOS
|
||||||
|
#import <AppKit/AppKit.h>
|
||||||
|
#else
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WEBRTC_IOS
|
||||||
|
#define UIView NSView
|
||||||
|
#endif
|
||||||
|
|
||||||
@interface OngoingCallConnectionDescriptionWebrtc : NSObject
|
@interface OngoingCallConnectionDescriptionWebrtc : NSObject
|
||||||
|
|
||||||
|
@ -1,11 +1,22 @@
|
|||||||
|
#ifndef WEBRTC_IOS
|
||||||
|
#import "OngoingCallThreadLocalContext.h"
|
||||||
|
#else
|
||||||
#import <TgVoip/OngoingCallThreadLocalContext.h>
|
#import <TgVoip/OngoingCallThreadLocalContext.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#import "Instance.h"
|
#import "Instance.h"
|
||||||
#import "InstanceImpl.h"
|
#import "InstanceImpl.h"
|
||||||
#import "VideoCaptureInterface.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/VideoMetalView.h"
|
||||||
#import "platform/darwin/GLVideoView.h"
|
#import "platform/darwin/GLVideoView.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
@implementation OngoingCallConnectionDescriptionWebrtc
|
@implementation OngoingCallConnectionDescriptionWebrtc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user