Closed lipsotiko closed 3 years ago
Hi @lipsotiko,
This code is using the track name to determine if it is the camera or screen share:
guard let source = videoTrack.source else { return }
switch source {
case .camera: cameraTrack = nil
case .screen: screenTrack = nil
}
It uses this helper at the bottom of the file:
var source: VideoSource? { VideoSource(trackName: name) }
}
I suspect the JS app is using a track name that the iOS app does not expect. Track name can be specified when creating the track.
This iOS app repo is compatible with this react repo as far as track names are concerned: https://github.com/twilio/twilio-video-app-react
Let me know if that helps.
Thank you @timrozum , that was a big help.
Description
Remote video tracks of participants joining a Group Room from a browser are not added to the cameraTrack in the RemoteParticipant object. This results in a dark video screen, as if the participant has their video muted.
Browser Client:
Steps to Reproduce
Expected Behavior
I expected the video track that was published by the browser to be rendered
Versions
After some doing, I got to work by updating RemoteParticipant.swift
If this is a bug, then, perhaps the above is a valid solution; or someone can explain the purpose of screenTrack as well as
guard let source = videoTrack.source else { return }