The video is saved regardless of the option.

hyuk

Member
When publishing in flashphoner, the record option is set to true/false to operate variable.
It works normally on our test server (wcs 5.2.912).
However, in other servers (wcs 5.2.1109), the video is saved regardless of the option.
Can you figure out why it is saved unconditionally regardless of the option?
 

Max

Administrator
Staff member
Good day.
Please clarify: do you set record option when publishing a stream (like Stream Recording example)?
Code:
    session.createStream({
        name: streamName,
        display: localVideo,
        record: true,
        ...
    }).publish();
Please check /usr/local/FlashphonerWebCallServer/conf/flashphoner.properties file for any recording options, for example
Code:
record_rtsp_streams=true
record_flash_published_streams=true
record_mixer_streams=true
Any of these parameters enable recording fro corresponding kind of streams (RTSP, RTMP, mixer)
 
Last edited:

hyuk

Member
Yes.
Our settings are as follows.
The value of the isRecord option is true or false .

publishStream = room.publish({
display: localVideo,
cacheLocalResources: true,
constraints: constraints,
record: isRecord,
receiveVideo: false,
receiveAudio: false,
stripCodecs: strippedCodecs,
 

hyuk

Member
단, 옵션 값에 명시하지 않고 기록합니다.
Yes.
Our settings are as follows.
The value of the isRecord option is true or false .

publishStream = room.publish({
display: localVideo,
cacheLocalResources: true,
constraints: constraints,
record: isRecord,
receiveVideo: false,
receiveAudio: false,
stripCodecs: strippedCodecs,
No other options, record_mixed_streams is false.
 

Max

Administrator
Staff member
Please reproduce the issue in Video Conference example on your server. If this is not reproducing, please check the record option value in your code
Code:
console.log(isRecord);
If the issue is reproducing in Video Conference example, upgrade WCS to latest build 5.2.1140. If the issue still reproducing, please provide SSH access to the server using this form.
 

hyuk

Member
We made a mistake.
The mixer code was included in the code.
Thank you for quick response.
 
Top