Skip to content
Snippets Groups Projects
Commit 89dc625a authored by Boris Grozev's avatar Boris Grozev
Browse files

Fixes a problem with RTP timestamps not being properly computed for Opus.

parent d2e220c0
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,16 @@ public class JNIEncoder
* <tt>JNIEncoder</tt> instances.
*/
private static final Format[] SUPPORTED_OUTPUT_FORMATS
= new Format[] { new AudioFormat(Constants.OPUS_RTP) };
= new Format[] { new AudioFormat(
Constants.OPUS_RTP,
48000,
Format.NOT_SPECIFIED,
1,
Format.NOT_SPECIFIED,
Format.NOT_SPECIFIED,
Format.NOT_SPECIFIED,
Format.NOT_SPECIFIED,
Format.byteArray) };
/**
* The <tt>Logger</tt> used by this <tt>JNIEncoder</tt> instance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment