Sign inSign up

bhupiister/awskvswebrtcsink

By bhupiister

•Updated almost 2 years ago

AWS Kinesis WEBRTC on Imx8mp

Image
Internet of things
0

135

bhupiister/awskvswebrtcsink repository overview

Base repo used for building on Engicam NXP imx8mp

https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c
https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/kvswebrtc-sdk-c.html

Pull the image on imx8mp

docker push bhupiister/awskvswebrtcsink:arm64

Run the docker image with camera device and internet sharing flags

docker run -it --name webrtc --network host --device /dev/video2 --device /dev/video3 bhupiister/awskvswebrtcsink:arm64

Attach to it and change the directory to /usr/local/bin/kinesis/build

export AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
export AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
export AWS_KVS_CACERT_PATH=/usr/local/bin/kinesis/certs/cert.pem

One can download the cert.pem, if not provided by the docker image. Its available on the github repo amazon-kinesis-video-streams-webrtc-sdk-c

Run ./samples/kvsWebrtcClientMasterGstSample_cam Channel_name

Right now the kvsWebrtcClientMasterGstSample_cam looks for device /dev/video2. Plan is to make this flexible by passing device as argument.

Tag summary

Content type

Image

Digest

sha256:96dde02ca…

Size

350.8 MB

Last updated

almost 2 years ago

docker pull bhupiister/awskvswebrtcsink:arm64