Skip to content
Snippets Groups Projects
Commit 5bc72cf4 authored by Boris Grozev's avatar Boris Grozev
Browse files

Adds an rtpCname field to MediaService.

parent ba5a33be
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,12 @@ public class MediaServiceImpl
private static final String ENCODING_CONFIG_PROP_PREFIX
= "net.java.sip.communicator.impl.neomedia.codec.EncodingConfiguration";
/**
* The value which will be used for the canonical end-point identifier
* (CNAME) in RTCP packets sent by this running instance of libjitsi.
*/
private static final String rtpCname = UUID.randomUUID().toString();
/**
* The <tt>CaptureDevice</tt> user choices such as the default audio and
* video capture devices.
......@@ -1635,6 +1641,14 @@ public static boolean isMediaTypeSupportEnabled(MediaType mediaType)
&& !Boolean.getBoolean(propertyName);
}
/**
* {@inheritDoc}
*/
public String getRtpCname()
{
return rtpCname;
}
/**
* The listener which will be notified for changes in the video container.
* Whether the container is displayable or not we will stop the player
......
......@@ -380,4 +380,14 @@ public Object getVideoPreviewComponent(
* list of listeners interested in notifications from <tt>Recorder</tt>s
*/
public void removeRecorderListener(Recorder.Listener listener);
/**
* Returns the value which will be used for the canonical end-point
* identifier (CNAME) in RTCP packets sent by this running instance of
* libjitsi.
* @return the value which will be used for the canonical end-point
* identifier (CNAME) in RTCP packets sent by this running instance of
* libjitsi.
*/
public String getRtpCname();
}
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