# Detect what other users are saying

**URL:** <https://openvidu.discourse.group/t/detect-what-other-users-are-saying/4087>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 13, 2022, 8:40am UTC](https://openvidu.discourse.group/t/detect-what-other-users-are-saying/4087 "2022-07-13T08:40:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [July 13, 2022, 8:40am UTC](https://openvidu.discourse.group/t/detect-what-other-users-are-saying/4087/1 "2022-07-13T08:40:36Z")

</div>

I am using openvidu version 2.22.0.

session.on(‘publisherStartSpeaking’, function (event) {  
console.log(“Audio Detect” + event.connection.stream.streamId);  
let el = document.getElementById(`div-remote-video-${event.connection.stream.streamId}`);  
el.style.border = ‘solid red’;  
});

session.on(‘publisherStopSpeaking’, function (event) {  
let el = document.getElementById(`div-remote-video-${event.connection.stream.streamId}`);  
el.style.border = ‘0’;  
});

Implemented as above.  
Only the person who entered the room for the first time could receive the event.  
Other users do not receive the event.  
What’s the problem?
