Class StartRecordingOptions

java.lang.Object
com.azure.communication.callautomation.models.StartRecordingOptions

public class StartRecordingOptions extends Object
The options for creating a call.
  • Constructor Details

  • Method Details

    • getCallLocator

      public CallLocator getCallLocator()
      Get the call locator.
      Returns:
      the call locator.
    • getRecordingStateCallbackUrl

      public String getRecordingStateCallbackUrl()
      Uri to send state change callbacks.
      Returns:
      url to send state change callbacks.
    • setRecordingStateCallbackUrl

      public StartRecordingOptions setRecordingStateCallbackUrl(String recordingStateCallbackUrl)
      Set the recordingStateCallbackUrl
      Parameters:
      recordingStateCallbackUrl - to send state change callbacks.
      Returns:
      the StartRecordingOptions
    • getRecordingChannel

      public RecordingChannel getRecordingChannel()
      Get the channel property.
      Returns:
      the channel property.
    • setRecordingChannel

      public StartRecordingOptions setRecordingChannel(RecordingChannel recordingChannel)
      Set the channel property.
      Parameters:
      recordingChannel - the RecordingChannel.
      Returns:
      the StartRecordingOptions
    • getRecordingContent

      public RecordingContent getRecordingContent()
      Get the content property.
      Returns:
      the content property.
    • setRecordingContent

      public StartRecordingOptions setRecordingContent(RecordingContent recordingContent)
      Set the content property.
      Parameters:
      recordingContent - the RecordingContent.
      Returns:
      the StartRecordingOptions
    • getRecordingFormat

      public RecordingFormat getRecordingFormat()
      Get the recording format.
      Returns:
      the recording format.
    • setRecordingFormat

      public StartRecordingOptions setRecordingFormat(RecordingFormat recordingFormat)
      Set the recording format property.
      Parameters:
      recordingFormat - the RecordingFormat.
      Returns:
      the StartRecordingOptions
    • getAudioChannelParticipantOrdering

      public List<com.azure.communication.common.CommunicationIdentifier> getAudioChannelParticipantOrdering()
      Get the audioChannelParticipantOrdering property: The sequential order in which audio channels are assigned to participants in the unmixed recording. When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified, the audio channel to participant mapping will be automatically assigned based on the order in which participant first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.
      Returns:
      the audioChannelParticipantOrdering value.
    • setAudioChannelParticipantOrdering

      public StartRecordingOptions setAudioChannelParticipantOrdering(List<com.azure.communication.common.CommunicationIdentifier> audioChannelParticipantOrdering)
      Set the audioChannelParticipantOrdering property: The sequential order in which audio channels are assigned to participants in the unmixed recording. When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified, the audio channel to participant mapping will be automatically assigned based on the order in which participant first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.
      Parameters:
      audioChannelParticipantOrdering - the list of CommunicationIdentifier.
      Returns:
      the StartRecordingOptions
    • getRepeatabilityHeaders

      public RepeatabilityHeaders getRepeatabilityHeaders()
      Get the Repeatability headers configuration.
      Returns:
      the repeatabilityHeaders
    • setRepeatabilityHeaders

      public StartRecordingOptions setRepeatabilityHeaders(RepeatabilityHeaders repeatabilityHeaders)
      Set the repeatability headers
      Parameters:
      repeatabilityHeaders - The repeatability headers configuration.
      Returns:
      the StartRecordingOptions object itself.