Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

REST-method

Example of REST-query

Example of response

Response statuses

Description

/rtsp/startup

Code Block
languagejs
themeRDark
{
 "uri":"rtsp://myserver.com/live/myStream",
 "toStreamlocalStreamName": "myRTSPstream"
}

409 - Conflict

500 - Internal error


Pull the RTSP stream by the specified URL


/rtsp/find_all


Code Block
languagejs
themeRDark
{
"uri": "rtsp://myserver.com/live/myStream",
"status": "PLAYING",
"toStreamlocalStreamName": "myRTSPstream"
}

200 – streams found
404 – streams not found


Find all pulled RTSP-streams

/rtsp/terminate

Code Block
languagejs
themeRDark
{
"uri":"rtsp://myserver.com/live/myStream"
}

200 - stream terminated
404 - stream not found


Terminate the pulled RTSP stream

...

Parameter name

Description

Example

uri

URL of the RTSP stream

rtsp://myserver.com/live/myStream

toStreamlocalStreamNameName to set to the stream capturedmyRTSPstream

status

Current status of the stream

PLAYING

...