RTSPConnection.setAcceptCertificateFunc

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.

class RTSPConnection
void
setAcceptCertificateFunc

Parameters

func gstrtsp.types.RTSPConnectionAcceptCertificateFunc

a #GstRTSPConnectionAcceptCertificateFunc to check certificates