Rtprx - Cisco OL-18696-01 Development Manual

Unified ip phone services application development notes
Table of Contents

Advertisement

Multimedia URIs
Interaction with Call Streaming
Note

RTPRx

The RTPRx URI instructs the phone to receive a Unicast RTP stream or to stop receiving Unicast or
Multicast RTP streams.
URI Formats
RTPRx:i:p:v
RTPRx:Stop
Where
i = the IP Address from which the stream is coming.
Cisco Unified IP Phone Services Application Development Notes
4-8
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
. If a call is in a Held state (connected but not actively streaming), the Tx URI request
unauthorized
will be accepted, but will be terminated if the call is resumed.
Returning
allows the application to distinguish this error from the normal
errorNo=4
response.
busy
Existing Rx URI streams will be terminated if a new call begins or an existing call is resumed.
The user has no explicit mechanism for terminating the Rx URI stream independent of the call.
Thus, if the Rx stream is not terminated automatically, it would continue to play. For example, a user
is listening to Internet radio feed and gets an incoming call. The user answers the call, which either
closes or minimizes the Internet radio XSI application. Otherwise, the user has no intuitive way to
stop the music stream.
New Rx URI stream requests received during an active call will be accepted (whisper), but the
volume parameter of the URI will be ignored.
If the Rx URI request was done via push, then the associated application is responsible for using
push Priority attributes and for stopping and starting the stream.
If the user initiates the Rx URI via an application, then the user likely is not concerned about having
the audio mixed with the current call. However, they should also be presented with an option to stop
the application, when needed.
For the Rx URI, the Mute indicator light is only lit when both these conditions are met:
There are no active transmit streams from either a call or an XML services stream, and
There is at least one active receive stream
For example, if an active call is ended or put on hold while a Rx URI stream is active, the Mute
indicator will light.
If a Rx or Tx URI request is received and there is already an active XML services stream in that
direction, then a response with
stream must be terminated (either by the user or by an RTP Stop URI) before a new stream can be
started.
This response provides visibility to the application if the phone is currently busy. It then allows the
application to decide whether or not to terminate the existing stream and start a new one, rather than
being controlled by the phone firmware.
errorNo=1 Tx/Rx is already active
Chapter 4
Internal URI Features
errorNo=4
errorNo=1
will be returned. The previous
OL-18696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

7900 series

Table of Contents