blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
609 stars 403 forks source link

How to set trackName? #319

Open siyavash4812 opened 4 years ago

siyavash4812 commented 4 years ago

Steps to reproduce

this.refs.twilioVideo.connect({ roomName: this.state.roomName, accessToken: this.state.token, trackName:student-${Date.now()}})

  1. Pass trackName prop to connect function
  2. Start a video call
  3. trackName is not set when getting recording details using twilio's api

Expected behaviour

Tell us what should happen

Track name should be set

Actual behaviour

Tell us what happens instead

Track name is set to default 'camera'

Environment

react-native-twilio-video-webrtc

Version: npm version or "master"

slycoder commented 4 years ago

Hi, I don't think the trackName feature has been implemented anywhere but if you'd like to add it to the bridge a PR would be welcome!

rohit-uf commented 2 years ago

Is there any update on this?