public class CallPeerSecurityOnEvent extends CallPeerSecurityStatusEvent
AUDIO_SESSION, VIDEO_SESSION
Constructor and Description |
---|
CallPeerSecurityOnEvent(CallPeer callPeer,
int sessionType,
java.lang.String cipher,
org.jitsi.service.neomedia.SrtpControl srtpControl)
The event constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCipher()
Returns the cipher used for the encryption.
|
org.jitsi.service.neomedia.SrtpControl |
getSecurityController()
Gets the security controller that caused this event.
|
getSessionType
public CallPeerSecurityOnEvent(CallPeer callPeer, int sessionType, java.lang.String cipher, org.jitsi.service.neomedia.SrtpControl srtpControl)
callPeer
- the call peer associated with this eventsessionType
- the type of the session, either
CallPeerSecurityStatusEvent.AUDIO_SESSION
or
CallPeerSecurityStatusEvent.VIDEO_SESSION
cipher
- the cipher used for the encryptionsrtpControl
- the security controller that caused this eventpublic java.lang.String getCipher()
public org.jitsi.service.neomedia.SrtpControl getSecurityController()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.