Skip to content

Conversation

jallamsetty1
Copy link
Member

This is needed for switching between video and avatar when the track's streaming status changes in source-name signaling mode.

@jallamsetty1 jallamsetty1 requested a review from paweldomas May 24, 2022 22:16
This is needed for switching between video and avatar when the track's streaming status changes in source-name signaling mode.
@jallamsetty1 jallamsetty1 force-pushed the fix-rn-trackStreamingStatus branch from 05c0039 to a4285f3 Compare May 24, 2022 23:54
Copy link
Member

@paweldomas paweldomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't render the virtual participant, does it? I don't remember if rendering virtual screen share was done for RN already?

/* Then check if the participant connection is active. */
const connectionStatus = participant.connectionStatus || JitsiParticipantConnectionStatus.ACTIVE;
/* Then check if the participant connection or track streaming status is active. */
if (getSourceNameSignalingFeatureFlag(state)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth leaving a TODO/comment that this code will only work if there's something else registered as a listener of this specific jitsiTracks streaming status (it's disabled when there's 0 listeners).

@jallamsetty1
Copy link
Member Author

This doesn't render the virtual participant, does it? I don't remember if rendering virtual screen share was done for RN already?

Rendering the virtual screenshare on RN has been implemented already.

@jallamsetty1 jallamsetty1 merged commit ad70f12 into jitsi:master May 25, 2022
@jallamsetty1 jallamsetty1 deleted the fix-rn-trackStreamingStatus branch May 25, 2022 01:37
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

Successfully merging this pull request may close these issues.

2 participants