pdcarroll / react-kinesis-webrtc

An experimental library of React hooks for the AWS Kinesis WebRTC JavaScript SDK.
ISC License
13 stars 7 forks source link

how to view the remote camera, instead of opening the camera from my local machine ? #21

Open kennyma-eplus opened 1 year ago

kennyma-eplus commented 1 year ago

i setup the code ... but it always ask me to open my camera instead of getting the remote camera

how to do it ?

thanks

pdcarroll commented 1 year ago

@kennyma-eplus Have you omitted the media property from the useViewer configuration object?

https://github.com/pdcarroll/react-kinesis-webrtc/wiki/API#useviewer