You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ca7263a fix negotiation error caused by camera with fractional fps
configure omxh264enc's key frame interval and turn off inline SPS/PPS header
ce52eb9 command line args for demo app requires stream_name at the end
897ace1 Docker RTSP demo - Readme instructions
92cc0b8 Running RTSP demo producer within Docker container
readme update for command line args to have stream_name at the end
bfa020b Adding H265 parsing and adaptation support to the generator
cfb6f6a install bison before flex because of dependency issue revealed in amazon linux
12822f7 add cmake path & h264 frames
Refer the **README.md** file in the *docker_native_scripts* folder for running the build and RTSP demo app within Docker container.
235
+
232
236
#### Running C++ Unit tests
233
237
234
238
The executable for **unit tests** will be built in `./start` inside the `kinesis-video-native-build` directory. Launch it and it will run the unit test and kick off dummy frame streaming.
@@ -264,6 +268,21 @@ Ubuntu bulds link against the system versions of the open source component libra
264
268
```
265
269
to rebuild and re-link the project only.
266
270
271
+
##### Library not found error when running the demo application
272
+
If any error similar to the following shows that the library path is not properly set:
273
+
274
+
```
275
+
liblog4cplus-1.2.so.5: cannot open shared object file: No such file or directory
276
+
277
+
```
278
+
To resolve this issue, export the LD_LIBRARY_PATH=`<full path to your sdk cpp directory`>/kinesis-video-native-build/downloads/local/lib. If you have downloaded the CPP SDK in `/opt/awssdk` directory then you can set
*[Getting started with Docker](https://docs.docker.com/get-started/)
8
+
9
+
#### 2. Build Docker image
10
+
Download the `Dockerfile` and `start_rtsp_in_docker.sh` into a folder. Once the Docker is installed and running, you can then build the docker image by using the following command.
11
+
12
+
```
13
+
$ docker build -t rtspdockertest .
14
+
```
15
+
* Get the image id from the previous step (once the build is complete) by running the command `docker images` which will display the Docker images built in your system.
16
+
17
+
```
18
+
$ docker images
19
+
```
20
+
21
+
* Use the **IMAGE_ID** from the output of the previous command (e.g `f97f1a633597` ) :
22
+
23
+
```
24
+
REPOSITORY TAG IMAGE ID CREATED SIZE
25
+
rtspdockertest latest 54f0d65f69b2 Less than a second ago 2.82GB
26
+
27
+
```
28
+
#### Start the Docker container
29
+
---
30
+
31
+
* Start the Kinesis Video Streams Docker container using the following command:
32
+
```
33
+
$ docker run -it <IMAGE_ID> <AWS_ACCESS_KEY_ID> <AWS_SECRET_ACCESS_KEY> <RTSP_URL> <STREAM_NAME>
0 commit comments