Hi Guys,
I am using REST apis to make a streamname from the app, and start recording on the created streamname
I am using this api http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/TVC/instances/definst/streamrecorders with the following parameters
{
“recorderName”:“testStream”,
“instanceName”:“definst”,
“segmentationType”:“None”,
“outputPath”:"",
“baseFile”:“myrecord2.mp4”,
“fileFormat”:“MP4”,
“fileVersionDelegateName”:“com.wowza.wms.livestreamrecord.manager.StreamRecorderFileVersionDelegate”,
“fileTemplate”:"${BaseFileName}${RecordingStartTime}${SegmentNumber}",
“segmentDuration”:900000,
“segmentSize”:10485760,
“segmentSchedule”:“0 * * * * *”,
“recordData”:true,
“startOnKeyFrame”:true,
“splitOnTcDiscontinuity”:false,
“backBufferTime”:3000,
“option”:“Version existing file”,
“moveFirstVideoFrameToZero”:true,
“currentSize”:0,
“currentDuration”:0,
“recordingStartTime”:""
}
It created the streamname which is good. Please see this image https://cloudup.com/cqH2wVfP6_b “testStream” is the streamname I created with this REST api. But there are few issues
-
It created as by default in recording state, I dont need that by default so that I can start streaming from the app when I want to
-
It also made the recording saved in a file, I want to start live streaming without recording and with recording but one of the case at a time
Please let me know what params I need to send to fulfill my above 2 needs.
Thanks in advance.
Best Regards,
Dilawer Hussain