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:
William Liang
2022-04-29 10:32:16 -04:00
committed by GitHub
parent b9c4d28dac
commit d3fe246f61
33 changed files with 365 additions and 301 deletions

View File

@@ -94,7 +94,7 @@ type Props = {
/**
* Whether or not the statistics are for screen share.
*/
isFakeScreenShareParticipant: boolean,
isVirtualScreenshareParticipant: boolean,
/**
* The send-side max enabled resolution (aka the highest layer that is not
@@ -240,12 +240,12 @@ class ConnectionStatsTable extends Component<Props> {
classes,
disableShowMoreStats,
enableSaveLogs,
isFakeScreenShareParticipant,
isVirtualScreenshareParticipant,
isLocalVideo
} = this.props;
const className = clsx(classes.connectionStatsTable, { [classes.mobile]: isMobileBrowser() });
if (isFakeScreenShareParticipant) {
if (isVirtualScreenshareParticipant) {
return this._renderScreenShareStatus();
}