Remove gstreamer_main_loop().
[toast/stream2beamer.git] / protocols.md
index 0e3f1bcb24dc90a26021c101a58dab0eaabb4e5c..ae5f0f218e3840e338e11ddd4e701829fb06969b 100644 (file)
            -f rtsp -muxdelay 0.1 rtsp://localhost:5545/abc
     gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! video/mpeg, mapping=/stream1 !  rtspclientsink location=rtsp://127.0.0.1:5545/abcd
 
+### OBS (Open Broadcast Studio):
+* Use rtsp://localhost:8554/abc in the recording options with RTSP container format and "start recording" or
+* if using the [rtsp-simple-server](https://github.com/aler9/rtsp-simple-server), enter "rtmp://localhost/abc"
+  in the streaming section and "start streaming". Although RTMP is used for sending to the RTSP server, the RTSP
+  protocol can be used to receive the stream.
+
+### Send to RTSP server via RTMP
+
+* https://forums.developer.nvidia.com/t/how-to-publish-x264-encode-data-to-rtmpsink-in-gstreamer/64288/5
+
+    gst-launch-1.0 -v videotestsrc ! x264enc ! 'video/x-h264,stream-format=(string)avc' ! flvmux ! rtmpsink  location=rtmp://sirius:1935/gregoa
 
 ## Receiving stream via RTSP
 
@@ -28,3 +39,7 @@
   * Error handling SETUP: Can't call method "get_stream" on an undefined value at /usr/share/perl5/RTSP/Server/Client/Connection.pm line 100.
   * RTSP/Server/Connection.pm:332, function get_mount
 * https://github.com/aler9/rtsp-simple-server
+  * `make release-nodocker` (optionally after commenting out all unneeded
+    architectures in `Makefile`, and maybe also the call to tar. Cf. ./tmp
+    and ./release afterwards)
+  * Default port for both sources and clients: 8554