react-native-twilio-video-webrtc icon indicating copy to clipboard operation
react-native-twilio-video-webrtc copied to clipboard

How to set trackName?

Open siyavash4812 opened this issue 5 years ago • 2 comments

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

  • Node.js version: v12.16.3
  • React Native version: v0.61.5
  • React Native platform + platform version: iOS 13 + Physical device (iPhone X, 7 Plus)

react-native-twilio-video-webrtc

Version: npm version or "master"

siyavash4812 avatar May 31 '20 02:05 siyavash4812

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!

slycoder avatar May 31 '20 06:05 slycoder

Is there any update on this?

rohit-uf avatar Jul 21 '22 10:07 rohit-uf