toast/stream2beamer.git
15 months agoReplace blocking function calls with awaits.
Philipp Spitzer [Thu, 9 Jul 2020 20:18:06 +0000 (22:18 +0200)]
Replace blocking function calls with awaits.

15 months agoExit when room closed.
Philipp Spitzer [Thu, 9 Jul 2020 20:17:33 +0000 (22:17 +0200)]
Exit when room closed.

15 months agoReport error messages and EOS from gstreamer bus.
Philipp Spitzer [Thu, 9 Jul 2020 20:17:04 +0000 (22:17 +0200)]
Report error messages and EOS from gstreamer bus.

15 months agoYes, it's as pythonic as such an non-Python object can be.
Philipp Spitzer [Thu, 9 Jul 2020 20:16:26 +0000 (22:16 +0200)]
Yes, it's as pythonic as such an non-Python object can be.

15 months agoClean up imports.
Philipp Spitzer [Thu, 9 Jul 2020 20:15:25 +0000 (22:15 +0200)]
Clean up imports.

15 months agouse xvimagesink (some X11 video sink) instead of the presumably simpler autovideosink
gregor herrmann [Thu, 9 Jul 2020 18:20:38 +0000 (20:20 +0200)]
use xvimagesink (some X11 video sink) instead of the presumably simpler autovideosink

the latter fails if XDG_RUNTIME_DIR is not set.

(in the end we want a different sink anyway, this is just for debugging)

15 months agoGst.Bin.add() wants only one argument
gregor herrmann [Thu, 9 Jul 2020 18:09:41 +0000 (20:09 +0200)]
Gst.Bin.add() wants only one argument

add elements separately.
yes this is surprising.

15 months agoupdate handling of caps in decodebin_pad_added()
gregor herrmann [Thu, 9 Jul 2020 18:07:47 +0000 (20:07 +0200)]
update handling of caps in decodebin_pad_added()

caps is a Gst.Caps object and it has no length:
change assertion to check for caps.get_size()

also caps is no list/not subscriptable, so iterate over its structures.

(the rest is indentation whitespace noise)

15 months ago"handle" roomClosed message
gregor herrmann [Thu, 9 Jul 2020 18:05:21 +0000 (20:05 +0200)]
"handle" roomClosed message

15 months agoRemove debug print.
Philipp Spitzer [Wed, 8 Jul 2020 21:53:10 +0000 (23:53 +0200)]
Remove debug print.

15 months agoRename laplace_client_2.py to lagarde.py
Philipp Spitzer [Wed, 8 Jul 2020 21:41:18 +0000 (23:41 +0200)]
Rename laplace_client_2.py to lagarde.py

15 months agoFirst prototype of a functional laplace client.
Philipp Spitzer [Wed, 8 Jul 2020 21:10:42 +0000 (23:10 +0200)]
First prototype of a functional laplace client.

15 months agoadd more gstreamer webrtc links
gregor herrmann [Wed, 8 Jul 2020 17:15:11 +0000 (19:15 +0200)]
add more gstreamer webrtc links

15 months agochmod +x laplace_client_2.py
gregor herrmann [Tue, 7 Jul 2020 21:24:39 +0000 (23:24 +0200)]
chmod +x laplace_client_2.py

15 months agoPlay with new structure of laplace client.
Philipp Spitzer [Tue, 7 Jul 2020 21:21:28 +0000 (23:21 +0200)]
Play with new structure of laplace client.

15 months agoTypo in filename.
Philipp Spitzer [Tue, 7 Jul 2020 21:20:55 +0000 (23:20 +0200)]
Typo in filename.

15 months agoImprove ICE message we send.
gregor herrmann [Wed, 1 Jul 2020 21:17:56 +0000 (23:17 +0200)]
Improve ICE message we send.

- Dynamically set sdpMid, like browsers do.
- Send a usernameFragment, parsed from the sdp message.

15 months agoAdd script to decode JSON SDP.
Philipp Spitzer [Wed, 1 Jul 2020 17:31:09 +0000 (19:31 +0200)]
Add script to decode JSON SDP.

