| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 package org.webrtc; | 11 package org.webrtc; |
| 12 | 12 |
| 13 import java.util.List; |
| 14 import java.util.LinkedList; |
| 15 |
| 13 /** | 16 /** |
| 14 * Java wrapper for a C++ AudioSourceInterface. Used as the source for one or | 17 * The parameters for an {@code RtpSender}, as defined in |
| 15 * more {@code AudioTrack} objects. | 18 * http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface. |
| 16 */ | 19 */ |
| 17 public class AudioSource extends MediaSource { | 20 public class RtpParameters { |
| 18 public AudioSource(long nativeSource) { | 21 public static class Encoding { public Integer maxBitrateBps; } |
| 19 super(nativeSource); | 22 |
| 23 public final LinkedList<Encoding> encodings; |
| 24 |
| 25 public RtpParameters() { |
| 26 encodings = new LinkedList<Encoding>(); |
| 20 } | 27 } |
| 21 } | 28 } |
| OLD | NEW |