Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libjitsi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZRTP
libjitsi
Commits
5bc72cf4
Commit
5bc72cf4
authored
10 years ago
by
Boris Grozev
Browse files
Options
Downloads
Patches
Plain Diff
Adds an rtpCname field to MediaService.
parent
ba5a33be
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/org/jitsi/impl/neomedia/MediaServiceImpl.java
+14
-0
14 additions, 0 deletions
src/org/jitsi/impl/neomedia/MediaServiceImpl.java
src/org/jitsi/service/neomedia/MediaService.java
+10
-0
10 additions, 0 deletions
src/org/jitsi/service/neomedia/MediaService.java
with
24 additions
and
0 deletions
src/org/jitsi/impl/neomedia/MediaServiceImpl.java
+
14
−
0
View file @
5bc72cf4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/org/jitsi/service/neomedia/MediaService.java
+
10
−
0
View file @
5bc72cf4
...
...
@@ -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
();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment