hawkeye camera support(not tested)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
namespace Inspectron.HawkEye.RTSP.Messages
|
||||
{
|
||||
public class RtspRequestOptions : RtspRequest
|
||||
{
|
||||
|
||||
// Constructor
|
||||
public RtspRequestOptions()
|
||||
{
|
||||
Command = "OPTIONS * RTSP/1.0";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the assiociate OK response with the request.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// an Rtsp response corresponding to request.
|
||||
/// </returns>
|
||||
public override RtspResponse CreateResponse()
|
||||
{
|
||||
RtspResponse response = base.CreateResponse();
|
||||
// Add genric suported operations.
|
||||
response.Headers.Add(RtspHeaderNames.Public, "OPTIONS,DESCRIBE,ANNOUNCE,SETUP,PLAY,PAUSE,TEARDOWN,GET_PARAMETER,SET_PARAMETER,REDIRECT");
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user