2017-03-31 02:47:29 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-08-09 09:44:19 +02:00
|
|
|
#import <AppKit/AppKit.h>
|
2017-03-31 02:47:29 -07:00
|
|
|
|
2018-09-05 16:29:27 +02:00
|
|
|
#import "RTCVideoRenderer.h"
|
2018-08-30 09:30:29 +02:00
|
|
|
|
2018-09-17 10:22:56 +02:00
|
|
|
RTC_OBJC_EXPORT
|
2020-05-04 16:14:32 +02:00
|
|
|
@interface RTC_OBJC_TYPE (RTCMTLNSVideoView) : NSView <RTC_OBJC_TYPE(RTCVideoRenderer)>
|
2018-08-30 09:30:29 +02:00
|
|
|
|
2020-05-04 16:14:32 +02:00
|
|
|
@property(nonatomic, weak) id<RTC_OBJC_TYPE(RTCVideoViewDelegate)> delegate;
|
2018-08-30 09:30:29 +02:00
|
|
|
|
|
|
|
|
+ (BOOL)isMetalAvailable;
|
2017-03-31 02:47:29 -07:00
|
|
|
|
|
|
|
|
@end
|