src/net/java/sip/communicator/service/protocol/media/MediaHandler.java
/**
     * Registers with the specified <tt>MediaStream</tt> all RTP extensions
     * negotiated by this <tt>MediaHandler</tt>.
     *
     * @param stream the <tt>MediaStream</tt> that we'd like to register our
     * <tt>RTPExtension</tt>s with.
     * @param rtpExtensions the list of <tt>RTPExtension</tt>s that should be
     * enabled for <tt>stream</tt>.
     */
Registers with the specified MediaStream all RTP extensions
negotiated by this MediaHandler.

@param stream the MediaStream that we'd like to register our
RTPExtensions with.
@param rtpExtensions the list of RTPExtensions that should be
enabled for stream.
Registers with the specified MediaStream all RTP extensions negotiated by this MediaHandler . @param stream the MediaStream that we ' d like to register our RTPExtensions with . @param rtpExtensions the list of RTPExtensions that should be enabled for stream .
private void registerRTPExtensionsWithStream(
            CallPeerMediaHandler<?> callPeerMediaHandler,
            List<RTPExtension> rtpExtensions,
            MediaStream stream)
    {
        DynamicRTPExtensionsRegistry rtpExtensionsRegistry
            = callPeerMediaHandler.getRtpExtensionsRegistry();
        for (RTPExtension rtpExtension : rtpExtensions)
        {
            byte extensionID
                = rtpExtensionsRegistry.getExtensionMapping(rtpExtension);
            stream.addRTPExtension(extensionID, rtpExtension);
        }
    }
private void registerRTPExtensionsWithStream ( CallPeerMediaHandler < ? > callPeerMediaHandler , List < RTPExtension > rtpExtensions , MediaStream stream ) { DynamicRTPExtensionsRegistry rtpExtensionsRegistry = callPeerMediaHandler . getRtpExtensionsRegistry ( ) ; for ( RTPExtension rtpExtension : rtpExtensions ) { byte extensionID = rtpExtensionsRegistry . getExtensionMapping ( rtpExtension ) ; stream . addRTPExtension ( extensionID , rtpExtension ) ; } }
Registers with the specified <tt>MediaStream</tt> all RTP extensions
 negotiated by this <tt>MediaHandler</tt>.
Registers with the specified <tt > MediaStream< / tt > all RTP extensions negotiated by this <tt > MediaHandler< / tt > .