RTSPConnection.setAcceptCertificateFunc
void setAcceptCertificateFunc(gstrtsp.types.RTSPConnectionAcceptCertificateFunc func)Sets a custom accept-certificate function for checking certificates for validity. This will directly map to #GTlsConnection 's "accept-certificate" signal and be performed after the default checks of #GstRTSPConnection (checking against the #GTlsDatabase with the given #GTlsCertificateFlags) have failed. If no #GTlsDatabase is set on this connection, only func will be called.
Parameters
func | a #GstRTSPConnectionAcceptCertificateFunc to check certificates |