mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 13:17:46 +00:00
refactor(multi-stream) refactor virtual screenshare creation and support plan-b clients (#11445)
* fix(multi-stream) update selector to find ss track by videoType or mediaType * ref(multi-stream) move fake ss creation logic and support video type changed * refactor(multi-stream) decouple sending and receiving multiple screenshare streams * fix(multi-stream) fix receiver constraints with signaling and without multi-stream * fix(mutli-stream) ensure plan b original SS thumbnail displays avatar * fix(multi-stream) show fake SS for plan b sender * refactor(multi-stream) poc for moving SS creation to state listener * remove reference to fake SS creation * fix lint errors * rename to virtual screenshare participants * fix minor bugs * rename participant subscriber to specify web support only
This commit is contained in:
@@ -91,7 +91,7 @@ type Props = AbstractProps & {
|
||||
* Whether or not the displays stats are for screen share. This prop is behind the sourceNameSignaling feature
|
||||
* flag.
|
||||
*/
|
||||
_isFakeScreenShareParticipant: Boolean,
|
||||
_isVirtualScreenshareParticipant: Boolean,
|
||||
|
||||
/**
|
||||
* Whether or not the displays stats are for local video.
|
||||
@@ -205,8 +205,8 @@ class ConnectionIndicatorContent extends AbstractConnectionIndicator<Props, Stat
|
||||
e2eRtt = { e2eRtt }
|
||||
enableSaveLogs = { this.props._enableSaveLogs }
|
||||
framerate = { framerate }
|
||||
isFakeScreenShareParticipant = { this.props._isFakeScreenShareParticipant }
|
||||
isLocalVideo = { this.props._isLocalVideo }
|
||||
isVirtualScreenshareParticipant = { this.props._isVirtualScreenshareParticipant }
|
||||
maxEnabledResolution = { maxEnabledResolution }
|
||||
onSaveLogs = { this.props._onSaveLogs }
|
||||
onShowMore = { this._onToggleShowMore }
|
||||
@@ -343,7 +343,7 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
|
||||
_disableShowMoreStats: state['features/base/config'].disableShowMoreStats,
|
||||
_isConnectionStatusInactive,
|
||||
_isConnectionStatusInterrupted,
|
||||
_isFakeScreenShareParticipant: sourceNameSignalingEnabled && participant?.isFakeScreenShareParticipant,
|
||||
_isVirtualScreenshareParticipant: sourceNameSignalingEnabled && participant?.isVirtualScreenshareParticipant,
|
||||
_isLocalVideo: participant?.local,
|
||||
_region: participant?.region
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user