Specifications

4-7
Cisco Unified IP Phone Services Application Development Notes
OL-22505-01
Chapter 4 Component APIs
RTP Streaming API
If the user terminates the media stream by placing the active audio path on-hook, the following
notification is sent:
HTTP POST /server/path/page
DATA=<notifyMediaEvent type=”stopped” origin=”user”>
<mediaStream id=”abc123”/>
</notifyMediaEvent>
Errors and Responses
Error conditions and responses for the RTP Streaming API include:
Condition
Applicable
Methods
HTTP Result Code Type Data
Authorization failed all 401 (Authorization Failed) N/A N/A
Request object does not comply with the
API’s XML schema
all 400 (BadRequest) InfalidXML <parser error
description>
Media cannot be started because no DSP
resources is available to handle the media
startMedia 400 (BadRequest) Unavailable
Resource
No Media
Resource
Available
Media cannot be stopped because the
specified stream ID does not exist
stopMedia 400 (BadRequest) InvalidResourceID Unknown Media
Stream ID:
<streamID>