public class AbstractConferenceMember extends org.jitsi.util.event.PropertyChangeNotifier implements ConferenceMember
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALERTING
A Public Switched Telephone Network (PSTN) ALERTING or SIP 180 Ringing
was returned for the outbound call; endpoint is being alerted.
|
static java.lang.String |
CONNECTED
The endpoint is a participant in the conference.
|
static java.lang.String |
DIALING_IN
Endpoint is dialing into the conference, not yet in the roster (probably
being authenticated).
|
static java.lang.String |
DIALING_OUT
Focus has dialed out to connect the endpoint to the conference, but the
endpoint is not yet in the roster (probably being authenticated).
|
static java.lang.String |
DISCONNECTED
The endpoint is not a participant in the conference, and no active dialog
exists between the endpoint and the focus.
|
static java.lang.String |
ON_HOLD
Active signaling dialog exists between an endpoint and a focus, but
endpoint is "on-hold" for this conference, i.e., he/she is neither
"hearing" the conference mix nor is his/her media being mixed in the
conference.
|
static java.lang.String |
PENDING
Endpoint is not yet in the session, but it is anticipated that he/she
will join in the near future.
|
AUDIO_SSRC_PROPERTY_NAME, AUDIO_STATUS_PROPERTY_NAME, DISPLAY_NAME_PROPERTY_NAME, STATE_PROPERTY_NAME, VIDEO_SSRC_PROPERTY_NAME, VIDEO_STATUS_PROPERTY_NAME
Constructor and Description |
---|
AbstractConferenceMember(CallPeer conferenceFocusCallPeer,
java.lang.String address)
Creates an instance of AbstractConferenceMember by specifying
the corresponding conferenceFocusCallPeer, to which this member
is connected.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Returns the protocol address of this ConferenceMember.
|
long |
getAudioSsrc()
Returns the SSRC value associated with this participant;
|
org.jitsi.service.neomedia.MediaDirection |
getAudioStatus()
Gets the status in both directions of the audio RTP stream from the point
of view of this ConferenceMember.
|
CallPeer |
getConferenceFocusCallPeer()
Gets the CallPeer which is the conference focus of this
ConferenceMember.
|
java.lang.String |
getDisplayName()
Returns the display name of this conference member.
|
ConferenceMemberState |
getState()
Returns the state of this conference member.
|
long |
getVideoSsrc()
Returns the SSRC value associated with this participant;
|
org.jitsi.service.neomedia.MediaDirection |
getVideoStatus()
Gets the status in both directions of the video RTP stream from the point
of view of this ConferenceMember.
|
void |
setAudioSsrc(long ssrc)
Sets the audio SSRC identifier of this member.
|
void |
setAudioStatus(org.jitsi.service.neomedia.MediaDirection status)
Sets the status in both directions of the audio RTP stream from the point
of view of this ConferenceMember.
|
void |
setDisplayName(java.lang.String displayName)
Sets the user-friendly display name of this ConferenceMember
in the conference and fires a new PropertyChangeEvent for
the property #DISPLAY_NAME_PROPERTY_NAME.
|
void |
setEndpointStatus(java.lang.String endpointStatus)
Sets the state property of this ConferenceMember by
translating it from its conference-info XML endpoint status.
|
boolean |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
setState(ConferenceMemberState state)
Sets the state of the device and signaling session of this
ConferenceMember in the conference and fires a new
PropertyChangeEvent for the property
#STATE_PROPERTY_NAME.
|
void |
setVideoSsrc(long ssrc)
Sets the video SSRC identifier of this member.
|
void |
setVideoStatus(org.jitsi.service.neomedia.MediaDirection status)
Sets the status in both directions of the video RTP stream from the point
of view of this ConferenceMember.
|
addPropertyChangeListener, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public static final java.lang.String ALERTING
public static final java.lang.String CONNECTED
public static final java.lang.String DIALING_IN
public static final java.lang.String DIALING_OUT
public static final java.lang.String DISCONNECTED
public static final java.lang.String ON_HOLD
public static final java.lang.String PENDING
public AbstractConferenceMember(CallPeer conferenceFocusCallPeer, java.lang.String address)
conferenceFocusCallPeer
- the CallPeer to which this member
is connectedaddress
- the protocol address of this ConferenceMemberjava.lang.NullPointerException
- if conferenceFocusCallPeer or
address is nullpublic java.lang.String getAddress()
getAddress
in interface ConferenceMember
public long getAudioSsrc()
getAudioSsrc
in interface ConferenceMember
public org.jitsi.service.neomedia.MediaDirection getAudioStatus()
getAudioStatus
in interface ConferenceMember
public CallPeer getConferenceFocusCallPeer()
ConferenceMember.getConferenceFocusCallPeer()
.getConferenceFocusCallPeer
in interface ConferenceMember
public java.lang.String getDisplayName()
getDisplayName
in interface ConferenceMember
public ConferenceMemberState getState()
getState
in interface ConferenceMember
public long getVideoSsrc()
getVideoSsrc
in interface ConferenceMember
public org.jitsi.service.neomedia.MediaDirection getVideoStatus()
getVideoStatus
in interface ConferenceMember
public void setAudioSsrc(long ssrc)
ssrc
- the audio SSRC ID to set for this member.public void setAudioStatus(org.jitsi.service.neomedia.MediaDirection status)
status
- the status in both directions of the audio RTP stream from
the point of view of this ConferenceMember. If null,
the method executes as if MediaDirection.INACTIVE
. was specified.public void setDisplayName(java.lang.String displayName)
displayName
- the user-friendly display name of this
ConferenceMember in the conferencepublic void setEndpointStatus(java.lang.String endpointStatus)
endpointStatus
- the conference-info XML endpoint status of this
ConferenceMember indicated by its
conferenceFocusCallPeerpublic boolean setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
public void setState(ConferenceMemberState state)
state
- the state of the device and signaling session of this
ConferenceMember in the conferencepublic void setVideoSsrc(long ssrc)
ssrc
- the video SSRC ID to set for this member.public void setVideoStatus(org.jitsi.service.neomedia.MediaDirection status)
status
- the status in both directions of the video RTP stream from
the point of view of this ConferenceMember. If null,
the method executes as if MediaDirection.INACTIVE
. was specified.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.