Change event of speaker is not received in Status viewer MIP SDK sample

I have connected Axis speaker to Milestone management client. and management client show correct status.

But in Status viewer MIP SDK sample I get the initial status of the speaker but on change event is not received

Milestone version 2022 R2

MicrosoftTeams-image (4)

Please help.

Can you please tell us what you are doing when you expect to see the Change event? Disable the speaker or pull a network cable or something else? Can you please explain it?

We pulled the network cable to power off.

You will need to add “microphone” and “speaker” line 23 (around) in MainForm.cs. Please see following sample code:

// List of Item Kind's to display in TreeNode table.
private Collection<Guid> _includeInDisplay = new Collection<Guid>()
{
        Kind.Server,
        Kind.Camera,
        Kind.Microphone,	// add
        Kind.Speaker,		// add
        Kind.Output,
        Kind.InputEvent,
        Kind.TriggerEvent,
        Kind.Folder
};

Hi,

Even after adding speaker and microphone We are only able to receive events for microphone only. For now we have speaker and microphone is in same device. so as a workaround we used microphone not responding event for speaker to set the status.

Hi,

I just tested the sample with above code and it works fine. What I did was: I triggered events from the speaker/microphone and I could see the events on the sample so it should work.

Can you please verify if your device works properly? I mean, please check and see if the icons on the device in Management Client are green?