public class OperationSetVideoBridgeImpl extends java.lang.Object implements OperationSetVideoBridge, org.jivesoftware.smack.filter.PacketFilter, org.jivesoftware.smack.PacketListener, RegistrationStateChangeListener
|Constructor and Description|
Creates an instance of OperationSetVideoBridgeImpl by specifying the parent ProtocolProviderService announcing this operation set.
|Modifier and Type||Method and Description|
Creates a conference call with the specified callees as call peers via a video bridge provided by the parent Jabber provider.
Invites the callee represented by the specified uri to an already existing call using a video bridge provided by the parent Jabber provider.
Indicates if there's an active video bridge available at this moment.
The method is called by a ProtocolProviderService implementation whenever a change in its registration state has occurred.
public OperationSetVideoBridgeImpl(ProtocolProviderServiceJabberImpl protocolProvider)
protocolProvider- the parent Jabber protocol provider
public boolean accept(org.jivesoftware.smack.packet.Packet packet)
PacketFilter. Determines whether this instance is interested in a specific
Packet. OperationSetVideoBridgeImpl returns true if the specified packet is a
ColibriConferenceIQ; otherwise, false.
packet- the Packet to be determined whether this instance is interested in it
public Call createConfCall(java.lang.String callees) throws OperationFailedException, OperationNotSupportedException
callees- the list of addresses that we should call
OperationFailedException- if establishing the conference call fails
OperationNotSupportedException- if the provider does not have any conferencing features.
public CallPeer inviteCalleeToCall(java.lang.String uri, Call call) throws OperationFailedException, OperationNotSupportedException
uri- the callee to invite to an existing conf call.
call- the call that we should invite the callee to.
OperationFailedException- if inviting the specified callee to the specified call fails
OperationNotSupportedException- if allowing additional callees to a pre-established call is not supported.
public boolean isActive()
public void processPacket(org.jivesoftware.smack.packet.Packet packet)
PacketListener. Notifies this instance that a specific
Packet(which this instance has already expressed interest into by returning true from
accept(Packet)) has been received.
packet- the Packet which has been received and which this instance is given a chance to process
public void registrationStateChanged(RegistrationStateChangeEvent ev)
RegistrationStateChangeListener. Notifies this instance that there has been a change in the RegistrationState of
protocolProvider. Subscribes this instance to
ColibriConferenceIQs as soon as protocolProvider is registered and unsubscribes it as soon as protocolProvider is unregistered.
ev- a RegistrationStateChangeEvent which describes the registration state change.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.