Skip to content

Instantly share code, notes, and snippets.

@olokobayusuf
Created February 15, 2020 22:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save olokobayusuf/11fd84845fdce533813cb5312c63f40f to your computer and use it in GitHub Desktop.
The fundamental interface in NatDevice, which all media devices implement.
/// <summary>
/// Media device which provides media buffers.
/// </summary>
public interface IMediaDevice : IEquatable<IMediaDevice> {
/// <summary>
/// Device unique ID.
/// </summary>
string uniqueID { get; }
/// <summary>
/// Is the device running?
/// </summary>
bool running { get; }
/// <summary>
/// Stop running.
/// </summary>
void StopRunning ();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment