Push message when user is connected on new room

This commit is contained in:
Gregoire Parant 2020-10-20 09:20:00 +02:00
parent eb1f62bb1c
commit 8d1d6fc8dc
3 changed files with 24 additions and 5 deletions

View file

@ -29,7 +29,7 @@ export class TypeMessageExt implements TypeMessageInterface{
const mainSectionDiv = HtmlUtils.getElementByIdOrFail<HTMLDivElement>('main-container');
mainSectionDiv.appendChild(div);
const reportMessageAudio = HtmlUtils.getElementByIdOrFail<HTMLAudioElement>('audio-webrtc-in');
const reportMessageAudio = HtmlUtils.getElementByIdOrFail<HTMLAudioElement>('report-message');
reportMessageAudio.play();
this.nbSecond = this.maxNbSecond;