Skip to content

Commit

Permalink
Update for direct RTSP
Browse files Browse the repository at this point in the history
Note I was having the same issue as described here until I made this change: awslabs/amazon-kinesis-video-streams-producer-sdk-cpp#193
  • Loading branch information
jimmycfa committed Mar 30, 2021
1 parent 2c475af commit c6cb656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc_source/examples-gstreamer-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ These examples demonstrate how to use a GStreamer plugin to stream video from di
The following command creates a GStreamer pipeline on Ubuntu that streams from a network RTSP camera, using the [rtspsrc](https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-rtspsrc.html) GStreamer plugin:

```
$ gst-launch-1.0 rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! kvssink stream-name="YourStreamName" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion"
$ gst-launch-1.0 rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! h264parse ! kvssink stream-name="YourStreamName" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion"
```

### Example 2: Encode and Stream Video from a USB Camera on Ubuntu<a name="examples-gstreamer-plugin-launch-ex2"></a>
Expand Down Expand Up @@ -238,4 +238,4 @@ Start streaming from the camera using the `gst-launch-1.0` command that is appro
**Note**
On macOS, you can only stream video from a network camera when running GStreamer in a Docker container\. Streaming video from a USB camera on macOS in a Docker container is not supported\.

For examples of using the `gst-launch-1.0` command to connect to a local web camera or a network RTSP camera, see [Launch Commands](#examples-gstreamer-plugin-launch)\.
For examples of using the `gst-launch-1.0` command to connect to a local web camera or a network RTSP camera, see [Launch Commands](#examples-gstreamer-plugin-launch)\.

0 comments on commit c6cb656

Please sign in to comment.