platform/upstream/gstreamer.git
6 years agoDon't use strict ssl certificate checking for localhost
Nirbheek Chauhan [Sat, 31 Mar 2018 04:57:05 +0000 (10:27 +0530)]
Don't use strict ssl certificate checking for localhost

When using localhost signalling servers, we don't want to use
strict ssl because it's probably using a self-signed certificate
and there's no need to do certificate checking over localhost anyway.

6 years agoAdd Makefiles for all C demos
Nirbheek Chauhan [Fri, 23 Mar 2018 06:40:26 +0000 (12:10 +0530)]
Add Makefiles for all C demos

6 years agoFix compiler warnings in all C demos
Nirbheek Chauhan [Fri, 23 Mar 2018 06:35:09 +0000 (12:05 +0530)]
Fix compiler warnings in all C demos

6 years agosendrecv: Fix SDP message format
Nirbheek Chauhan [Fri, 23 Mar 2018 06:06:40 +0000 (11:36 +0530)]
sendrecv: Fix SDP message format

The format is {'sdp': {'sdp': <sdp>, 'type': <sdptype>}}

The multiparty-sendrecv demo already uses this format.

6 years agoFix audio/video linking error on windows
Sebastian Kilb [Wed, 21 Mar 2018 00:56:49 +0000 (01:56 +0100)]
Fix audio/video linking error on windows

Closes https://github.com/centricular/gstwebrtc-demos/issues/5

6 years agoREADME.md: Document the binaries and Cerbero
Nirbheek Chauhan [Sat, 10 Mar 2018 07:51:34 +0000 (13:21 +0530)]
README.md: Document the binaries and Cerbero

Also mention where to file bug reports about the plugin itself.

6 years agoCheck for all necessary plugins at startup
Nirbheek Chauhan [Fri, 9 Mar 2018 20:24:48 +0000 (01:54 +0530)]
Check for all necessary plugins at startup

People seem to be having problems ensuring that they have all the
right plugins built, so make it a bit easier for them.

6 years agoFix crash on Windows by delimiting option entries with NULL
Nirbheek Chauhan [Thu, 8 Mar 2018 14:40:55 +0000 (20:10 +0530)]
Fix crash on Windows by delimiting option entries with NULL

Also use more verbose forms of g_assert which print values on failure

6 years agoREADME: link to blog post, document multiparty example
Nirbheek Chauhan [Sat, 17 Feb 2018 02:40:59 +0000 (08:10 +0530)]
README: link to blog post, document multiparty example

Also add TODO stubs for MCU and SFU

6 years agoREADME: fix formatting
Tim-Philipp Müller [Fri, 2 Feb 2018 08:41:21 +0000 (08:41 +0000)]
README: fix formatting

6 years agowebrtc-sendrecv: define GST_USE_UNSTABLE_API to avoid compiler warnings
Tim-Philipp Müller [Fri, 2 Feb 2018 08:39:04 +0000 (08:39 +0000)]
webrtc-sendrecv: define GST_USE_UNSTABLE_API to avoid compiler warnings

6 years agoUpdate README
Tim-Philipp Müller [Fri, 2 Feb 2018 08:23:30 +0000 (08:23 +0000)]
Update README

Point to upstream repos now that it's been merged

6 years agosendrecv: Add a Google STUN server to the configuration
Nirbheek Chauhan [Tue, 12 Dec 2017 16:10:09 +0000 (21:40 +0530)]
sendrecv: Add a Google STUN server to the configuration

Without this, the example will only work on link-local and localhost
networks.

6 years agoserver/js: also allow running on localhost
Matthew Waters [Wed, 22 Nov 2017 13:21:36 +0000 (00:21 +1100)]
server/js: also allow running on localhost

6 years agoUpdate to new promise API
Mathieu Duponchelle [Wed, 22 Nov 2017 12:15:48 +0000 (13:15 +0100)]
Update to new promise API

6 years agomultiparty sendrecv: Add a queue before the audio sink
Nirbheek Chauhan [Mon, 30 Oct 2017 07:54:21 +0000 (13:24 +0530)]
multiparty sendrecv: Add a queue before the audio sink

Missed this, fixes the bug where removing a peer causes the pipeline to
get stuck. However, when peers leave, there is still a chance that the
pipeline will get stuck.

6 years agoWIP: Add a new multiparty sendrecv gstreamer demo
Nirbheek Chauhan [Mon, 30 Oct 2017 03:39:36 +0000 (09:09 +0530)]
WIP: Add a new multiparty sendrecv gstreamer demo

You can join a room and an audio-only call will be started with all
peers in that room. Currently uses audiotestsrc only.

BUG: With >2 peers in a call, if a peer leaves, the pipeline stops
     outputting data from the remaining peers to the (audio) sink.

TODO: JS code to allow a browser to join the call
TODO: Cleanup pipeline when a peer leaves
TODO: Add ICE servers to allow calls over the Internet
TODO: Perhaps setup a TURN server as well

6 years agosendrecv: Rename function for greater clarity
Nirbheek Chauhan [Mon, 30 Oct 2017 03:42:06 +0000 (09:12 +0530)]
sendrecv: Rename function for greater clarity

6 years agoUpdate Protocol.md
Nirbheek Chauhan [Sat, 28 Oct 2017 22:38:45 +0000 (04:08 +0530)]
Update Protocol.md

Fix indentation typos

6 years agosimple-server: Add support for multi-party rooms
Nirbheek Chauhan [Sat, 28 Oct 2017 13:30:42 +0000 (19:00 +0530)]
simple-server: Add support for multi-party rooms

Also add a new room-client.py to test the protocol which is documented
in Protocol.md

6 years agoProtocol.md: Fix headings
Nirbheek Chauhan [Sat, 28 Oct 2017 13:32:56 +0000 (19:02 +0530)]
Protocol.md: Fix headings

6 years agosignalling/client.py: Rename to session-client.py
Nirbheek Chauhan [Sat, 28 Oct 2017 13:30:03 +0000 (19:00 +0530)]
signalling/client.py: Rename to session-client.py

Also fix CALL -> SESSION naming

6 years agoAdd sendrecv implementation in js and gst webrtc
Nirbheek Chauhan [Sat, 21 Oct 2017 14:27:29 +0000 (19:57 +0530)]
Add sendrecv implementation in js and gst webrtc

JS code runs on the browser and uses the browser's webrtc
implementation.

C code uses gstreamer's webrtc implementation, for which you need the
following repositories:

https://github.com/ystreet/gstreamer/tree/promise
https://github.com/ystreet/gst-plugins-bad/tree/webrtc

You can build these with either Autotools gst-uninstalled:

https://arunraghavan.net/2014/07/quick-start-guide-to-gst-uninstalled-1-x/

Or with Meson gst-build:

https://cgit.freedesktop.org/gstreamer/gst-build/

6 years agoAdd a simple python3 webrtc signalling server
Nirbheek Chauhan [Sat, 21 Oct 2017 14:26:52 +0000 (19:56 +0530)]
Add a simple python3 webrtc signalling server

+ client for testing + protocol documentation

6 years agoInitial commit
Nirbheek Chauhan [Sat, 21 Oct 2017 14:13:01 +0000 (19:43 +0530)]
Initial commit