Commit graph

3461 commits

Author SHA1 Message Date
Sebastian Dröge
873ddf0de6 Run gstreamer-sdp and gstreamer-webrtc through rustfmt 2018-04-05 21:06:49 +03:00
Sebastian Dröge
2de1f6f7a5 Use correct branches for gstreamer-webrtc for the -sys dependencies 2018-04-05 21:06:49 +03:00
Bo Du
05fec4d927 Free on error. Use pub(crate). Minor fixes. 2018-04-05 21:06:49 +03:00
Bo Du
3ecd67ee46 Address PR comments and fix compilation errors 2018-04-05 21:06:49 +03:00
Bo Du
36d538c0a0 Add SDPMessage definition and other manual SDP definitions. 2018-04-05 21:06:49 +03:00
Bo Du
92016945fc Update auto-gen'ed files. 2018-04-05 21:06:49 +03:00
Sebastian Dröge
3a0c972304 WebRTC/SDP WIP 2018-04-05 21:06:49 +03:00
Sebastian Dröge
9a3ef2e9f1 Regenerate with latest GIR and update for the non-bitflags flags in -sys now 2018-04-04 10:47:12 +03:00
Sebastian Dröge
a9a4608562 Fix doubled Gst dependency and link library for gstreamer-webrtc-sys 2018-04-04 10:29:27 +03:00
Sebastian Dröge
c1ae289fe8 Add ABI tests and generate with latest GIR
This is also getting us rid of bitflags.

