Commit graph

24 commits

Author SHA1 Message Date
Carl Karsten
e1de93cf40 Update README.md
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/23>
2020-08-09 20:06:54 +00:00
Matthew Waters
e1c3dad258 webrtc: update for move to gst-examples
- Integrate with the build system.
- Some README updates.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/16>
2020-06-25 18:36:22 +10:00
Nirbheek Chauhan
751d06af6f signalling: Fix simple-server script name in Dockerfile
Fixes https://github.com/centricular/gstwebrtc-demos/issues/202
2020-06-18 23:34:48 +10:00
Nirbheek Chauhan
0776def18c simple_server: asyncio TimeoutError has moved
We didn't notice this because the logging was broken.
2020-06-18 23:34:48 +10:00
Nirbheek Chauhan
77ae10ab66 simple_server: Restart when the certificate changes
Reload the SSL context and restart the server if the certificate
changes. Without this, new connections will continue to use the old
expired certificate.
2020-06-18 23:34:48 +10:00
Nirbheek Chauhan
4761396d87 simple_server: Abstract out ssl context generation 2020-06-18 23:34:48 +10:00
Nirbheek Chauhan
7b96b06752 simple_server: Make the server class loop-aware
First step in making the class able to manage its own state.
2020-06-18 23:34:48 +10:00
Nirbheek Chauhan
b8c1bd1fa3 simple_server: Fix init of websockets log handler
This has changed since the original code was written:
https://websockets.readthedocs.io/en/stable/cheatsheet.html#debugging
2020-06-18 23:34:48 +10:00
Nirbheek Chauhan
78df1ca74c simple_server: Correctly pass health option
It was completely ignored. Also don't de-serialize options. Just parse
them directly in `__init__`. Less error-prone.
2020-06-18 23:34:48 +10:00
Matthew Waters
7445fc4928 signalling/server: python 3.8 asyncio has it's own TimeoutError 2020-05-06 06:01:57 +00:00
Matthew Waters
bc821a85d4 tests: first pass at some basic browser tests 2020-05-06 06:01:57 +00:00
Shane Perry
7b8d466cbb Make health check route configurable 2019-08-12 17:58:30 +00:00
Shane Perry
b60d0d112c Added a basic health check endpoint to the server 2019-08-12 17:58:30 +00:00
Nirbheek Chauhan
7fe9f8e092 signalling/simple-server: Listen on both ipv4 and ipv6 by default
Empty string or `None` mean all interfaces. Specifying 0.0.0.0 means
ipv4 interfaces only.

Fixes https://github.com/centricular/gstwebrtc-demos/issues/120
2019-07-16 02:31:56 +05:30
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 Clark
37e8853041 Correct signalling usage instructions 2018-06-27 01:29:54 +00: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
Nirbheek Chauhan
bba6c92392 Fix heading levels 2018-04-11 19:04:47 +05:30
Nirbheek Chauhan
96e4f39fd8 Update Protocol.md
Fix indentation typos
2017-10-29 04:08:45 +05:30
Nirbheek Chauhan
d687ff3d91 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
2017-10-28 19:20:44 +05:30
Nirbheek Chauhan
2db85c41cc Protocol.md: Fix headings 2017-10-28 19:03:11 +05:30
Nirbheek Chauhan
c2961305e3 signalling/client.py: Rename to session-client.py
Also fix CALL -> SESSION naming
2017-10-28 19:00:03 +05:30
Nirbheek Chauhan
663ad7ba98 Add a simple python3 webrtc signalling server
+ client for testing + protocol documentation
2017-10-21 19:56:52 +05:30