Crate gst_client
source · [−]Expand description
Rust client for GStreamer Daemon
API.
On official GStD API documentation
page covered all use cases
of the client.
This client is defining API a little bit differently then official but it quite intuitive.
The entry point is GstClient
which encapsulate all communication logic.
Examples
Create new client for http://127.0.0.1:5000
host
use gst_client::GstClient;
let client = GstClient::default();
Create client for specific address
use gst_client::GstClient;
let client = GstClient::build("http://127.0.0.1:5000")?;
Perform operations with Pipeline
use gst_client::GstClient;
let client = GstClient::default();
let new_pipeline = client.pipeline("new-pipeline").create("playbin")?;
Re-exports
pub use crate::client::GstClient;
Modules
Defines GstClient
for communication with
GStreamer Daemon
API.
GStreamer Daemon HTTP
API structures.
API endpoints used inside crate::GstClient
for
communication with GStD
based on