stream/startRecording event

Hello, any time a client SDK publishes a stream (regardless if it's recording to not) WCS raises an event - usually it's StreamStatusEvent. However, when issuing a record command for a stream using rest-api - no event occurs. How do I know when a recording command has been issued on a stream? All I get is an INFO message stating that a RestApiRouter handleRequest method has been executed.
Thanks,
P
 

Max

Administrator
Staff member
Good day.
You can check if a stream is recording by /stream/find REST API query. It will return record: true for stream which is recording now.
 

Max

Administrator
Staff member
We raised the ticket WCS-3598 for this feature request. Note that it may take a time, so /stream/find REST API polling seems to be a quick workaround.
 
Top