Commit graph

378 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
1595972c90 Update Rust dependencies 2019-02-26 19:56:49 +02:00
svangasse
6620b49d50 Java demo (#81)
Added working demo using GStreamer Java bindings
2019-02-26 13:41:15 +01:00
Tim-Philipp Müller
ef7abd54a8 ios: update for gio modules and GTlsBackend changes
Untested, based on https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/103

Fixes https://gitlab.freedesktop.org/gstreamer/gst-examples/issues/5
2019-02-07 11:15:59 +00:00
Matthew Waters
2b3fc175c2 player/qt: move player api wrapper into a qml extension library
A further step is moving the qmlglsink element into an extension so
there is no need for writing any c++ code!
2018-12-12 14:00:48 +11:00
Jason Sun
92bce589d8 Improve building documentation
- Add apt-get install lines for Ubuntu 18.04
- add gstreamer-webrtc-1.0 and gstreamer-sdp-1.0 to CFLAGS
- make the CLAGS match LIBS in Makefile dependencies
2018-11-22 05:23:15 +00:00
Matthew Waters
a63902e621 webrtc: fix data channel usage after requiring a READY webrtcbin
c4fe52395b
7bf18ad258

Fixes https://github.com/centricular/gstwebrtc-demos/issues/55
2018-11-06 15:44:14 +11:00
Mathieu Duponchelle
4df6d21992 sendrecv: port all examples to use a max-bundle policy 2018-10-15 20:46:28 +02:00
Sebastian Dröge
5c4b9a7f53 Update Rust dependencies 2018-10-15 15:54:06 +03:00
Sebastian Dröge
adadc2de63 Add Rust instructions to README.md 2018-10-15 15:53:56 +03:00
Matthew Clark
738e969a06 Add check_plugins() to Python example, matching C and Rust versions 2018-09-24 03:33:11 +00:00
Jan Alexander Steffens (heftig)
fd1d53b04a on_server_message: Do not unref message GBytes
We don't own the reference. Since GLib 2.58, the g_bytes_unref that
follows the signal emission in libsoup loudly complains about the
attempt to underflow the refcount.
2018-09-21 13:12:43 +00:00
Mathieu Duponchelle
547f296293 sendrecv: try to add a data channel 2018-09-21 13:12:16 +00:00
Mathieu Duponchelle
7865c31387 webrtc.js: fix tearing down 2018-09-21 13:12:16 +00:00
Sebastian Dröge
fe6267fe0d Update to releases of glib/gstreamer bindings 2018-09-10 14:06:01 +03:00
H1Gdev
ddb40e9e39 playback/player/android: Update build.gradle
Merge the following fixes from gst-docs
https://bugzilla.gnome.org/show_bug.cgi?id=797070
https://bugzilla.gnome.org/show_bug.cgi?id=797093

https://bugzilla.gnome.org/show_bug.cgi?id=797107
2018-09-10 10:28:17 +03:00
H1Gdev
0e53ae084b playback/player/android: Package name does not correspond to file path
https://bugzilla.gnome.org/show_bug.cgi?id=797079
2018-09-05 10:27:43 +03:00
meldron
dc1163ab95 Fix stun server address
The stun server address has a space as suffix which is not allowed in the rust bindings.
2018-07-26 12:11:37 +00:00
Thibault Saunier
122c4106a4 Implement the demo in C# with GStreamerSharp
Based on https://github.com/ttustonic/GStreamerSharpSamples from
Tomislav Tustonić <ttustonic@outlook.com>
2018-07-11 10:05:38 +00:00
Nirbheek Chauhan
c5e5a7cfd3 Update README.md 2018-07-03 19:26:56 +05:30
Leon Tan
b6300d3b92 Fix bug in Rust sendrecv demo 2018-06-27 22:58:19 +02:00
Matthew Clark
37e8853041 Correct signalling usage instructions 2018-06-27 01:29:54 +00:00
Mathieu Duponchelle
1958814680 webrtc-sendrecv.py: required gstreamer 1.14.2
Addresses #25
2018-06-25 14:45:57 +02:00
Sebastian Dröge
9cf3aa088e General code cleanup of the Rust sendrecv demo
Fewer clones and more borrowing, if let instead of match, match instead
of multiple ifs, insert a few newlines all over the place to make code
less dense, and a few changes to make code a bit more idiomatic.
2018-06-21 13:16:15 +03:00
Sebastian Dröge
2614249149 Fix various clippy warnings in the Rust sendrecv demo 2018-06-21 09:03:18 +03:00
maxmcd
b826f968cb Add --disable-ssl flag to webrtc-sendrecv.c 2018-06-18 09:02:05 +03:00
maxmcd
83b9c4efd7 Add --disable-ssl option to simple-server.py 2018-06-18 09:02:05 +03:00
maxmcd
bb56d6eab7 Add Rust version of sendrecv example
This also comes with a docker image to collect all dependencies and
build everything.

Fixes https://github.com/centricular/gstwebrtc-demos/pull/20
2018-06-18 09:02:05 +03:00
Mathieu Duponchelle
3603899291 webrtc-sendrecv.py: improve debug and documentation 2018-06-11 20:26:07 +02:00
Mathieu Duponchelle
56c17d6487 sendrecv: python version 2018-06-11 18:49:53 +02:00
Olivier Crete
697458e91e Update iOS project for newer XCode and embed-bitcode
Forces the GCC libstdc++ instead of LLVM libc++ and
updates the settings with the new recommended XCode settings.
2018-05-06 10:57:04 +02:00
Stephan Hesse
4e66ccac60 ios player: add HLS test streams from video-dev (Hls.js org) 2018-05-04 14:22:23 +02:00
Stephan Hesse
4a62c09504 ios playback: introduce macro to enable photos/ library
Until now the photo library integration is broken (that API was
deprecated by Apple) and the iTunes integration is better to have
optional to put our test files in the forefront (and have better way to
browse large iTunes libs).
2018-05-04 14:22:23 +02:00
Stephan Hesse
a9a8e36475 ios playback: Xcode project: Force Dwarf debug symbols (build time speedup)
Until now it was using dSYM by default. Each build was taking forever.
2018-05-04 14:22:23 +02:00
Stephan Hesse
30e730bccc ios playback: initialize slider value (position) at 0 at first
Until now the slider was displaying center position before playback was
started.
2018-05-04 14:22:23 +02:00
Stephan Hesse
49c92a9752 ios playback: initialize slider min/max values at zero at first 2018-05-04 14:22:23 +02:00
Stephan Hesse
5188475abd ios playback: remove time_slider.frame forced set (fix for non-functional slider UI)
It's unclear why this line was there, but it renders the slider
unresponsive currently
2018-05-04 14:22:23 +02:00
Philippe Normand
d6c033bf92 playback/android: Update the sample application for GStreamer 1.14
Gradle was also updated to a more recent version. The x86_64 abi
is disabled temporarily due to build failures reported in:
https://bugzilla.gnome.org/show_bug.cgi?id=795454

https://bugzilla.gnome.org/show_bug.cgi?id=795456
2018-04-24 11:11:22 +01:00
Nirbheek Chauhan
bba6c92392 Fix heading levels 2018-04-11 19:04:47 +05:30
Eloi Bail
d6741c1f80 mp-webrtc-sendrecv.c: add missing comma in the list of package required
A comma is missing in the list of package required. Thus the package
'srtprtpmanager' is checked instead of packages srtp and rtpmanager.
2018-04-03 15:04:57 +00:00
Nirbheek Chauhan
ea8e960e29 sendrecv/js: Improve more logging and errors 2018-04-01 01:53:44 +05:30
Nirbheek Chauhan
9cc57d2dd1 sendrecv/js: Fix some null/undefined checks 2018-04-01 01:52:46 +05:30
Nirbheek Chauhan
669d234ebd sendrecv/js: Don't reuse peer_id across sessions
It increases the likelihood of a collision with someone else, and it
was an unintended side-effect anyway.
2018-04-01 01:30:23 +05:30
Nirbheek Chauhan
47bfa3cc27 sendrecv/gst: Add no-op audio/video converters
This reduces the chance that someone will try to change the
audio/video source elements and get an error because they don't know
about the conversion elements. They will be no-ops in the usual case.

Closes https://github.com/centricular/gstwebrtc-demos/issues/8
2018-04-01 01:15:16 +05:30
Nirbheek Chauhan
7c5fbf1aca sendrecv/js: custom getUserMedia constraints
The html page now contains a text area in which the default
constraints will be added and can be edited.

Closes https://github.com/centricular/gstwebrtc-demos/issues/11
2018-04-01 01:10:22 +05:30
Nirbheek Chauhan
fe40c70536 sendrecv/js: Simplify local stream management
Just use the fulfilled value of the promise directly instead of
storing it separately
2018-04-01 01:10:09 +05:30
Nirbheek Chauhan
9f4783fb60 sendrecv/js: Allow overriding peer_id and ws_server
This allows people to easily use a custom peer id or their own server
if the automatic values are not appropriate for them.
2018-04-01 01:10:09 +05:30
Nirbheek Chauhan
3879a5078d sendrecv/js: Explicitly close the local stream when done
This immediately releases the webcam and mic instead of lazily at some
unpredictable time in the future.
2018-04-01 01:10:00 +05:30
Nirbheek Chauhan
3eabe5cb0b sendrecv/js: Make error statuses more prominent
Colour errors in red, and ensure that later status updates don't
overwrite existing error statuses.
2018-04-01 01:09:54 +05:30
Nirbheek Chauhan
bd6deaca46 sendrecv/js: Call getUserMedia on incoming call
Instead of registering it on page load. This will allow us to add an
option for users to override the default constraints later.

This is also generally nicer because the browser won't open the webcam
immediately when you load the page and keep recording from it.
2018-04-01 01:09:46 +05:30
Nirbheek Chauhan
563826deaf sendrecv: Don't set pipeline state if it's NULL
Avoids ugly CRITICAL warnings when erroring out.
2018-03-31 10:28:51 +05:30