1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! Rust client for [`GStreamer Daemon`][1] API.
//!
//! On official [`GStD API documentation`][2] 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")?;
//! ```
//! [1]: https://developer.ridgerun.com/wiki/index.php/GStreamer_Daemon
//! [2]: https://developer.ridgerun.com/wiki/index.php/GStreamer_Daemon_-_C_API
//! [`GstClient`]: client::GstClient
pub use crate::;