Package org.jitsi.service.neomedia
Interface SSRCFactory
-
- All Known Implementing Classes:
SSRCFactoryImpl
public interface SSRCFactoryDeclares a factory of synchronization source (SSRC) identifiers.- Author:
- Lyubomir Marinov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgenerateSSRC(String cause)Generates a new synchronization source (SSRC) identifier.
-
-
-
Method Detail
-
generateSSRC
long generateSSRC(String cause)
Generates a new synchronization source (SSRC) identifier. If the returned synchronization source (SSRC) identifier is found to not be globally unique within the associated RTP session, the method will be invoked again.- Parameters:
cause- a String which specified the cause of the invocation of the method- Returns:
- a randomly chosen int value which is to be utilized as a new synchronization source (SSRC) identifier should it be found to be globally unique within the associated RTP session or Long.MAX_VALUE if this SSRCFactory has cancelled the operation
-
-