Skip to content

ILiveVideo

Interface in Oadm.Sdk.Client · Oadm.Sdk.Client.dll

One live video: ILiveVideo.View goes into the page; ILiveVideo.Start shows a device.

public interface ILiveVideo : IDisposable

Extends IDisposable

int Camera { get; }

The channel shown (1-based), 0 before the camera answered.

Control View { get; }

The picture with everything over it. It stops streaming by itself while it is hidden.

void Close()

Stops the stream and clears the picture (Start shows a device again).

void Start(Guid deviceId, int camera = 0)

Shows the device’s channel (1-based camera; 0 = the first).

event EventHandler<int>? CameraChosen

The user chose another channel with the channel buttons (1-based camera).