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;pub use crate::gstd_types::SuccessResponse;
Modules§
- client
- Defines
GstClientfor communication withGStreamer DaemonAPI. - gstd_
types GStreamer Daemon HTTPAPI structures.- resources
- API endpoints used inside
crate::GstClientfor communication withGStDbased on