Skip to content

mndar/tlsinteraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tlsinteraction

GLib TLS Interaction Example

A TLS Interaction object tested with GStreamer's rtspsrc, souphttpsrc and rtspclientsink.

A simple example

Prepare two GTLSCertificate *:

  1. my_tls_cert: your TLS certificate that the server will verify
  2. ca_tls_cert: the CA's TLS certificate which you use in accept_tls_certificate to verify the server's certificate.

#include "surveillance-tls-interaction.h"

...

...

SurveillanceTlsInteraction *interaction = surveillance_tls_interaction_new (my_tls_cert, ca_tls_cert);

g_object_set (rtspclientsink, "tls-interaction", interaction, NULL);

...

...

About

GLib TLS Interaction Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages