[jitsi-users] libjitsi with opus


#1

Hi everyone,

I am trying to make the libjitsi examples AVReceive2.java and
AVTransmit2.java work with the OPUS codec, but I can't figure out why it's
not working. The problem is that the media format I'm getting is null.

mediaService.getFormatFactory().createMediaFormat("OPUS");

This is returning null, and I can't figure out why. It works with "PCMU".
Anyone have any ideas?

I would also like to use encryption using zrtp and srtp, and I don't know
where to start. Once I get this working, it might be good to add it to the
examples.


#2

Try lower case "opus".

Boris

···

On 16/01/2017 13:53, Lazar Petrovic wrote:

Hi everyone,

I am trying to make the libjitsi examples AVReceive2.java and
AVTransmit2.java work with the OPUS codec, but I can't figure out why
it's not working. The problem is that the media format I'm getting is null.

mediaService.getFormatFactory().createMediaFormat("OPUS");

This is returning null, and I can't figure out why. It works with
"PCMU". Anyone have any ideas?


#3

Hi everyone,

I am trying to make the libjitsi examples AVReceive2.java and
AVTransmit2.java work with the OPUS codec, but I can't figure out why it's
not working. The problem is that the media format I'm getting is null.

mediaService.getFormatFactory().createMediaFormat("OPUS");

This is returning null, and I can't figure out why. It works with "PCMU".
Anyone have any ideas?

I would also like to use encryption using zrtp and srtp, and I don't know
where to start. Once I get this working, it might be good to add it to the
examples.


#4

Did you try lowercase "opus"?

Boris

···

On 19/01/2017 05:25, Lazar Petrovic wrote:

Hi everyone,

I am trying to make the libjitsi examples AVReceive2.java and
AVTransmit2.java work with the OPUS codec, but I can't figure out why
it's not working. The problem is that the media format I'm getting is null.

mediaService.getFormatFactory().createMediaFormat("OPUS");