public interface RecordItem
MediaService
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_DURATION_MILLISECONDS
The default value of the maximum duration is 3600000 milliseconds.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileUri()
Get the URI of the recorded file
|
int |
getMaxDuration()
Returns the maximum duration for a record request in milliseconds.
|
String |
getTerminationKey()
Get the termination key used to interrupt a record operation
|
RecordItem |
setFileUri(String fileUri)
Sets the URI of the recorded wave file.
|
RecordItem |
setMaxDuration(int maxDuration)
(Optional) - sets the maximum duration of a record request in milliseconds.
|
RecordItem |
setTerminationKey(String terminationKey)
(Optional) - sets the termination key used to stop a record operation
|
static final int DEFAULT_MAX_DURATION_MILLISECONDS
int getMaxDuration()
RecordItem setMaxDuration(int maxDuration)
(Optional) - sets the maximum duration of a record request in milliseconds.
Default value formaximum duration
: 3600000 (1hour) .maxDuration
- the maximum duration in millisecondsString getFileUri()
RecordItem setFileUri(String fileUri)
Sets the URI of the recorded wave file. This is the location where the recording will be written after the recording is completed.
Legal value forfileUri
: the URI scheme must be one of the following http://, https:// or cstore://
and the extension must be .wav
. The extension is not required for the cstore:// scheme.
Below is an example of each URI scheme:
"cstore://welcome?ns=announcements&cg=greetings"
"http://www.mycompany.com/announcements/greetings/welcome.wav"
;"https://www.mycompany.com/announcements/greetings/welcome.wav"
. Note that the Public Key
Infrastructure (PKI) trusted certificate of the HTTP server must be installed on the media server. ;
Note that the use of the "file:///
" or "file://
" URI scheme to specify an absolute path is
deprecated in Avaya Breeze 3.0 and Avaya Breeze 3.4 respectively. Items previously played using the "file:///"
or
"file://"
URI scheme can use "cstore://" URI scheme instead.
See Avaya Aura® Media Server documentation for more details on content store administration, or for details on supported wav file formats (for example 16-bit mono sampled at 8kHz) and PKI trusted certificate.
fileUri
- the URI of the recorded wave fileString getTerminationKey()
RecordItem setTerminationKey(String terminationKey)
terminationKey
- the termination key used to stop a record operationCopyright © 2023 Avaya. All rights reserved.