Chapter 4 Component APIs

RTP Streaming API

<xs:complexType>

<xs:all>

<xs:element name="mediaStream"> <xs:complexType>

<xs:attribute name="id" type="xs:string" use="required"/> </xs:complexType>

</xs:element>

</xs:all>

<xs:attribute name="origin" use="required"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:enumeration value="user"/> <xs:enumeration value="application"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="type" use="required"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:enumeration value="stopped"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:complexType name="mediaStream"> <xs:all>

<xs:element name="type"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:enumeration value="audio"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="codec"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:enumeration value="G.711"/> <xs:enumeration value="G.722"/> <xs:enumeration value="G.723"/> <xs:enumeration value="G.728"/> <xs:enumeration value="G.729"/> <xs:enumeration value="GSM"/> <xs:enumeration value="Wideband"/> <xs:enumeration value="iLBC"/>

</xs:restriction>

</xs:simpleType>

</xs:element> <xs:element name="mode">

<xs:simpleType>

<xs:restriction base="xs:string"> <xs:enumeration value="send"/> <xs:enumeration value="receive"/> <xs:enumeration value="sendReceive"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="address"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:minLength value="7"/> <xs:maxLength value="15"/>

</xs:restriction>

</xs:simpleType>

Cisco Unified IP Phone Services Application Development Notes

 

OL-20949-01

4-3

 

 

 

Page 45
Image 45
Cisco Systems OL-20949-01 manual XscomplexType Xsall