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)
maximum duration
: 3600000 (1hour) .maxDuration
- the maximum duration in millisecondsString getFileUri()
RecordItem setFileUri(String fileUri)
fileUri
: the URI scheme must be one of the following
http://, https://, cstore:// or file://
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.
;"file://welcome.wav"
. Note that the recording file is local to the media server.
The recorded file is not replicated to other media servers in either a load-balanced or clustered environment.
This means that play back of the recording can fail in load-balanced or clustered environment. fileUri
- the URI of the recorded wave fileString getTerminationKey()
RecordItem setTerminationKey(String terminationKey)
terminationKey
- the termination key used to stop a record operationCopyright © 2016 Avaya. All Rights Reserved.