Get URLs for streams publishing: Stream.GetPublishUrls
The method and parameters
Media service returns a publication URL with authorization parameters for each specified stream. If the stream isn’t served by this server or the stream isn’t intended for publication, then false
is returned for the stream.
string Stream.GetPublishUrls
(array uids
, unsigned ttl
).
array uids
REQUIRED – a list of streams for which publication URLs are requested.
unsigned ttl
= 3600
– the duration for which the publication URL will be available.
POST /api/ |
200 |
List of objects with playback URLs
JSON
|
400 |
json-rpc error
JSON
|
500 |
The server error |