awslabs / amazon-kinesis-video-streams-webrtc-sdk-c

Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-c/group__PublicMemberFunctions.html
Apache License 2.0
1.01k stars 304 forks source link

[QUESTION] Can I use the WebRTC SDK to stream video from my laptop's webcam to an AWS Kinesis video stream? #1068

Closed anish2591 closed 3 years ago

anish2591 commented 3 years ago

Can I use the WebRTC SDK to stream video from my laptop's webcam to an AWS Kinesis video stream?

Logging Add relevent SDK logging. IMPORTANT NOTE: Please make sure to NOT share AWS access credentials under any circumstance! Please make sure they are not in the logs.

Any design considerations/constraints I would like to use the WebRTC SDK to stream live video into a kinesis video stream. Once the video is in the stream I would like to retrieve it using GetMedia and then store it in my S3 bucket.

If you would not like to open an issue to discuss your solution in open-platform, please email your question to kinesis-video-support@amazon.com

disa6302 commented 3 years ago

@anish2591 ,

Yes. You can stream from your laptop. The Gstreamer sample runs with auto video/audio source. You can get started with the GStreamer master sample

anish2591 commented 3 years ago

@disa6302 Where do I find this sample?

disa6302 commented 3 years ago

https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/blob/master/samples/kvsWebRTCClientMasterGstreamerSample.c

anish2591 commented 3 years ago

Thanks! Is there something similar in Javascript?

disa6302 commented 3 years ago

There is a link to a test page in the JS SDK repository. Please check the test page and the examples folder for samples.