For each channel the server notifies the plugin about new task settings, whenever the server needs to record or stream a different frame rate or a different video or audio profile (the video profile defines the quality and the resolution). It fires events of the type “peNewDeviceTask”.
The server only notifies the plugin, if the maximal frame rate or the highest video profile changes.
The needed frame rate and video or audio profile can be read out like this:
case peNewDeviceTask:
{
// new device task settings
GeViScopeDeviceTask dt;
simpleDevice->GetCurrentStreamTask(simpleDevice>EventTriggeredForWhichChannel(), dt);
break;
}