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

Fix a bug with negative SSRCs for a stream, reported by Thomas Kuntz.

parent fc804038
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,8 @@ else if (MediaDeviceSession.SSRC_LIST.equals(propertyName)) ...@@ -175,7 +175,8 @@ else if (MediaDeviceSession.SSRC_LIST.equals(propertyName))
/** /**
* Our own SSRC identifier. * Our own SSRC identifier.
*/ */
private long localSourceID = new Random().nextInt(); private long localSourceID = Math.abs(new Random().nextLong())
% Integer.MAX_VALUE;
/** /**
* The list of CSRC IDs contributing to the media that this * The list of CSRC IDs contributing to the media that this
......
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