blob: bc997676dc2b4b12cf33d5c951855e675930a393 [file] [log] [blame]
Alex Naresta5fbc232017-10-18 18:31:07 +02001/*
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/RTCBitrateAllocationStrategy.h"
12
13#include "rtc_base/bitrateallocationstrategy.h"
14#include "rtc_base/checks.h"
15
16@implementation RTCBitrateAllocationStrategy
17
18@synthesize strategy = _strategy;
19
20- (instancetype)initWith:(rtc::BitrateAllocationStrategy*)strategy {
21 RTC_DCHECK(strategy);
22 if (self = [super init]) {
23 _strategy = strategy;
24 }
25 return self;
26}
27
28@end