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
Copy file name to clipboardExpand all lines: README.md
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,19 @@ Please install the following additional build tools before proceeding with `./in
36
36
After you've downloaded the code from GitHub, you can build it on Mac OS or Ubuntu using `./install-script` (which is inside the `kinesis-video-native-build` directory).
37
37
38
38
**Important** Change *current working directory* to the `kinesis-video-native-build` directory first. Then run the `./install-script` from that directory.
39
-
39
+
40
40
This will produce the core library, the JNI library, unit tests executable and the sample GStreamer application. The script will download and build the dependent open source components in the 'downloads' directory (within `kinesis-video-native-build` directory)and link against it.
41
-
41
+
42
42
#### Build the binaries using system versions
43
-
The bulk of the install script is building the open source dependencies. The project is based on **CMake**. So the open source components building can be skipped if the system versions can be used for linking.
43
+
The bulk of the install script is building the open source dependencies. The project is based on **CMake**. So the open source components building can be skipped if the system versions can be used for linking.
44
44
45
-
Running
45
+
Running
46
46
47
47
```
48
-
$ cmake .
48
+
$ cmake .
49
49
$ make
50
50
```
51
-
from the `kinesis-video-native-build` directory will build and link the SDK.
51
+
from the `kinesis-video-native-build` directory will build and link the SDK.
52
52
The `./min-install-script` inside the `kinesis-video-native-build` captures these steps for installing the Kinesis Video Streams Producer SDK with the system versions for linking.
53
53
54
54
#### Build the binaries using the dependent libraries from source
@@ -98,14 +98,14 @@ Many platforms come with a cert file with a lot of the well-known public certs i
98
98
## Install Steps for Ubuntu 17.x using apt-get
99
99
The following are the steps to install the build-time prerequisites for Ubuntu 17.x
Run the build script: (within `kinesis-video-native-build` folder)
194
+
Run the build script: (within `kinesis-video-native-build` folder)
195
195
```
196
196
./install-script
197
197
```
@@ -214,10 +214,10 @@ optionally, set `AWS_SESSION_TOKEN` if integrating with temporary token and `AWS
214
214
The GStreamer demo app will be built in `kinesis_video_gstreamer_sample_app` in the `kinesis-video-native-build` directory. Launch it with a stream name and it will start streaming from the camera. The user can also supply a streaming resolution (width and height) through command line arguments.
***A.** If resolution is provided then the sample will try to check if the camera supports that resolution. If it does detect that the camera can supprt the resolution supplied in command line, then streaming starts; else, it will fail with an error msg `Resolution not supported`
220
-
220
+
221
221
***B.** If no resolution is specified, the demo will try to use these three resolutions **1920x1080, 1280x720 and 640x480** in that order (highest resolution first) and will **start streaming** once the camera supported resolution is detected.
222
222
223
223
#### GStreamer RTSP demo application
@@ -240,7 +240,7 @@ Define `HEAP_DEBUG` and `LOG_STREAMING` C-defines by uncommenting the appropriat
240
240
241
241
#### Additional Examples
242
242
243
-
For additional examples on using Kinesis Video Streams Java SDK and Kinesis Video Streams Parsing Library refer:
243
+
For additional examples on using Kinesis Video Streams Java SDK and Kinesis Video Streams Parsing Library refer:
244
244
245
245
##### [Kinesis Video Streams Producer Java SDK](https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-java/blob/master/README.md)
246
246
##### [Kinesis Video Streams Parser Library](https://github.com/aws/amazon-kinesis-video-streams-parser-library/blob/master/README.md)
@@ -253,15 +253,15 @@ For additional examples on using Kinesis Video Streams Java SDK and Kinesis Vid
253
253
### Troubleshooting
254
254
255
255
##### Ubuntu builds link issues
256
-
Ubuntu bulds link against the system versions of the open source component libraries or missing .so files (./start in the kinesis-video-native-build directory shows linkage against system versions of the open source libraries).We are working on providing fix but the immediate steps to remedy is to run
256
+
Ubuntu bulds link against the system versions of the open source component libraries or missing .so files (./start in the kinesis-video-native-build directory shows linkage against system versions of the open source libraries).We are working on providing fix but the immediate steps to remedy is to run
##### Raspberry PI failure to load the camera device.
@@ -272,7 +272,7 @@ $ls /dev/video*
272
272
{not found}
273
273
```
274
274
```
275
-
$vcgencmd get_camera
275
+
$vcgencmd get_camera
276
276
```
277
277
Example output:
278
278
```
@@ -286,7 +286,7 @@ if the driver does not detect the camera then
286
286
$sudo modprobe bcm2835-v4l2
287
287
```
288
288
```
289
-
$ls /dev/video*
289
+
$ls /dev/video*
290
290
{lists the device}
291
291
```
292
292
@@ -301,7 +301,7 @@ $ sudo reboot
301
301
* Raspberry PI GStreamer assertion on gst_value_set_fraction_range_full: assertion 'gst_util_fraction_compare (numerator_start, denominator_start, numerator_end, denominator_end) < 0' failed. The uv4l service running in the background. Kill the service and restart the sample app.
302
302
303
303
304
-
##### Raspberry PI seg fauls after some time running on `libx264.so`.
304
+
##### Raspberry PI seg fauls after some time running on `libx264.so`.
305
305
Rebuilding the `libx264.so` library and **re-linking the demo application** fixes the issue.
306
306
307
307
##### Curl SSL issue - "unable to get local issuer certificate"
@@ -322,6 +322,8 @@ make install
322
322
323
323
324
324
## Release Notes
325
+
#### Release 1.3.0 (15th March 2018)
326
+
* Fixed producer intermittent termination issue for some edge cases involving re-streaming on error.
325
327
#### Release 1.2.3 (1st March 2018)
326
328
* Updated install-script to fix the local certificate trust issue for curl.
327
329
* Added steps in README troubleshooting section for curl trust issues.
0 commit comments