hawkeye camera support(not tested)
This commit is contained in:
41
framework/Inspectron.HawkEye/RTSP/IRTSPTransport.cs
Normal file
41
framework/Inspectron.HawkEye/RTSP/IRTSPTransport.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
namespace Inspectron.HawkEye.RTSP
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for Transport of Rtsp (TCP, TCP+SSL,..)
|
||||
/// </summary>
|
||||
public interface IRtspTransport
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the stream of the transport.
|
||||
/// </summary>
|
||||
/// <returns>A stream</returns>
|
||||
System.IO.Stream GetStream();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the remote address.
|
||||
/// </summary>
|
||||
/// <value>The remote address.</value>
|
||||
string RemoteAddress
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Closes this instance.
|
||||
/// </summary>
|
||||
void Close();
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this <see cref="IRtspTransport"/> is connected.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if connected; otherwise, <c>false</c>.</value>
|
||||
bool Connected { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Reconnect this instance.
|
||||
/// <remarks>Must do nothing if already connected.</remarks>
|
||||
/// </summary>
|
||||
/// <exception cref="System.Net.Sockets.SocketException">Error during socket </exception>
|
||||
void Reconnect();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user