Open ddevilcore opened 2 years ago
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
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
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
Notes
Versions Web > voximplant-websdk: "^4.4.2-2039" Mobile React Native > react-native-voximplant@1.27.1