Description
Method
Interface
Returns the master key for the stream.
getKey()
byte[]
Returns the keyLength of the key.
getKeyLength()
int
Returns the salt key for the stream.
getSalt()
byte[]
Returns the saltLength of the salt.
getSaltLength()
int
Indicates the SRTP key derivation rate for this session.
keyDerivationRate()
int
Related Documentation
See CiscoRTPInputKeyEv, CiscoRTPOutputKeyEv.
CiscoMediaOpenIPPortEv
CiscoMediaOpenIPPortEv event is delivered only if the terminal is registered with registration type as
CiscoBaseTerminal.DYNAMIC_MEDIA_REGISTRATION_FOR_GET_PORT_SUPPORT or
CiscoBaseTerminal.STATIC_MEDIA_REGISTRATION_FOR_GET_PORT_SUPPORT.
Interface History
Description
Cisco Unified Communications Manager Release Number
New interface.
8.5(1)
Sample Code
public class MyTermObserver implements implements TerminalObserver,
CallControlTerminalObserver,
AgentTerminalObserver,
PhoneTerminalObserver
{
public void termChangedEvent (TermEv[] evlist)
{
for(int i = 0; evlist ! =
null && i < evlist.length; i++)
{
…
…
If ( evlisth[i] instanceof
CiscoMediaOpenIPPortEv)
{
CiscoMediaOpenIPPortEv ev
(CiscoMediaOpenIPPortEv)evlist[i];
if(((CiscoBaseMediaTerminal)(ev.getTerminal()))).getRegistrationType
=
CiscoTerminal.DYNAMIC_MEDIA_REGISTRATION_FOR_GET_PORT_SUPPORT)
{
System.out.println("Set RTP parameters");
System.out.println("open the port");
} else {
System.out.println("Open port");
}
}
Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs
448
Cisco Unified JTAPI Extensions
Related Documentation