The ABI tests are not all succeeding yet.
2018-04-04 10:29:27 +03:00
Sebastian Dröge
0d33dfdcff Update gir-files from 1.14 branch 2018-04-04 10:28:37 +03:00
Sebastian Dröge
492c3d656c Run everything through rustfmt again 2018-04-01 11:57:58 +03:00
Sebastian Dröge
fca0287dec Use ptr::NonNull in various places 2018-04-01 11:29:55 +03:00
Fernando Jiménez Moreno
b6a80b59fa Update homebrew instructions to install optional plugins 2018-03-21 11:54:42 +02:00
Sebastian Dröge
15116d0f98 Update CHANGELOG.md for 0.11.0 2018-03-20 12:47:58 +02:00
Sebastian Dröge
6d5f7337fc Update version to 0.12.0 2018-03-20 12:37:24 +02:00
Sebastian Dröge
f3924399aa Update docs to 1.14.0 2018-03-20 12:36:29 +02:00
Sebastian Dröge
0c4431e68e Add README.md for webrtc library 2018-03-20 12:29:32 +02:00
Sebastian Dröge
8312dd237d Update versions to 0.6.0 2018-03-20 12:05:52 +02:00
Sebastian Dröge
b3b0e5e4ff Update CHANGELOG.md for 0.5.0 2018-03-20 12:05:52 +02:00
Sebastian Dröge
68ba4d23bb Update to using the master branch of gstreamer-sys again 2018-03-20 12:04:16 +02:00
Sebastian Dröge
a6edcf4371 Update .travis.yml for the new 1.14 paths 2018-03-20 11:54:19 +02:00
Sebastian Dröge
a33fd41d02 Regenerate everything with latest gir 2018-03-20 11:52:29 +02:00
Sebastian Dröge
185fdd0226 Update gir-files with gstreamer 1.14.0 2018-03-20 11:51:58 +02:00
Sebastian Dröge
338f1c1768 Update .travis.yml for 1.14 patches 2018-03-20 11:40:52 +02:00
Sebastian Dröge
81dca53767 Update to gstreamer 1.14.0 2018-03-20 10:42:53 +02:00
Sebastian Dröge
7e39cbbfed Update gir-files to gstreamer 1.14.0 release 2018-03-20 10:32:49 +02:00
François Laignel
cd56d60352 Bus::get_pollfd generate doc for both unix & windows
There are different implementations and signatures for `get_pollfd` depending
on whether the target platform is unix or windows. When generating the doc,
we need both implementations to appear regardless of the target platform. This
commit is inspired by the way Rust `std` library deals with `process::Command`
OS dependent variants
(https://doc.rust-lang.org/std/process/struct.Command.html#impl-CommandExt).

Documentation can't be accurate though as we can't use the`std::os::windows`
on `unix` and vice versa. As a workaround a fake fd class matching the other
platform is declared.

This could be further enhanced once `#[doc(cfg(...))]` is stabilized
(https://github.com/rust-lang/rust/issues/43781) by declaring `#[doc(cfg(unix))]`
or `#[doc(cfg(windows))]` instead of the hard coded comments `This is supported
on **Windows/Unix** only`. Unfortunately, these comments disappear when
generating will `--all-features` because they are not part of the documentation
in the gir file.
2018-03-19 13:48:59 +02:00
François Laignel
406eb119d3 message: add test_other_fields
Fixes https://github.com/sdroege/gstreamer-rs/pull/93
2018-03-19 10:32:07 +02:00
Sebastian Dröge
3a755219f4 Add Promise bindings 2018-03-19 10:32:07 +02:00
Sebastian Dröge
0112d22804 Various manual 1.14 API additions and remove deprecated functions 2018-03-19 10:32:07 +02:00
Sebastian Dröge
4864a1e089 Fix build 2018-03-19 10:32:07 +02:00
Sebastian Dröge
7f479b0e14 Use correct gstreamer-sys branch 2018-03-19 10:32:07 +02:00
Sebastian Dröge
1abe9cbeb9 Update gstreamer 2018-03-19 10:32:07 +02:00
Sebastian Dröge
6bd63ec8e7 Update gstreamer-video 2018-03-19 10:32:07 +02:00
Sebastian Dröge
033a391f89 Update gstreamer-sdp 2018-03-19 10:32:07 +02:00
Sebastian Dröge
1cf681f50e Update gstreamer-rtsp 2018-03-19 10:32:07 +02:00
Sebastian Dröge
ba73440a9a Update gstreamer-rtsp-server 2018-03-19 10:32:07 +02:00
Sebastian Dröge
68951d775f Update gstreamer-player 2018-03-19 10:32:07 +02:00
Sebastian Dröge
c4cdcc7b68 Update gstreamer-pbutils 2018-03-19 10:32:07 +02:00
Sebastian Dröge
50505d19b8 Update gstreamer-net 2018-03-19 10:32:07 +02:00
Sebastian Dröge
99d4fe0925 Update gstreamer-base 2018-03-19 10:32:07 +02:00
Sebastian Dröge
a4f1300f72 Update gstreamer-audio 2018-03-19 10:32:07 +02:00
Sebastian Dröge
e3774ad458 Update gstreamer-app 2018-03-19 10:32:07 +02:00
Sebastian Dröge
b25a071145 Update gir-files from gstreamer-sys 2018-03-19 10:32:07 +02:00
François Laignel
88a68dff3e Fix futures crate not being pulled with feature dox
When feature `dox` is selected but not `futures`, the `futures` crate is not
available as a dependency leading to a "can't find crate for `futures`" error.
2018-03-19 10:31:41 +02:00
François Laignel
93442e94dd element: add feature gate for test_call_async
Fixes https://github.com/sdroege/gstreamer-rs/pull/92
2018-03-16 17:51:56 +02:00
Sebastian Dröge
11c974a55e Fix some unused import compiler warnings if using < v1_10 2018-03-16 12:28:20 +02:00
Sebastian Dröge
fc7cda4522 Directly dereference DebugCategory struct to read the threshold and #[inline]
This should improve logging performance if the threshold is not high
enough.
2018-03-16 12:27:36 +02:00
Sebastian Dröge
217a8671a5 More webrtc API fixup 2018-03-15 17:34:40 +02:00