public interface SrtpListener
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
This is an error message.
|
static int |
INFORMATION
This is a information message.
|
static int |
SEVERE
This is a severe error.
|
static int |
WARNING
This is a warning message.
|
Modifier and Type | Method and Description |
---|---|
void |
securityMessageReceived(java.lang.String message,
java.lang.String i18nMessage,
int severity)
Indicates that a security message has occurred associated with a
failure/warning or information coming from the encryption protocol/secure
transport.
|
void |
securityNegotiationStarted(MediaType mediaType,
SrtpControl sender)
Indicates that we started the process of securing the connection.
|
void |
securityTimeout(MediaType mediaType)
Indicates that the other party has timed out replying to our offer to
secure the connection.
|
void |
securityTurnedOff(MediaType mediaType)
Indicates that the security has been turned off.
|
void |
securityTurnedOn(MediaType mediaType,
java.lang.String cipher,
SrtpControl sender)
Indicates that the security has been turned on.
|
static final int INFORMATION
static final int WARNING
static final int SEVERE
static final int ERROR
void securityTurnedOn(MediaType mediaType, java.lang.String cipher, SrtpControl sender)
mediaType
- the MediaType of the call sessioncipher
- the security cipher that encrypts the callsender
- the control that initiated the event.void securityTurnedOff(MediaType mediaType)
mediaType
- the MediaType of the call sessionvoid securityMessageReceived(java.lang.String message, java.lang.String i18nMessage, int severity)
message
- the message.i18nMessage
- the internationalized messageseverity
- severity levelvoid securityTimeout(MediaType mediaType)
mediaType
- the MediaType of the call sessionvoid securityNegotiationStarted(MediaType mediaType, SrtpControl sender)
mediaType
- the MediaType of the call sessionsender
- the control that initiated the event.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.