csantosm 2d293a689e openvidu-components: Updated projection strategy
Replaces ng-templates by a custom structural directive
2022-02-11 13:18:50 +01:00

20 lines
634 B
HTML

<div id="layout" class="bounds">
<div
class="OT_root OT_publisher"
id="localUser"
*ngFor="let stream of localParticipant | connections"
[ngClass]="{ OV_small: !stream.streamManager?.stream?.videoActive }"
>
<ng-container *ngTemplateOutlet="streamTemplate; context: { $implicit: stream }"></ng-container>
</div>
<div
*ngFor="let stream of remoteParticipants | connections"
class="OT_root OT_publisher"
id="remote-participant"
[ngClass]="{ OV_small: !stream.streamManager?.stream?.videoActive }"
>
<ng-container *ngTemplateOutlet="streamTemplate; context: { $implicit: stream }"></ng-container>
</div>
</div>