/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright (c) 2003-2007 by AG-Software 											 *
 * All Rights Reserved.																 *
 * Contact information for AG-Software is available at http://www.ag-software.de	 *
 *																					 *
 * Licence:																			 *
 * The agsXMPP SDK is released under a dual licence									 *
 * agsXMPP can be used under either of two licences									 *
 * 																					 *
 * A commercial licence which is probably the most appropriate for commercial 		 *
 * corporate use and closed source projects. 										 *
 *																					 *
 * The GNU Public License (GPL) is probably most appropriate for inclusion in		 *
 * other open source projects.														 *
 *																					 *
 * See README.html for details.														 *
 *																					 *
 * For general enquiries visit our website at:										 *
 * http://www.ag-software.de														 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

using System;
using System.Text;

using agsXMPP.Xml.Dom;

namespace agsXMPP.protocol.extensions.jingle.audio
{

    /*
    <description xmlns='http://jabber.org/protocol/jingle/description/audio'>
      <payload-type id='18' name='G729'/>
      <payload-type id="97" name="IPCMWB"/>
      <payload-type id='98' name='L16' clockrate='16000' channels='2'/>
      <payload-type id="96" name="ISAC" clockrate="8000"/>
      <payload-type id="102" name="iLBC"/>
      <payload-type id="4" name="G723"/>
      <payload-type id="100" name="EG711U"/>
      <payload-type id="101" name="EG711A"/>
      <payload-type id="0" name="PCMU" clockrate="16000"/>
      <payload-type id="8" name="PCMA"/>
      <payload-type id="13" name="CN"/>
    </description>
    
    <xs:element name='payload-type'>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base='empty'>
              <xs:attribute name='channels' type='xs:byte' use='optional' default='1'/>
              <xs:attribute name='id' type='xs:unsignedByte' use='required'/>
              <xs:attribute name='name' type='xs:string' use='optional'/>
              <xs:attribute name='rate' type='xs:short' use='optional'/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
    </xs:element>
    
    */

    public class PayloadType : Element
    {
        public PayloadType()
        {
            this.TagName    = "payload-type";
            this.Namespace  = Uri.JINGLE_AUDIO_DESCRIPTION;
        }
    }
}