<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<rfc category="std" ipr="full3978" 
	
    docName="draft-boyaci-avt-png-00">
	
    <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
    <?rfc toc="yes" ?>
    <?rfc symrefs="yes" ?>
    <?rfc sortrefs="yes"?>
    <?rfc iprnotified="no" ?>
    <?rfc strict="yes" ?>
	
    <!-- document starts here -->
    
    <front>
		
		<title abbrev="RTP Payload Format for PNG">RTP Payload Format for Portable Network Graphics (PNG) image</title>
		
		<author 
			initials='O.B.' surname="Boyaci" 
			fullname='Omer Boyaci'>
			<organization abbrev='Columbia U.'>
				Columbia University
				</organization>
            <address>
                <postal>
                    <street>Dept. of Computer Science</street>
                    <street>1214 Amsterdam Avenue</street>
                    <city>New York</city> <region>NY</region>
                    <code>10027</code>
                    <country>US</country>
					</postal>
                <email>boyaci@cs.columbia.edu</email>
				</address>
			</author>
		
		<author 
			initials='H.' surname="Schulzrinne" 
			fullname='Henning Schulzrinne'>
			<organization abbrev='Columbia U.'>
				Columbia University
				</organization>
            <address>
                <postal>
                    <street>Dept. of Computer Science</street>
                    <street>1214 Amsterdam Avenue</street>
                    <city>New York</city> <region>NY</region>
                    <code>10027</code>
                    <country>US</country>
					</postal>
                <email>schulzrinne@cs.columbia.edu</email>
				</address>
			</author>
		
		
		<date/>
		
		<abstract>
			<t>
				This document describes how to carry Portable Network Graphics (PNG) images in RTP packets.
				
				</t>
			</abstract>
		</front>
    
    <middle>
		
		<section title='Introduction'>
			<!--
			 <t>
			 The Session Initiation Protocol (SIP) 
			 <xref target='RFC3261'/>,
			 an
			 
			 
			 TODO: mention GRUU:
			 - a Globally Routable User Agent URI (GRUU)
			 - (<xref target='I-D.ietf-sip-gruu'/>).
			 
			 <xref target='I-D.cheshire-dnsext-dns-sd'/>
			 -->
						
			
			
						<t>
				PNG is a bitmapped image format that employs lossless data compression. 
				PNG is standartized in ISO/IEC 15948:2003 and the W3C's PNG (Second Edition)
				Recommendation <xref target="W3C.REC-PNG-20031110"/>. 
				Client applications may display PNG images carried in RTP as a slideshow. 
				Application and desktop sharing systems MAY use PNG images to carry screen updates.   
				</t>
						
			</section>
		
		<section title="Requirements Notation">
			<t> The key words "MUST", "MUST NOT", "REQUIRED", "SHALL",
				"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",
				"MAY", and "OPTIONAL" in this document are to be
				interpreted as described in <xref target="RFC2119"/>.
				</t>
			</section>
		
	
		
		
		
		
			<section anchor='remotingProtoFormat' title='Payload Format'>
			<t>
			For RTP-based transport of PNG images, the standard RTP
			header is followed by the payload data. There is no payload header.
			The payload data contains the PNG image. Each RTP packets carries a single PNG image
			or a fragment of a PNG image.
   
						</t>
				<section anchor='remotingProtoRTPHeader' title='RTP Header Usage'>
					<t>
						<list style='hanging'>
							<t hangText="Marker Bit:">
								The marker bit is used to indicate the last packet part of a PNG image.
								PNG images may not fit into a single RTP packet. This enables the client
								to finish decoding the image, where it otherwise may need to wait for the
								next packet to explicitly know that. The M bit is set to one to indicate
								that the RTP packet payload contains a complete PNG image or contains
								the final fragment of a PNG image.
								</t>
							<t hangText="Timestamp:"> 
								For PNG image streams, the RTP timestamp is based on
								a 90-kHz clock. If a PNG image occupies
								more than one packet, the timestamp SHALL be the same on all of
								those packets.  Furthermore, the initial value of the timestamp MUST be
								random (unpredictable) to make known-plaintext attacks on encryption more
								difficult; see RTP <xref target="RFC3550"/>.
								</t>
							</list>
						
						The remaining RTP header fields are used as specified in RFC 3550.
					</t>
					</section>
				
				
				</section>
				
				
			<section anchor="sdp" title="SDP Parameters">
<t>
			The MIME media type image/png string is mapped to fields in the
   Session Description Protocol (SDP) as follows:
<list>
   <t>The media name in the "m=" line of SDP MUST be image.</t>
   <t>The encoding name in the "a=rtpmap" line of SDP MUST be png (the MIME subtype).</t>
</list>

</t>			</section>
		
	
	
	
	
  
		
	
	
		
		
	
	
	
			
		
		<section anchor='security' title="Security Considerations">
			<t>
				RTP packets using the payload format defined in this specification
				are subject to the security considerations discussed in the RTP
				specification <xref target="RFC3550"/>.  				
				</t>
			
			</section>
		
		
		
		
		
		</middle>
	
    <back>
		<references title='Normative References'>
		
						
			
			<?rfc include='bibxml/reference.RFC.2119.xml'?>
			<?rfc include='bibxml/reference.RFC.3550.xml'?>
			<?rfc include='bibxml4/reference.W3C.REC-PNG-20031110.xml'?>
			
			
			
		</references>
		
				</back>
				</rfc>
