<commit_before>/*
 * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.impl.protocol.jabber.extensions.jingle;

import net.java.sip.communicator.impl.protocol.jabber.extensions.*;
import net.java.sip.communicator.impl.protocol.jabber.extensions.colibri.*;

import java.util.*;

/**
 * Represents <tt>ssrc-group</tt> elements described in XEP-0339.
 *
 * Created by gp on 07/08/14.
 * @author <NAME>
 * @author <NAME>
 */
public class SourceGroupPacketExtension
        extends AbstractPacketExtension
{

    /**
     * The name of the "ssrc-group" element.
     */
    public static final String ELEMENT_NAME = "ssrc-group";

    /**
     * The namespace for the "ssrc-group" element.
     */
    public static final String NAMESPACE = "urn:xmpp:jingle:apps:rtp:ssma:0";

    /**
     * The name of the payload <tt>id</tt> SDP argument.
     */
    public static final String SEMANTICS_ATTR_NAME = "semantics";

    /**
     * The constant used for signaling simulcast semantics.
     */
    public static final String SEMANTICS_SIMULCAST = "SIM";

    /**
     * Return new instance of <tt>SourceGroupPacketExtension</tt> with simulcast
     * semantics pre-configured.
     */
    public static SourceGroupPacketExtension createSimulcastGroup()
    {
        SourceGroupPacketExtension simulcastGroupPe
            = new SourceGroupPacketExtension();

        simulcastGroupPe.setSemantics(SEMANTICS_SIMULCAST);

        return simulcastGroupPe;
    }

    /**
     * Creates a new {@link SourceGroupPacketExtension} instance with the proper
     * element name and namespace.<commit_msg>Adds a constant for FID.<commit_after>/*
 * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.impl.protocol.jabber.extensions.jingle;

import net.java.sip.communicator.impl.protocol.jabber.extensions.*;
import net.java.sip.communicator.impl.protocol.jabber.extensions.colibri.*;

import java.util.*;

/**
 * Represents <tt>ssrc-group</tt> elements described in XEP-0339.
 *
 * Created by gp on 07/08/14.
 * @author <NAME>
 * @author <NAME>
 */
public class SourceGroupPacketExtension
        extends AbstractPacketExtension
{
    /**
     * The name of the "ssrc-group" element.
     */
    public static final String ELEMENT_NAME = "ssrc-group";

    /**
     * The namespace for the "ssrc-group" element.
     */
    public static final String NAMESPACE = "urn:xmpp:jingle:apps:rtp:ssma:0";

    /**
     * The name of the payload <tt>id</tt> SDP argument.
     */
    public static final String SEMANTICS_ATTR_NAME = "semantics";

    /**
     * The constant used for signaling simulcast semantics.
     */
    public static final String SEMANTICS_SIMULCAST = "SIM";

    /**
     * The constant used for flow identification (see RFC5888).
     */
    public static final String SEMANTICS_FID = "FID";

    /**
     * Return new instance of <tt>SourceGroupPacketExtension</tt> with simulcast
     * semantics pre-configured.
     */
    public static SourceGroupPacketExtension createSimulcastGroup()
    {
        SourceGroupPacketExtension simulcastGroupPe
            = new SourceGroupPacketExtension();

        simulcastGroupPe.setSemantics(SEMANTICS_SIMULCAST);

        return simulcastGroupPe;
    }

    /**
     * Creates a new {@link SourceGroupPacketExtension} instance with the proper
     * element name and namespace.
{'fraction_non_alphanumeric': 0.10232038020687727, 'fraction_numerical': 0.00726866088901314, 'mean_word_length': 3.0520951302378254, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3878450', 'n_tokens_mistral': 1120, 'n_tokens_neox': 1055, 'n_words': 281}