Skip to content
Snippets Groups Projects
Commit b5840927 authored by Damian Minkov's avatar Damian Minkov
Browse files

Adds property to enable/disable packetization mode 1 announcing.

parent a56d4ec2
No related branches found
No related tags found
No related merge requests found
......@@ -212,11 +212,20 @@ public class MediaUtils
h264AdvancedAttributes.put("imageattr", createImageAttr(null, res));
// packetization-mode=1
h264FormatParams.put(packetizationMode, "1");
ConfigurationService cfg = LibJitsi.getConfigurationService();
// by default packetization mode 1 is enabled
if ((cfg == null)
|| cfg
.getBoolean(
"net.java.sip.communicator.impl.neomedia" +
".codec.video.h264.packetization-mode-1.enabled",
true))
{
// packetization-mode=1
h264FormatParams.put(packetizationMode, "1");
}
if ((cfg == null)
|| cfg
.getString(
......
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