[jitsi-dev] Disable audio codec in outgoing INVITE in Jigasi


#1

Hi all,

In sip-communicator.properties, it has the following block,

## To remove a codec from SDP, change the value to 0.

## Increasing codec values means increasing priority of the codec in SDP.

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMU/8000
=650

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.G722/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.GSM/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H263-1998/90000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H264
/90000=0

#net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMA/8000=600

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMA/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/12000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/16000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/24000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.VP8/90000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.iLBC/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.opus/48000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.red/90000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/16000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/32000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.telephone-event/8000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.ulpfec/90000
=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.OVERRIDE_ENCODINGS
=false

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SAVP_OPTION=0

However, the offer in INVITE from Jigasi still has H.264/SILK/G722/SPEEX in
the offer, can you show the source code where the above logic (setting 0 to
remove codec) is executed?

Thanks,

/Kaiduan


#2

You need to set, OVERRIDE_ENCODINGS to true, if it is false the global
settings​ are used.

···

On May 22, 2017 7:43 PM, "Kaiduan Xie" <kaiduanx@gmail.com> wrote:

Hi all,

In sip-communicator.properties, it has the following block,

## To remove a codec from SDP, change the value to 0.

## Increasing codec values means increasing priority of the codec in SDP.

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
PCMU/8000=650

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
G722/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
GSM/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
H263-1998/90000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H264
/90000=0

#net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
PCMA/8000=600

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
PCMA/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
SILK/12000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
SILK/16000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
SILK/24000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
SILK/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
VP8/90000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
iLBC/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
opus/48000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
red/90000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
speex/16000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
speex/32000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
speex/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
telephone-event/8000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.
ulpfec/90000=0

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.OVERRIDE_
ENCODINGS=false

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SAVP_OPTION=0

However, the offer in INVITE from Jigasi still has H.264/SILK/G722/SPEEX in
the offer, can you show the source code where the above logic (setting 0 to
remove codec) is executed?

Thanks,

/Kaiduan

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev