| Index: webrtc/api/java/src/org/webrtc/RtpParameters.java
|
| diff --git a/webrtc/api/java/src/org/webrtc/AudioSource.java b/webrtc/api/java/src/org/webrtc/RtpParameters.java
|
| similarity index 53%
|
| copy from webrtc/api/java/src/org/webrtc/AudioSource.java
|
| copy to webrtc/api/java/src/org/webrtc/RtpParameters.java
|
| index 99fcad1cf83281a4c1231fed5a71dd7a13b7c80d..4dcdcc403b33be66ed18cc792b07a61b5e85248a 100644
|
| --- a/webrtc/api/java/src/org/webrtc/AudioSource.java
|
| +++ b/webrtc/api/java/src/org/webrtc/RtpParameters.java
|
| @@ -10,12 +10,19 @@
|
|
|
| package org.webrtc;
|
|
|
| +import java.util.List;
|
| +import java.util.LinkedList;
|
| +
|
| /**
|
| - * Java wrapper for a C++ AudioSourceInterface. Used as the source for one or
|
| - * more {@code AudioTrack} objects.
|
| + * The parameters for an {@code RtpSender}, as defined in
|
| + * http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface.
|
| */
|
| -public class AudioSource extends MediaSource {
|
| - public AudioSource(long nativeSource) {
|
| - super(nativeSource);
|
| +public class RtpParameters {
|
| + public static class Encoding { public Integer maxBitrateBps; }
|
| +
|
| + public final LinkedList<Encoding> encodings;
|
| +
|
| + public RtpParameters() {
|
| + encodings = new LinkedList<Encoding>();
|
| }
|
| }
|
|
|