aws-samples / amazon-kinesis-video-streams-demos

A place to add different use cases for different Kinesis Video Stream Assets
Apache License 2.0
73 stars 41 forks source link

Add React and ReactNative webrtc examples #13

Open lherman-cs opened 4 years ago

lherman-cs commented 4 years ago

Related issues: React:

React Native:

matwerber1 commented 3 years ago

I ported this to React here: https://github.com/matwerber1/aws-kinesisvideo-webrtc-react

Demo here: https://matwerber1.github.io/aws-kinesisvideo-webrtc-react/

My React and front-end design skills are not great - so probably room for improvement. But it seems to be working. Hope it helps!

lherman-cs commented 3 years ago

@matwerber1 thanks for sharing!! I'd highly encourage you to open a PR to this repo, and we'll be very happy to review it.

CatsNipYummy commented 3 years ago

Does this work with React Native as well?

matwerber1 commented 3 years ago

@lherman-cs sorry, I missed your earlier message. How would you propose the structure of the PR be? Should I move the React project into a new folder, e.g. aws-samples/amazon-kinesis-video-streams-demos/react-js/*?

@CatsNipYummy I'm a React beginner - and so far, only been working in React JS. Haven't done anything in React Native before, so not sure.