Cant record RTSP camera

hqphuong

New Member
Hi Max
I'm testing record RTSP camera. On Flashphoner.properties, i have added "record_rtsp_streams=true". But i can't record RTSP stream.

upload_2018-11-1_9-31-32.png

My wss urlServer: wss://wcs.mycompany.com:8443&streamName=rtsp://user: password@ipcamera/unicast/c5/s1/live
RTSP URL view in Embed Player normally.
upload_2018-11-1_9-40-36.png

What wrong in my config ?

Thanks
 

Attachments

Max

Administrator
Staff member
Hello.
Stream Recording example application is intended to demonstrate only how to record stream published from web camera in browser.
When record_rtsp_streams is set to true, RTSP stream should be recorded automatically when it is played. Try to play RTSP stream in Player example application, then stop it and check WCS_HOME/records folder, the record file should appear.
 

hqphuong

New Member
Hi Max
I see, the RTSP stream auto record when i play. But it does't meet my needs. I need a record button and only record when i click to record button.

Thanks
 

Max

Administrator
Staff member
You can record RTSP stream on demand using REST API as described here. In that case, you don't need to turn on automatic RTSP streams recording.
 
Top