aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java b/src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java
index 8dcad68..a520f14 100644
--- a/src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java
+++ b/src/net/java/sip/communicator/impl/neomedia/VideoMediaStreamImpl.java
@@ -17,6 +17,7 @@ import javax.media.rtp.*;
import net.java.sip.communicator.impl.neomedia.codec.*;
import net.java.sip.communicator.impl.neomedia.device.*;
+import net.java.sip.communicator.impl.neomedia.format.*;
import net.java.sip.communicator.service.neomedia.*;
import net.java.sip.communicator.service.neomedia.device.*;
import net.java.sip.communicator.service.neomedia.event.*;
@@ -339,7 +340,10 @@ public class VideoMediaStreamImpl
rtpManager
.addFormat(
format,
- MediaUtils.jmfEncodingToRtpPayloadType(format.getEncoding()));
+ MediaUtils
+ .getRTPPayloadType(
+ format.getEncoding(),
+ VideoMediaFormatImpl.DEFAULT_CLOCK_RATE));
formatsRegisteredOnce = true;
}