boto / boto3

AWS SDK for Python
https://aws.amazon.com/sdk-for-python/
Apache License 2.0
8.84k stars 1.85k forks source link

Boto3 Kinesis WebRTC example #3646

Open guimagcm opened 1 year ago

guimagcm commented 1 year ago

Describe the feature

Hi, friends.

I could not find any example regarding sending mkv or mp4 to kinesis signaling channels using Boto3. Specially if it uses certificates instead of keys.

Could anyone help me with this?

Thanks in advance.

Use Case

All other approaches do not use python.

I wish I could do this using python.

Proposed Solution

Boto3 has an API capable of doing it.

Other Information

No response

Acknowledgements

SDK version used

Kinesis CPP-sdk

Environment details (OS name and version, etc.)

Ubuntu 22.04

tim-finnigan commented 1 year ago

Hi @guimagcm thanks for the feature request. Boto3 provides Client (or "low-level") APIs that provide one-to-one mappings to the underlying HTTP API operations. For example, KinesisVideoSignalingChannels:

Kinesis Video Streams Signaling Service is a intermediate service that establishes a communication channel for discovering peers, transmitting offers and answers in order to establish peer-to-peer connection in webRTC technology.

But I think what you're requesting is something like this: https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-js. It looks like the request for Python support has come up before in issues like this one. You might consider reaching out in that repository for an update, or through AWS Support if you have a support plan. Alternatively I can try to get more information internally. Please let me know how you'd like to proceed.

guimagcm commented 1 year ago

Hi @tim-finnigan, thanks for reaching out.

I already have an implementation of boto3 for streaming videos though streaming channels (not WebRTC).

However, I know that boto3 does the job to establish a connection to kinesis using signaling channels (WebRTC). This implementation that I am seeking is similar to this one: https://qiita.com/sparkgene/items/c027d501e549f8ddc5c8

But instead of sending from webcam, I wish I could stream mkv or mp4 files over WebRTC.

Thank you for your time.