Jump to content

Play Sound with ServerSentEvents (SSE)


Herpo_DE

Recommended Posts

Hi Everyone. 
I just learned a lot about SSE and now I am trying to play a sound everytime SSE gets new data. 
Unfortunately the sound plays every other second (because the SSE refreshes in this interval).
Is there a way to play the sound only one time?
Smart Greetings & thanks!
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...