Crates.io | gst-client-rs |
lib.rs | gst-client-rs |
version | 0.2.3 |
source | src |
created_at | 2023-01-18 19:18:22.362464 |
updated_at | 2023-03-23 20:20:01.074093 |
description | Provides bindings for the main functionalities of the GStreamer Daemon |
homepage | |
repository | https://github.com/printnanny-rs/gst-client-rs |
max_upload_size | |
id | 761960 |
size | 52,511 |
[ v0.2.0]
Forked from: (https://github.com/ALLATRA-IT/gst-client/tree/master) (changelog)
The GStreamer Daemon Rust Client or gst-client is a Rust package that provides bindings for the main functionalities of the [GStreamer Daemon]. It uses an HTTP to communicate with the daemon.
GStD or GStreamer Daemon by itself is a process that runs independently and exposes a public interface for other processes to communicate with and control the [GStreamer Daemon].
It really simplifies the way of communication with GStreamer and debugging process.
The gst-client simplify communication with GStD based on GStreamer Daemon - HTTP API spec.
For allow GStD use HTTP API need to run it with parameters:
gstd --enable-http-protocol --http-address=0.0.0.0 --http-port=5000
use gst_client::GstClient;
let client = GstClient::build("http://0.0.0.0:5000")?;
let new_pipeline = client.pipeline("new-pipeline").create("playbin")?;
Full API Reference is availeble here.