Index: webrtc/api/java/src/org/webrtc/RtpSender.java |
diff --git a/webrtc/api/java/src/org/webrtc/RtpSender.java b/webrtc/api/java/src/org/webrtc/RtpSender.java |
index 3950a59a2d33d402b229ede2a56bcb27d81c3750..2c094ac0d72fa9e5720648a07cf86f2e72d14207 100644 |
--- a/webrtc/api/java/src/org/webrtc/RtpSender.java |
+++ b/webrtc/api/java/src/org/webrtc/RtpSender.java |
@@ -46,6 +46,14 @@ public class RtpSender { |
return cachedTrack; |
} |
+ public boolean setParameters(RtpParameters parameters) { |
+ return nativeSetParameters(nativeRtpSender, parameters); |
+ } |
+ |
+ public RtpParameters getParameters() { |
+ return nativeGetParameters(nativeRtpSender); |
+ } |
+ |
public String id() { |
return nativeId(nativeRtpSender); |
} |
@@ -64,6 +72,11 @@ public class RtpSender { |
// Will be released in dispose() or setTrack(). |
private static native long nativeGetTrack(long nativeRtpSender); |
+ private static native boolean nativeSetParameters(long nativeRtpSender, |
+ RtpParameters parameters); |
+ |
+ private static native RtpParameters nativeGetParameters(long nativeRtpSender); |
+ |
private static native String nativeId(long nativeRtpSender); |
private static native void free(long nativeRtpSender); |