In this task, we need to add two more attributes called focus_value and session_mode to the object we are sending out into the WebSocket.
There are three values that are associated with sesion_mode which are "start", "in-progress", and "end". You will need to create the functionality that determines when to send "start", "in-progress", and "end".
The focus_value will be the integer that is being passed into the meter.
You will also need to edit AudioEvent object in SessionHandlerService to have the following fields:
WHAT TO DO:
focus_value
andsession_mode
to the object we are sending out into the WebSocket.sesion_mode
which are "start", "in-progress", and "end". You will need to create the functionality that determines when to send "start", "in-progress", and "end".focus_value
will be the integer that is being passed into the meter.AudioEvent
object in SessionHandlerService to have the following fields:and make sure that you can successfully pass it all the way to it's Producer in SessionHandler
DONE: