...
REST query | REST query example | REST response example | Response states | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/vod/startup |
| 409 - Conflict 500 - Internal error | Capture VOD stream from file | |||||||||||||||
/vod/find |
|
| 200 – OK 404 – not found | Find VOD streams by criteria | ||||||||||||||
/vod/find_all |
| 200 – OK 404 – not found | Find all VOD streams | |||||||||||||||
/vod/terminate |
| 200 - Stream is stopped 404 - Stream not found | Stop VOD stream |
...
Name | Description | Example |
---|---|---|
uri | File name to capture | vod://sample.mp4 |
localStreamName | Stream name | test |
status | Stream status | PROCESSED_LOCAL |
localMediaSessionId | Mediasession Id | 29ec3236-1093-42bb-88d6-d4ac37af3ac0 |
hasAudio | Stream has audio | true |
hasVideo | Stream has video | true |
record | Stream is recording | false |
Known limits
...
loop | VOD is looped | false |
VOD looping on demand
Since build 5.2.1528 it is possible to enable VOD looping while creating VOD live translation via REST API
Code Block | ||||
---|---|---|---|---|
| ||||
{
"uri":"vod-live://sample.mp4",
"localStreamName": "test",
"loop": true
} |
By default, if loop
parameter is not set, vod_live_loop
is applied. If the parameter is set, its value is applied as follows
true
- file will be loopedfalse
- file will be played once, then VOD live translation will stop
The loop
parameter has a precedence over vod_live_loop
value.
Known limits
/rest-api/vod/startup
query can be used for VOD live translations creation only. However, find,
`find_all `and terminate
queries can be applied both to VOD and VOD live translations.
...