![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/54/654b0ad4-01fa-4432-986e-08ca8881e086/654b0ad4-01fa-4432-986e-08ca8881e086-bg39.png)
5-9
Cisco Unified IP Phone Services Application Development Notes
OL-20949-01
Chapter 5 Internal URI Features
Multimedia URIs
Multimedia URIs
These sections describe the multimedia URIs:
• RTP Streaming
• Play
• Vibrate
RTP Streaming
You can invoke RTP streaming via URIs in services. You can instruct the phone to transmit or receive
an RTP stream with the following specifications:
• RTPRx
• RTPTx
• RTPMRx
• RTPMTx
Note For some Cisco Unified IP Phone models, the RTP Streaming URIs have been deprecated by the RTP
Streaming API. See the “RTP Streaming API” section on page 4-1.
The supported format of the RTP stream is as follows:
• The codec is G.711 mu-Law.
• The packet size is 20 ms.
The following list gives these possible CiscoIPPhoneError codes:
• Error 1 = Error parsing CiscoIPPhoneExecute object
• Error 2 = Error framing CiscoIPPhoneResponse object
• Error 3 = Internal file error
• Error 4 = Authentication error
Interaction with Call Streaming
• Existing Tx URI streams will be terminated if a new call begins or an existing call is resumed
• Tx URI stream requests received when a call is active will be rejected with an errorNo=4
unauthorized
. If a call is in a Held state (connected but not actively streaming), the Tx URI request
will be accepted, but will be terminated if the call is resumed.
Note Returning errorNo=4 allows the application to distinguish this error from the normal errorNo=1
busy response.
• Existing Rx URI streams will be terminated if a new call begins or an existing call is resumed.