blob: 9d4d99dd7ce8e731e3d9401be86f5df1dc52bb72 [file] [log] [blame]
magjedabb84b82017-03-28 01:56:41 -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
11#import "WebRTC/RTCVideoCapturer.h"
12
magjed24da37b2017-04-11 04:50:15 -070013@implementation RTCVideoCapturer
14
15@synthesize delegate = _delegate;
magjedabb84b82017-03-28 01:56:41 -070016
17- (instancetype)initWithDelegate:(id<RTCVideoCapturerDelegate>)delegate {
magjed24da37b2017-04-11 04:50:15 -070018 NSAssert(delegate != nil, @"delegate cannot be nil");
magjedabb84b82017-03-28 01:56:41 -070019 if (self = [super init]) {
20 _delegate = delegate;
21 }
22 return self;
23}
24
magjedabb84b82017-03-28 01:56:41 -070025@end