Play with code.
[toast/stream2beamer.git] / protocols.md
index 4af96fc841b93a35fc9c70c5ed356d78d727e64f..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