2017-03-28 01:56:41 -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.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
#import "RTCVideoCapturer.h"
|
2017-03-28 01:56:41 -07:00
|
|
|
|
2020-05-04 16:14:32 +02:00
|
|
|
@implementation RTC_OBJC_TYPE (RTCVideoCapturer)
|
2017-04-11 04:50:15 -07:00
|
|
|
|
|
|
|
|
@synthesize delegate = _delegate;
|
2017-03-28 01:56:41 -07:00
|
|
|
|
2025-01-09 02:36:06 -08:00
|
|
|
- (instancetype)initWithDelegate:
|
|
|
|
|
(id<RTC_OBJC_TYPE(RTCVideoCapturerDelegate)>)delegate {
|
2024-08-23 13:51:10 -04:00
|
|
|
self = [super init];
|
|
|
|
|
if (self) {
|
2017-03-28 01:56:41 -07:00
|
|
|
_delegate = delegate;
|
|
|
|
|
}
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@end
|