Direct download
Url format for downloading fragment of archive by specifying fragment start time and duration. Fragment can be downloaded in mpeg-2/ts (.ts) format or matroska (.mkv). No transcoding is done. Stream format can be one of following: ts, mkv Example: http://glenandrobyn.dyndns-ip.com:7001/hls/00-00-1B-55-05-CF.mkv?startDatetime=2015-02-05T19:00&duration=10
Parameters
|
Name |
Description |
Optional |
|
pos |
Fragment start time. Can be: date/time in ISO format, server time zone (example: 2015-02-20T19:00), milliseconds since epoch (1970-01-01 00:00, UTC) or microseconds since epoch |
true |
|
duration |
Fragment length in seconds |
false |
|
hi |
Return high quality stream |
true |
|
lo |
Return low quality stream |
true |
Result
Video stream in requested format
Open RTSP video from a camera. It is not an exact method name. It means that RTSP url may contain any camera unique ID. For instance: rtsp://<server_ip>:<port>/12AB42FD5912?pos=1235631&resolution=240p
Parameters
|
Name |
Description |
Optional |
Values |
|
pos |
By default server opens camera from live position. This parameter defines position in an archive in milliseconds since epoch, microseconds since epoch or text date in ISO fomat (e.g., 2015-07-30T12:00:00). Position can be passed via standard RTSP attribute as well as via URL parameter |
true | |
|
resolution |
Turn on video transcoding to the specified resolution. Resolution string either may contain width and height (for instance 320x240) or height only (for instance 240p) |
true | |
|
rotation |
Rotate item. Can be 0, 90, 180 or 270 degree. If parameter is absent, video will be rotated to default value defined in a camera settings dialog. Parameter take place if video transcoding is activated (parameter codec and/or parameter resolution are presents.) |
true | |
|
codec |
Defines video codec used for transcoding. Default value H263. |
true |
|
|
stream |
Open high quality stream if parameter is 0 or low quality stream if parameter is 1. By default server auto detect preferred stream index based on destination resolution. |
true | |
|
speed |
Playback speed. Only values in range [1..32] are supported. Default value is 1. |
true |
Result
Return RTSP video stream
Url format for opening camera stream using HTTP protocol. Codec and stream format can be specified in url parameters. Live stream and archive can be downloaded. If required and possible, media stream transcoding is performed on-the-fly. Stream format can be one of following: webm, mpegts, mpjpeg (motion jpeg) Example: http://<server_ip>:<port>/media/12AB42FD5912.webm
Parameters
|
Name |
Description |
Optional |
|
resolution |
Video stream resolution. Example: 720x576, 1920x1080, 720p, 1080p. By default, 640x480 is used |
true |
|
pos |
If present and not equal to <now>, specifies archive stream start positions milliseconds since epoch (1970-01-01 00:00, UTC), microseconds since epoch or text date in ISO fomat (e.g., 2015-07-30T12:00:00). Otherwise, LIVE stream is provided |
true |
|
endPos |
If present then specifies archive stream end positions. It used only if 'pos' parameter is present. Milliseconds since epoch (1970-01-01 00:00, UTC), microseconds since epoch or text date in ISO fomat (e.g., 2015-07-30T12:00:00). |
true |
|
rotation |
Rotate item. Can be 0, 90, 180 or 270 degree. If parameter is absent, video will be rotated to default value defined in a camera settings dialog |
true |
|
Sfd |
Stand Frame Duration. If parameter is present, video speed is limited by real time. |
true |
|
Rt |
Turn on realtime optimization. It will drop some frames if not enough CPU for realtime transcoding. |
true |
Result
Video stream in requested format
Url format for opening camera stream with Http Live Streaming (HLS). This protocol is supported by iOS-based devices (iPhone, iPad). Example: http://<server_ip>:<port>/hls/12AB42FD5912.m3u
Parameters
|
Name |
Description |
Optional |
|
pos |
Camera archive position to open. Can be: date/time in ISO format, server time zone (example: 2015-02-20T19:00), milliseconds since epoch (1970-01-01 00:00, UTC) or microseconds since epoch |
true |
|
hi |
If specified, only hi quality is available on streaming session. If neither <hi> nor <lo> is specified than HLS client is allowed to perform dynamic stream switching (to fit in available bandwidth and compensate for traffic congestion) |
true |
|
lo |
If specified, only low quality is available on streaming session. If neither <hi> nor <lo> is specified than HLS client is allowed to perform dynamic stream switching (to fit in available bandwidth and compensate for traffic congestion) |
true |
Result
Video stream in mpeg-2/ts format
--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.