Skip to content

IDeviceEventSource

Interface in Oadm.Sdk.Devices · Oadm.Sdk.dll

An open event stream; dispose to end it (RTSP TEARDOWN).

public interface IDeviceEventSource : IAsyncDisposable

Extends IAsyncDisposable

int LostDocuments { get; }

Documents dropped so far because packets were lost or a document was too large.

IAsyncEnumerable<DeviceMetadataDocument> ReadAsync(CancellationToken ct)

One complete metadata document (one tt:MetadataStream XML text) per item until the device closes the connection (the sequence completes) or the connection breaks (throws DeviceStreamException).