mirror of https://github.com/OpenVidu/openvidu.git
Updates participant name logic
Updates participant name input id. Improves participant name visibility logic by considering audio-only streams.pull/856/head
parent
48eec08509
commit
bb62986000
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="input-wrapper">
|
<div class="input-wrapper">
|
||||||
<mat-icon class="input-icon">person</mat-icon>
|
<mat-icon class="input-icon">person</mat-icon>
|
||||||
<input
|
<input
|
||||||
id="name-input"
|
id="participant-name-input"
|
||||||
type="text"
|
type="text"
|
||||||
maxlength="20"
|
maxlength="20"
|
||||||
[(ngModel)]="name"
|
[(ngModel)]="name"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
#streamContainer
|
#streamContainer
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
*ngIf="!isMinimal && showParticipantName"
|
*ngIf="!isMinimal && showParticipantName && !_track.isAudioTrack || (_track.isAudioTrack && _track.participant.onlyHasAudioTracks)"
|
||||||
id="participant-name-container"
|
id="participant-name-container"
|
||||||
class="participant-name"
|
class="participant-name"
|
||||||
[class.fullscreen]="isFullscreen"
|
[class.fullscreen]="isFullscreen"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue