toast/stream2beamer.git
2 weeks agoImprove logging. master
Philipp Spitzer [Wed, 30 Sep 2020 18:08:50 +0000 (20:08 +0200)]
Improve logging.

3 weeks agoAdd wrapper that listens to the availability of the room.
Philipp Spitzer [Tue, 22 Sep 2020 21:29:41 +0000 (23:29 +0200)]
Add wrapper that listens to the availability of the room.

4 weeks agoIt somehow stopped working with theora but now it works with H264...
Philipp Spitzer [Wed, 16 Sep 2020 21:27:17 +0000 (23:27 +0200)]
It somehow stopped working with theora but now it works with H264...

4 weeks agoRemove audio path.
Philipp Spitzer [Wed, 16 Sep 2020 20:12:45 +0000 (22:12 +0200)]
Remove audio path.

4 weeks agoThe two pipelines now successfully communicate via intervideosink/src.
Philipp Spitzer [Wed, 16 Sep 2020 20:02:44 +0000 (22:02 +0200)]
The two pipelines now successfully communicate via intervideosink/src.

4 weeks agoAdd RTSP server with videotestsrc.
Philipp Spitzer [Wed, 16 Sep 2020 19:56:28 +0000 (21:56 +0200)]
Add RTSP server with videotestsrc.

RTSP and WebRTC are both working, but not connected yet.

4 weeks agoAdd more interesting links.
Philipp Spitzer [Wed, 9 Sep 2020 21:17:18 +0000 (23:17 +0200)]
Add more interesting links.

4 weeks agoone more rtsp link
gregor herrmann [Mon, 27 Jul 2020 17:10:28 +0000 (19:10 +0200)]
one more rtsp link

5 weeks agoUse Queue instead of list to communicate.
Philipp Spitzer [Wed, 9 Sep 2020 18:42:38 +0000 (20:42 +0200)]
Use Queue instead of list to communicate.

3 months agoadd another idea: HLS
gregor herrmann [Mon, 20 Jul 2020 21:07:09 +0000 (23:07 +0200)]
add another idea: HLS

3 months agoone more RTSP link
gregor herrmann [Sun, 19 Jul 2020 21:02:19 +0000 (23:02 +0200)]
one more RTSP link

3 months agoone more lik with documentation about udp, rtp, rtsp, …
gregor herrmann [Fri, 17 Jul 2020 11:44:17 +0000 (13:44 +0200)]
one more lik with documentation about udp, rtp, rtsp, …

3 months agoadd gstreamer+rtsp links
gregor herrmann [Thu, 16 Jul 2020 16:31:24 +0000 (18:31 +0200)]
add gstreamer+rtsp links

3 months agoExit and log error if the room was not found.
Philipp Spitzer [Thu, 9 Jul 2020 21:30:24 +0000 (23:30 +0200)]
Exit and log error if the room was not found.

3 months agoOnly catch OSError exceptions instead of all.
Philipp Spitzer [Thu, 9 Jul 2020 21:29:02 +0000 (23:29 +0200)]
Only catch OSError exceptions instead of all.

3 months agowrap websocket connect attemot in try/except
gregor herrmann [Thu, 9 Jul 2020 20:46:09 +0000 (22:46 +0200)]
wrap websocket connect attemot in try/except

3 months agoImprove logging.
Philipp Spitzer [Thu, 9 Jul 2020 20:32:30 +0000 (22:32 +0200)]
Improve logging.

3 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.

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

3 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.

3 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.

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

3 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)

3 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.

3 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)

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

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

3 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

3 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.

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

3 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

3 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.

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

3 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.

3 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.

3 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.

3 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

3 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

3 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.

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

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

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

4 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.

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

4 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

4 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

4 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

4 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

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

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

4 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.

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

4 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.

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

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

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

4 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.