Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video isn't showing to each other #140

Open
ddevilcore opened this issue Jan 20, 2022 · 2 comments
Open

Video isn't showing to each other #140

ddevilcore opened this issue Jan 20, 2022 · 2 comments

Comments

@ddevilcore
Copy link

ddevilcore commented Jan 20, 2022

We're implemented react-native-voximplant for React Native & voximplant-websdk for web and now testing this
Stuck on issue when we're doing audio call and then switch it to video call

Check-list

  1. Is caller sees his camera? - Yes
  2. Is receiver sees his camera? - Yes
  3. Is they're sees each other? - No

Notes

  • The problem happens when we trying to connect Web and phone
  • The problem happens when switch caller from mobile to web and if swap them
  • If we starting our call instantly with with video call, we're see each other and if swap them
  • Caller and receiver are both have call id, video stream id, but they're different

Versions
Web > voximplant-websdk: "^4.4.2-2039"
Mobile React Native > [email protected]

@YuliaGrigorieva
Copy link
Contributor

Hello @ddevilcore ,

Could you please check the values of VideoFlags.receiveVideo and VideoFlags.sendVideo that you pass to Client.call API?

If you need to enable video during an audio call, I recommend to set VideoFlags.receiveVideo = true. This way when you enable video on the remote side, the video should be received on the client and you should get EndpointEvents.remoteVideoStreamAdded event.

Please let me know if it helps.

Best regards,
Yulia Grigorieva

@ddevilcore
Copy link
Author

ddevilcore commented Jan 25, 2022

Hello @ddevilcore ,

Could you please check the values of VideoFlags.receiveVideo and VideoFlags.sendVideo that you pass to Client.call API?

If you need to enable video during an audio call, I recommend to set VideoFlags.receiveVideo = true. This way when you enable video on the remote side, the video should be received on the client and you should get EndpointEvents.remoteVideoStreamAdded event.

Please let me know if it helps.

Best regards, Yulia Grigorieva

Thank you for answer

 // VoxComponent.tsx
      const callSettings = {
      setupCallKit: Platform.OS === 'ios',
      video: {
        sendVideo: this.props.isUseVideo,
        receiveVideo: this.props.isUseVideo,
      },

   // VoximplantManager.ts
    async call(callTo: string, callSettings: CallSettings) {
    const call = await this._voxImplantInstance.call(callTo, callSettings)
    console.log('Create call', call)
    return call
    }

So

We're implemented it in our method of VoxComponent & Voximplant manager, console logs shows that EndpointEvents.remoteVideoStreamAdded event is called when call is running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants