public class ColibriAnalyser
extends java.lang.Object
Constructor and Description |
---|
ColibriAnalyser(ColibriConferenceIQ conferenceStateHolder)
Creates new instance of analyser that will used given Colibri IQ instance
for storing conference state.
|
Modifier and Type | Method and Description |
---|---|
static ColibriConferenceIQ |
getResponseContents(ColibriConferenceIQ conferenceResponse,
java.util.List<ContentPacketExtension> peerContents)
Utility method for extracting info about channels allocated from JVB
response.
|
void |
processChannelAllocResp(ColibriConferenceIQ allocateResponse)
Processes channels allocation response from the JVB and stores info about
new channels in
conferenceState . |
public ColibriAnalyser(ColibriConferenceIQ conferenceStateHolder)
conferenceStateHolder
- the Colibri IQ instance that will be used
for storing conference state.public void processChannelAllocResp(ColibriConferenceIQ allocateResponse)
conferenceState
.allocateResponse
- the Colibri IQ that describes JVB response to
allocate request.public static ColibriConferenceIQ getResponseContents(ColibriConferenceIQ conferenceResponse, java.util.List<ContentPacketExtension> peerContents)
conferenceResponse
- JVB response to allocate channels request.peerContents
- list of peer media contents that has to be matched
with allocated channels.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.