Top |
gchar * | dtls-certificate | Read / Write |
gboolean | dtls-client-mode | Read / Write / Construct Only |
gchar * | dtls-key | Read / Write |
gchar * | dtls-peer-certificate | Read |
OwrIceStates | ice-connection-state | Read |
void owr_session_add_remote_candidate (OwrSession *session
,OwrCandidate *candidate
);
Adds a remote candidate for this session.
void owr_session_force_remote_candidate (OwrSession *session
,OwrCandidate *candidate
);
Forces the transport agent to use the given candidate. Calling this function will disable all further ICE processing. Keep-alives will continue to be sent.
struct OwrSessionClass { GObjectClass parent_class; /* signals */ void (*on_new_candidate)(OwrSession *session, OwrCandidate *candidate); void (*on_candidate_gathering_done)(OwrSession *session); };
The session class.
“dtls-certificate”
property“dtls-certificate” gchar *
The X509 certificate to be used by DTLS (in PEM format). Set to NULL or empty string to disable DTLS.
Flags: Read / Write
Default value: "(auto)"
“dtls-client-mode”
property“dtls-client-mode” gboolean
TRUE if the DTLS connection should be setup using client role.
Flags: Read / Write / Construct Only
Default value: FALSE
“dtls-key”
property“dtls-key” gchar *
The RSA private key to be used by DTLS (in PEM format).
Flags: Read / Write
Default value: "(auto)"
“dtls-peer-certificate”
property“dtls-peer-certificate” gchar *
The X509 certificate of the remote peer, used by DTLS (in PEM format).
Flags: Read
Default value: NULL
“on-candidate-gathering-done”
signalvoid user_function (OwrSession *session, gpointer user_data)
Notify that all candidates have been gathered for a OwrSession
session |
the object which received the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“on-new-candidate”
signalvoid user_function (OwrSession *session, OwrCandidate *candidate, gpointer user_data)
Notify of a new gathered candidate for a OwrSession.
session |
the object which received the signal |
|
candidate |
the candidate gathered |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First