|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines the Symbols used by Player and PlayerEvent.
| Field Summary | |
static Symbol |
a_AutomaticGainControl
Attribute to request capability to limit Volume during Play of a MSC. |
static Symbol |
a_Coder
Attribute to request support for various coders. |
static Symbol |
a_Jump
Attribute to request capability to Jump forward and backward in a MSC. |
static Symbol |
a_Pause
Attribute to request capability to Pause and Resume Play of MSC. |
static Symbol |
a_Speed
Attribute to request capability to adjust Speed during Play of a MSC. |
static Symbol |
a_Volume
Attribute to request capability to adjust Volume during Play of a MSC. |
static Symbol |
ev_Pause
Play has been paused by RTC. |
static Symbol |
ev_Play
Completion event for the play method.
|
static Symbol |
ev_Resume
Play has been resumed by RTC. |
static Symbol |
ev_Speed
Playback speed has been changed due to RTC. |
static Symbol |
ev_Volume
Playback volume has been changed due to RTC. |
static Symbol |
p_CoderTypes
Value is an array of Symbols identifying the coders actually supported by this Player. |
static Symbol |
p_DisplayName
String specifying the file name to display during a play. |
static Symbol |
p_EnabledEvents
An array of Player event Symbols, indicating which events are generated and delivered to the application. |
static Symbol |
p_FileFormat
A Symbol identifying the File Format used during a play. |
static Symbol |
p_IfBusy
Indicates the action to take if Player is busy when play() is invoked.
|
static Symbol |
p_JumpMSCIncrement
Integer number of MSCs to jump forward or backward in the MSC list, for either a rtca_JumpForwardMSCs or rtca_JumpBackwardMSCs. |
static Symbol |
p_JumpTime
Integer number of milliseconds by which the current MSC offset is changed by rtca_JumpForward or rtca_JumpBackward. |
static Symbol |
p_MaxDuration
Integer indicating maximum duration of this or subsequent play() in milleseconds.
|
static Symbol |
p_SpeedChange
Determines the amount the playback speed is changed by RTC actions rtca_SpeedUp or rtca_SpeedDown.
|
static Symbol |
p_StartPaused
Boolean indicating that this or subsequent play()
should be started in the Paused state. |
static Symbol |
p_VolumeChange
Determines the amount the volume parameter is changed by the RTC actions rtca_VolumeUp and rtca_VolumeDown. |
static Symbol |
q_Duration
Play ended because the maximum play duration time has been reached. |
static Symbol |
q_EndOfData
Indicate Play complete because all the streams played to completion. |
static Symbol |
rtca_JumpBackward
Jump backward the amount specified by p_JumpTime. |
static Symbol |
rtca_JumpBackwardMSCs
Jump backward the number of MSCs indicated by p_JumpMSCIncrement. |
static Symbol |
rtca_JumpEndMSC
Jump to the end of the curent MSC. |
static Symbol |
rtca_JumpEndMSCList
Jump to the Last MSC in the MSC List. |
static Symbol |
rtca_JumpForward
Jump forward the amount specified by p_JumpTime. |
static Symbol |
rtca_JumpForwardMSCs
Jump forward the number of MSCs indicated by p_JumpMSCIncrement. |
static Symbol |
rtca_JumpStartMSC
Jump to the start of the curent MSC |
static Symbol |
rtca_JumpStartMSCList
Jump to the First MSC in the MSC List. |
static Symbol |
rtca_NormalSpeed
Set speed to normal. |
static Symbol |
rtca_NormalVolume
Set volume to normal. |
static Symbol |
rtca_Pause
Pause the current Play operation, maintaining the current position in the MSClist. |
static Symbol |
rtca_Resume
Resume the current Play operation if paused. |
static Symbol |
rtca_SpeedDown
Decrease speed by value of parameter p_SpeedChange. |
static Symbol |
rtca_SpeedUp
Increase speed by value of parameter p_SpeedChange. |
static Symbol |
rtca_Stop
Stop the current Play operation. |
static Symbol |
rtca_StopAll
Stop the current Play operation and all pending play operations in queue |
static Symbol |
rtca_ToggleSpeed
Toggle speed between normal and previous adjusted value. |
static Symbol |
rtca_ToggleVolume
Toggle volume between normal and previous adjusted value. |
static Symbol |
rtca_VolumeDown
Decrease volume by value of parameter p_VolumeChange. |
static Symbol |
rtca_VolumeUp
Increase volume by value of parameter p_VolumeChange. |
static Symbol |
rtcc_PlayComplete
Trigger when a Play is completed. |
static Symbol |
rtcc_PlayStarted
Trigger when a Play is started. |
static Symbol |
v_Fail
value for p_IfBusy: signal an error, throw a MediaResourceException. |
static Symbol |
v_GSMFormat
value for p_FileFormat: GSM file format. |
static Symbol |
v_Queue
value for p_IfBusy: wait for previous requests to complete. |
static Symbol |
v_RawFormat
value for p_FileFormat: basic file format without any header. |
static Symbol |
v_Stop
value for p_IfBusy: stop any previous play. |
static Symbol |
v_WavFormat
value for p_FileFormat: WAV file format. |
| Fields inherited from interface hp.telephony.media.CoderConstants |
p_AMR_SDPelement, p_channels, p_crc, p_G723_annexa, p_G723_bitrate, p_G729_annexb, p_interleaving, p_maxptime, p_modechangeneighbor, p_modechangeperiod, p_modeset, p_octetalign, p_ptime, p_robustsorting, v_ADPCM_16kG726, v_ADPCM_24k, v_ADPCM_32k, v_ADPCM_32kG726, v_ADPCM_32kOKI, v_ADPCM_44k, v_ALawPCM_48k, v_ALawPCM_64k, v_ALawPCM_88k, v_AMR, v_AMR_WB, v_G723_1b, v_G723_53, v_G723_63, v_G723_no_vad, v_G723_yes, v_G729_no_vad, v_G729_yes, v_G729a, v_GSM, v_Linear16Bit_64k, v_Linear8Bit_48k, v_Linear8Bit_64k, v_Linear8Bit_88k, v_MuLawPCM_48k, v_MuLawPCM_64k, v_MuLawPCM_88k |
| Field Detail |
public static final Symbol a_Coder
The Symbols that identify coders are in
CoderConstants
public static final Symbol a_Jump
Value is a boolean. OCMP Note: also set to true
public static final Symbol a_Pause
public static final Symbol a_Speed
Value is an IntRange or a boolean.
public static final Symbol a_Volume
Value is an IntRange or a boolean.
public static final Symbol a_AutomaticGainControl
Value is Boolean.
public static final Symbol p_CoderTypes
Valid values: CoderConstants
Default value is implementation dependent.
Read-Only.
OCMP Note: This is a one element array. It is not read-only.public static final Symbol p_IfBusy
play() is invoked.
Valid values: v_Queue, v_Stop, v_Fail.
Default value is v_Queue.
public static final Symbol v_Queue
p_IfBusypublic static final Symbol v_Stop
p_IfBusypublic static final Symbol v_Fail
p_IfBusypublic static final Symbol p_MaxDuration
play() in milleseconds.
Value is an Integer (0 - 1,000,000) milliseconds, or v_Forever.
public static final Symbol p_StartPaused
play()
should be started in the Paused state.
public static final Symbol p_EnabledEvents
Valid values: ev_Pause, ev_Resume, ev_Speed, ev_Volume
Default value = no events.
For a PlayerListener to receive events, those events must
be enabled by setting this parameter.
This parameter can be set in a ConfigSpec or by
setParameters}.
Note:
This parameter controls the generation of events.
OCMP Note: These events cannot be delivered unless a ResourceEventListener is added
ev_Pause,
ev_Resume,
ev_Speed,
ev_Volumepublic static final Symbol p_JumpMSCIncrement
Valid values: any positive Integer.
Default value = 1.
rtca_JumpForwardMSCs,
rtca_JumpBackwardMSCspublic static final Symbol p_JumpTime
Valid values: any positive Integer.
Default value = 1.
rtca_JumpForward,
rtca_JumpBackwardpublic static final Symbol p_SpeedChange
rtca_SpeedUp or rtca_SpeedDown.
Value is an Integer in the range [0..100] expressing
percent from normal.
Valid values: Integer in the range [0..100]
Default value = 0.
Note: Whenever p_SpeedChange is altered, the player speed is reset to normal.
rtca_SpeedUp,
rtca_SpeedDownpublic static final Symbol p_VolumeChange
Valid values: an Integer in the range [0..30]. Note:
Note:
Whenever p_VolumeChange is altered, the player volume is reset to normal.
For OCMP 2.2, the only supported value is 3 expressing dB of change.
Default value is 3.
rtca_VolumeUp,
rtca_VolumeDownpublic static final Symbol p_FileFormat
Note: When the v_WavFormat is specified, no p_CoderTypes value is required as encoding type is specified in the wav header
When the v_GSMFormat is required, the supported p_CoderTypes value is v_GSM
When the v_RawFormat is specified, the p_CoderTypes is required
p_CoderTypespublic static final Symbol v_RawFormat
p_FileFormatpublic static final Symbol v_WavFormat
p_FileFormat,
p_CoderTypespublic static final Symbol v_GSMFormat
When the v_GSMFormat is required, the supported p_CoderTypes value is v_GSM
p_FileFormat,
p_CoderTypespublic static final Symbol p_DisplayName
public static final Symbol rtca_Stop
public static final Symbol rtca_StopAll
public static final Symbol rtca_Resume
public static final Symbol rtca_Pause
public static final Symbol rtca_JumpForward
public static final Symbol rtca_JumpBackward
public static final Symbol rtca_JumpStartMSC
public static final Symbol rtca_JumpEndMSC
public static final Symbol rtca_JumpForwardMSCs
public static final Symbol rtca_JumpBackwardMSCs
public static final Symbol rtca_JumpStartMSCList
public static final Symbol rtca_JumpEndMSCList
public static final Symbol rtca_SpeedUp
public static final Symbol rtca_SpeedDown
public static final Symbol rtca_NormalSpeed
public static final Symbol rtca_ToggleSpeed
public static final Symbol rtca_VolumeUp
public static final Symbol rtca_VolumeDown
public static final Symbol rtca_NormalVolume
public static final Symbol rtca_ToggleVolume
public static final Symbol rtcc_PlayStarted
public static final Symbol rtcc_PlayComplete
public static final Symbol ev_Play
play method.
Possible qualifiers are:
q_RTC, q_Stop, q_Duration, q_Standard, q_EndOfData
PlayerEvent.getIndex(),
PlayerEvent.getOffset(),
ResourceEvent.getRTCTrigger()public static final Symbol ev_Pause
PlayerEvent.getIndex(),
PlayerEvent.getOffset(),
ResourceEvent.getRTCTrigger()public static final Symbol ev_Resume
PlayerEvent.getIndex(),
PlayerEvent.getOffset(),
ResourceEvent.getRTCTrigger()public static final Symbol ev_Speed
PlayerEvent.getChangeType(),
ResourceEvent.getRTCTrigger()public static final Symbol ev_Volume
PlayerEvent.getChangeType(),
ResourceEvent.getRTCTrigger()public static final Symbol q_EndOfData
public static final Symbol q_Duration
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||