src/net/java/sip/communicator/service/protocol/media/MediaHandler.java
/**
         * Notifies this <tt>PropertyChangeListener</tt> that the value of
         * a specific property of the notifier it is registered with has
         * changed.
         *
         * @param evt a <tt>PropertyChangeEvent</tt> which describes the
         * source of the event, the name of the property which has changed
         * its value and the old and new values of the property
         * @see PropertyChangeListener#propertyChange(PropertyChangeEvent)
         */
Notifies this PropertyChangeListener that the value of
a specific property of the notifier it is registered with has
changed.

@param evt a PropertyChangeEvent which describes the
source of the event, the name of the property which has changed
its value and the old and new values of the property
@see PropertyChangeListener#propertyChange(PropertyChangeEvent)
Notifies this PropertyChangeListener that the value of a specific property of the notifier it is registered with has changed . @param evt a PropertyChangeEvent which describes the source of the event the name of the property which has changed its value and the old and new values of the property @see PropertyChangeListener#propertyChange ( PropertyChangeEvent )
public void propertyChange(PropertyChangeEvent evt)
        {
            String propertyName = evt.getPropertyName();
            if (MediaStream.PNAME_LOCAL_SSRC.equals(propertyName))
            {
                Object source = evt.getSource();
                if (source == audioStream)
                {
                    setLocalSSRC(
                            MediaType.AUDIO,
                            audioStream.getLocalSourceID());
                }
                else if (source == videoStream)
                {
                    setLocalSSRC(
                            MediaType.VIDEO,
                            videoStream.getLocalSourceID());
                }
            }
            else if (MediaStream.PNAME_REMOTE_SSRC.equals(propertyName))
            {
                Object source = evt.getSource();
                if (source == audioStream)
                {
                    setRemoteSSRC(
                            MediaType.AUDIO,
                            audioStream.getRemoteSourceID());
                }
                else if (source == videoStream)
                {
                    setRemoteSSRC(
                            MediaType.VIDEO,
                            videoStream.getRemoteSourceID());
                }
            }
        }
public void propertyChange ( PropertyChangeEvent evt ) { String propertyName = evt . getPropertyName ( ) ; if ( MediaStream . PNAME_LOCAL_SSRC . equals ( propertyName ) ) { Object source = evt . getSource ( ) ; if ( source == audioStream ) { setLocalSSRC ( MediaType . AUDIO , audioStream . getLocalSourceID ( ) ) ; } else if ( source == videoStream ) { setLocalSSRC ( MediaType . VIDEO , videoStream . getLocalSourceID ( ) ) ; } } else if ( MediaStream . PNAME_REMOTE_SSRC . equals ( propertyName ) ) { Object source = evt . getSource ( ) ; if ( source == audioStream ) { setRemoteSSRC ( MediaType . AUDIO , audioStream . getRemoteSourceID ( ) ) ; } else if ( source == videoStream ) { setRemoteSSRC ( MediaType . VIDEO , videoStream . getRemoteSourceID ( ) ) ; } } }
Notifies this <tt>PropertyChangeListener</tt> that the value of
 a specific property of the notifier it is registered with has
 changed.
Notifies this <tt > PropertyChangeListener< / tt > that the value of a specific property of the notifier it is registered with has changed .