15 months agoAlign default port number with Laplace.
Philipp Spitzer [Wed, 24 Jun 2020 21:36:14 +0000 (23:36 +0200)]
Align default port number with Laplace.

15 months agoadd back (commented out ) bundle
gregor herrmann [Wed, 24 Jun 2020 21:29:23 +0000 (23:29 +0200)]
add back (commented out ) bundle

and rename *caps variables

15 months agodrop bundle-policy, add audio caps, add data-channel
gregor herrmann [Wed, 24 Jun 2020 21:18:16 +0000 (23:18 +0200)]
drop bundle-policy, add audio caps, add data-channel

15 months agoUse get_offer instead of subscripting for better compatibility.
Philipp Spitzer [Wed, 24 Jun 2020 18:01:16 +0000 (20:01 +0200)]
Use get_offer instead of subscripting for better compatibility.

15 months agoAdd plenty of log messages.
Philipp Spitzer [Wed, 24 Jun 2020 17:58:41 +0000 (19:58 +0200)]
Add plenty of log messages.

16 months agoadd hashbang
gregor herrmann [Thu, 18 Jun 2020 14:46:48 +0000 (16:46 +0200)]
add hashbang

16 months agofix logging
gregor herrmann [Thu, 18 Jun 2020 14:46:36 +0000 (16:46 +0200)]
fix logging

16 months agoStart to work on a laplace client.
Philipp Spitzer [Wed, 17 Jun 2020 22:02:45 +0000 (00:02 +0200)]
Start to work on a laplace client.

16 months agoadd SRT+gstreamer URLs
gregor herrmann [Sat, 13 Jun 2020 19:34:28 +0000 (21:34 +0200)]
add SRT+gstreamer URLs

16 months agoadd link to "new" gst webrtc recvonly example
gregor herrmann [Sun, 7 Jun 2020 16:50:07 +0000 (18:50 +0200)]
add link to "new" gst webrtc recvonly example

16 months agoadd some links on webrtc signaling
gregor herrmann [Sun, 7 Jun 2020 15:54:30 +0000 (17:54 +0200)]
add some links on webrtc signaling

16 months agoadd some information about websocat and v4l2loopback
gregor herrmann [Sun, 7 Jun 2020 15:15:21 +0000 (17:15 +0200)]
add some information about websocat and v4l2loopback

16 months agoadd link re websockets and v4l2sink
gregor herrmann [Sat, 6 Jun 2020 14:28:05 +0000 (16:28 +0200)]
add link re websockets and v4l2sink

16 months agoMore gstreamer examples.
Philipp Spitzer [Wed, 3 Jun 2020 21:19:34 +0000 (23:19 +0200)]
More gstreamer examples.

16 months agomore gstreamer links
gregor herrmann [Sun, 31 May 2020 11:48:45 +0000 (13:48 +0200)]
more gstreamer links

16 months agoadd some gstreamer links. a bit random but maybe helpful.
gregor herrmann [Sat, 30 May 2020 22:32:19 +0000 (00:32 +0200)]
add some gstreamer links. a bit random but maybe helpful.

16 months agoAdd gstreamer "play" example.
Philipp Spitzer [Mon, 25 May 2020 22:22:17 +0000 (00:22 +0200)]
Add gstreamer "play" example.

16 months agoadd another gstreamer link
gregor herrmann [Mon, 25 May 2020 18:23:31 +0000 (20:23 +0200)]
add another gstreamer link

except that `gst-launch-1.0 webrtcsrc …' fails because no webrtcsrc.

16 months agoadd example for laplace start
gregor herrmann [Mon, 25 May 2020 18:22:47 +0000 (20:22 +0200)]
add example for laplace start

17 months agoAdd another GStreamer link.
gregor herrmann [Sun, 24 May 2020 19:33:27 +0000 (21:33 +0200)]
Add another GStreamer link.

17 months agoFurther work on streaming...
Philipp Spitzer [Sat, 23 May 2020 14:49:21 +0000 (16:49 +0200)]
Further work on streaming...

17 months agoStart to write a sort of README how to set up the streaming.
Philipp Spitzer [Sat, 23 May 2020 12:55:26 +0000 (14:55 +0200)]
Start to write a sort of README how to set up the streaming.