IDeviceEventSource
Interface in Oadm.Sdk.Devices · Oadm.Sdk.dll
An open event stream; dispose to end it (RTSP TEARDOWN).
public interface IDeviceEventSource : IAsyncDisposableExtends IAsyncDisposable
Properties
Section titled “Properties”LostDocuments
Section titled “LostDocuments”int LostDocuments { get; }Documents dropped so far because packets were lost or a document was too large.
Methods
Section titled “Methods”ReadAsync
Section titled “ReadAsync”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).