blob: f70e2ad5ee4b83c0b80d4af05e0217c33d02209e [file] [log] [blame]
denicija124a6fc2017-03-31 02:47:29 -07001/*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Niels Möllere4b4de62019-08-09 09:44:19 +020011#import <AppKit/AppKit.h>
denicija124a6fc2017-03-31 02:47:29 -070012
Anders Carlsson37bbf792018-09-05 16:29:27 +020013#import "RTCVideoRenderer.h"
denicija124a6fc2017-03-31 02:47:29 -070014
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020015NS_AVAILABLE_MAC(10.11)
16
Mirko Bonadeie8d57242018-09-17 10:22:56 +020017RTC_OBJC_EXPORT
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020018@interface RTC_OBJC_TYPE (RTCMTLNSVideoView) : NSView <RTC_OBJC_TYPE(RTCVideoRenderer)>
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020019
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020020@property(nonatomic, weak) id<RTC_OBJC_TYPE(RTCVideoViewDelegate)> delegate;
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020021
22+ (BOOL)isMetalAvailable;
23
denicija124a6fc2017-03-31 02:47:29 -070024@end