2.6.2 IBMDStreamingDeviceNotificationCallback Interface¶
The IBMDStreamingDeviceNotificationCallback
interface is a callback class which is called when a streaming device arrives, is removed or undergoes a mode change.
Interface |
Interface ID |
Description |
---|---|---|
IID_IBMDStreamingDiscovery |
An |
2.6.2.1 IBMDStreamingDeviceNotificationCallback::StreamingDeviceArrived method¶
-
HRESULT IBMDStreamingDeviceNotificationCallback::StreamingDeviceArrived(IDeckLink *device);¶
The StreamingDeviceArrived method is called when a new streaming device becomes available.
This method is abstract in the base interface and must be implemented by the application developer. The result parameter (required by COM) is ignored by the caller.
- Parameters:
device – Streaming device
2.6.2.2 IBMDStreamingDeviceNotificationCallback::StreamingDeviceRemoved method¶
-
HRESULT IBMDStreamingDeviceNotificationCallback::StreamingDeviceRemoved(IDeckLink *device);¶
The StreamingDeviceRemoved method is called when a streaming device is removed.
This method is abstract in the base interface and must be implemented by the application developer. The result parameter (required by COM) is ignored by the caller.
- Parameters:
device – Streaming device
2.6.2.3 IBMDStreamingDeviceNotificationCallback::StreamingDeviceModeChanged method¶
-
HRESULT IBMDStreamingDeviceNotificationCallback::StreamingDeviceModeChanged(IDeckLink *device, BMDStreamingDeviceMode mode);¶
The StreamingDeviceModeChanged method is called when a streaming device’s mode has changed.
This method is abstract in the base interface and must be implemented by the application developer. The result parameter (required by COM) is ignored by the caller.
- Parameters:
device – Streaming device
mode – New streaming device mode after the mode change occurred