| 409 | | |
| | 409 | === Stream |
| | 410 | |
| | 411 | * "gst-cariable-rtsp-server" is the recommended method to use for streaming video, you can download it from our [https://launchpad.net/~gateworks-software/+archive/ubuntu/packages PPA]. |
| | 412 | {{{#!bash |
| | 413 | add-apt-repository ppa:gateworks-software/packages |
| | 414 | apt-get install gst-gateworks-apps |
| | 415 | }}} |
| | 416 | * With this installed test with the following commands: |
| | 417 | {{{#!bash |
| | 418 | #on SBC |
| | 419 | gst-variable-rtsp-server -p 9001 -u "videotestsrc ! jpegenc ! rtpjpegpay name=pay0 pt=96" |
| | 420 | #In this example a test source is used, this can be any source. Other encoding methods can be used as well. |
| | 421 | }}} |
| | 422 | {{{#!bash |
| | 423 | #on Workstation |
| | 424 | gst-launch-1.0 rtspsrc location=rtsp://192.168.1.1:9001/stream latency=10 ! decodebin ! autovideosink |
| | 425 | }}} |
| | 426 | * **Note**: gst-variable-rtsp-server will display the IP 127.0.0.1 when it is launched, this IP is a hard-coded into a print statement in the program and is totally arbitrary—ignore it. |