Class StartRecordingOptions
java.lang.Object
com.azure.communication.callautomation.models.StartRecordingOptions
The options for creating a call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the audioChannelParticipantOrdering property: The sequential order in which audio channels are assigned to participants in the unmixed recording.Get the call locator.Get the channelAffinity property: The channel affinity of call recording When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.Get the channel property.Get the content property.Get the recording format.Uri to send state change callbacks.Get the externalStorage property: Used to specify external storage for call recordingGet pause on start.setAudioChannelParticipantOrdering(List<CommunicationIdentifier> audioChannelParticipantOrdering) Set the audioChannelParticipantOrdering property: The sequential order in which audio channels are assigned to participants in the unmixed recording.setChannelAffinity(List<ChannelAffinity> channelAffinity) Set the channelAffinity property: The channel affinity of call recording When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.setPauseOnStart(Boolean pauseOnStart) Set the pause on start property.setRecordingChannel(RecordingChannel recordingChannel) Set the channel property.setRecordingContent(RecordingContent recordingContent) Set the content property.setRecordingFormat(RecordingFormat recordingFormat) Set the recording format property.setRecordingStateCallbackUrl(String recordingStateCallbackUrl) Set the recordingStateCallbackUrlsetRecordingStorage(RecordingStorage recordingStorage) Set the externalStorage property: Used to specify external storage for call recording
-
Constructor Details
-
StartRecordingOptions
Constructor- Parameters:
callLocator- Either aGroupCallLocatororServerCallLocatorfor locating the call.
-
-
Method Details
-
getCallLocator
Get the call locator.- Returns:
- the call locator.
-
getRecordingStateCallbackUrl
Uri to send state change callbacks.- Returns:
- url to send state change callbacks.
-
setRecordingStateCallbackUrl
Set the recordingStateCallbackUrl- Parameters:
recordingStateCallbackUrl- to send state change callbacks.- Returns:
- the
StartRecordingOptions
-
getRecordingChannel
Get the channel property.- Returns:
- the channel property.
-
setRecordingChannel
Set the channel property.- Parameters:
recordingChannel- theRecordingChannel.- Returns:
- the
StartRecordingOptions
-
getRecordingContent
Get the content property.- Returns:
- the content property.
-
setRecordingContent
Set the content property.- Parameters:
recordingContent- theRecordingContent.- Returns:
- the
StartRecordingOptions
-
getRecordingFormat
Get the recording format.- Returns:
- the recording format.
-
setRecordingFormat
Set the recording format property.- Parameters:
recordingFormat- theRecordingFormat.- Returns:
- the
StartRecordingOptions
-
isPauseOnStart
Get pause on start.- Returns:
- pause on start.
-
setPauseOnStart
Set the pause on start property.- Parameters:
pauseOnStart- indicate if the recording should be paused on start.- Returns:
- the
StartRecordingOptions
-
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<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 ofCommunicationIdentifier.- Returns:
- the
StartRecordingOptions
-
getRecordingStorage
Get the externalStorage property: Used to specify external storage for call recording- Returns:
- the externalStorage value.
-
setRecordingStorage
Set the externalStorage property: Used to specify external storage for call recording- Parameters:
recordingStorage- the external storage for call recording- Returns:
- the StartRecordingOptions object itself.
-
getChannelAffinity
Get the channelAffinity property: The channel affinity of call recording When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned. Channel-Participant mapping details can be found in the metadata of the recording. ///.- Returns:
- the channelAffinity value.
-
setChannelAffinity
Set the channelAffinity property: The channel affinity of call recording When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned. Channel-Participant mapping details can be found in the metadata of the recording. ///.- Parameters:
channelAffinity- the channelAffinity value to set.- Returns:
- the StartRecordingOptions object itself.
-