0

The documentation found here, Known Limitations has a section stating:

Dual channel recording requires recordingStatusCallback to be set The recordingStatusCallback attribute must be set in the Conference instruction attributes when enabling dual channel recording. See this support article for more information.

But the referenced support article does not provide any information on Dual Channel recordings.

There is a code snippet:

flex.Actions.addListener("beforeAcceptTask", (payload) => {
  payload.conferenceOptions.record = 'true';
  payload.conferenceOptions.recordingStatusCallback = 'https://example.com/recordingcallbackurl';
});

Which I believe generates a mono recording, not a dual channel (stereo) recording. Any suggestions where to look or can you provide some clarity around this? Not clear about the requirement for:

The recordingStatusCallback attribute must be set in the Conference instruction attributes

philnash
  • 70,667
  • 10
  • 60
  • 88
Alan
  • 10,465
  • 2
  • 8
  • 9

1 Answers1

0

To generate a dual channel recording, I think you need to add the recordingChannels option, set to "dual":

flex.Actions.addListener("beforeAcceptTask", (payload) => {
  payload.conferenceOptions.record = 'true';
  payload.conferenceOptions.recordingStatusCallback = 'https://example.com/recordingcallbackurl';
  payload.conferenceOptions.recordingChannels = 'dual'
});
philnash
  • 70,667
  • 10
  • 60
  • 88