OLD | NEW |
---|---|
(Empty) | |
1 /* | |
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 "webrtc/rtc_base/bitrateallocationstrategy.h" | |
14 #include "webrtc/rtc_base/checks.h" | |
15 | |
16 @implementation RTCBitrateAllocationStrategy | |
17 | |
18 @synthesize strategy = _strategy; | |
19 | |
20 - (instancetype)initWith:(rtc::scoped_refptr<rtc::BitrateAllocationStrategy>)str ategy { | |
stefan-webrtc
2017/09/05 10:42:48
Line length. Or perhaps longer lines are allowed i
alexnarest
2017/09/05 13:37:46
Seems OK for Obj-C
| |
21 RTC_DCHECK(strategy); | |
22 | |
23 _strategy = strategy; | |
24 | |
25 return self; | |
26 } | |
27 | |
28 @end | |
OLD | NEW |