mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-18 08:07:56 +01:00

Bug: None Change-Id: I8175ca0f60b6ebccf7aed6a46e8faff3878c2963 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148584 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28817}
24 lines
661 B
Objective-C
24 lines
661 B
Objective-C
/*
|
|
* 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.
|
|
*/
|
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
#import "RTCVideoRenderer.h"
|
|
|
|
NS_AVAILABLE_MAC(10.11)
|
|
|
|
RTC_OBJC_EXPORT
|
|
@interface RTCMTLNSVideoView : NSView <RTCVideoRenderer>
|
|
|
|
@property(nonatomic, weak) id<RTCVideoViewDelegate> delegate;
|
|
|
|
+ (BOOL)isMetalAvailable;
|
|
|
|
@end
|