<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY rfc2119 PUBLIC '' 
  'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
]>

<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<?rfc toc="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no"?>
<?rfc strict="yes"?>
<?rfc compact="no" ?> 
<?rfc subcompact="no" ?>

<!-- <rfc category="info" ipr="trust200902" docName="draft-jiang-tsvwg-slice-media-service-01"> -->
<rfc category="info" ipr="trust200902" docName="draft-jiang-tsvwg-5gxrm-metadata-00">

<front>
<title abbrev="5GXRM Metadata UDP Option">UDP Option Extension for 5G XR Media Services</title>

<author fullname="Tianji Jiang" initials="T." surname="Jiang"> 
<organization>China Mobile </organization> 
<address> 
	<postal> <street> </street> <code></code> 
		<city> </city> 
		<country> </country> 
	</postal> 
	<email>tianjijiang@chinamobile.com</email> 
</address> 
</author>

<author initials="P." surname="Liu" fullname="Peng Liu">
<organization>China Mobile</organization>
<address>
<email>liupengyjy@chinamobile.com</email>
</address>
</author>





<!-- month and day will be generated automatically by XML2RFC; be sure the year is current.-->
<!-- date month="June" year="2023"/ --> 
<date year="2024"/>
<area>Internet Area</area> 
<workgroup>TSV Working Group</workgroup>

<abstract>
	<t>
	 Extended Reality &amp; multi-modality communication, or XRM, 
	 is a type of advanced service that has been studied and standardized in 3GPP. 
	 The service features at achieving high data rate, high reliability and low latency. 
	 The multiple streams of an XRM service use IP sessions to transport media contents
	 with the provisioning of advanced QoS settings. The XRM Metadata or PDU Set QoS
	 marking is used to differentiate the PDU Set requirements to the 5GS. RTP header
	 extension (HE), as defined by 3GPP, can be used to transport XRM
	 Metadata for un-encrypted media streams, while the encrypted XRM streams
	 post challenges for UPFs to extract the Metadata. This draft proposes to use
   the IETF UDP Option extension, by defining a new SAFE type, to help enhance the carry
   &amp; transport of encrypted XRM Metadata.
	</t>
</abstract>
</front>

<middle>
<section title="Introduction">
	<t>
		Extended Reality &amp; multi-modality communication, or XRM, 
		is a type of advanced service that has been studied and standardized in 3GPP <xref target="TS.23.501" />. 
		With the objective of achieving high data rate, high reliability and 
		low latency, it features multi-modal interactions 
		among a group of service entities that might be (geographically) distributed at the mobile network edges. The streams of an XRM service 
		have components of data from the modalities like video, audio, ambient-sensor and haptic detection.
		The benefits of seamlessly integrating multiple types of streams sourced via multiple inputs make it widely applicable in fields, like AR/VR, telepresence, gaming, education, etc.
	</t>

	<t>
		XRM services consolidate the inputs from more than one source and disseminate 
		information to multiple destinations, which indicates an XRM application 
		could be comprised of the input data from different kinds of devices/sensors or the output data to different types of destinations. This scheme possesses intrinsic advantages of providing services that would be complementary to each other, or even bearing progressive add-on gains, so that redundant delivery and information accuracy would be achieved effectively. 
	</t>

  <section title="5G XRM Service &amp; Transport Model">
		<t>
			Thanks to different requirements of 5G XRM media steams featuring
			coordinated throughput, low latency and high reliability, XRM service faces challenges on various aspects, e.g. characteristics of generated data across modalities, accurate multi-modality data synchronization, QoS differentiation, large volume of small packets, and packet-size variation, etc. <xref target="\5G.TACMM"/>.
			XRM services use (multiple) IP sessions to carry &amp; transport data streams. 
			With an IP session corresponding to one-modal stream, the coordinated transmission among 
			multi-modal flows (or streams) needs to be warranted. The client(s) of  
			different types of data of one application may be located at either one destination (e.g., a UE), 
			or multiple destinations (e.g. having VR glasses, gloves, and more). 
		</t>

		<t>
			5G uses the term PDU or Packet Data Unit to represent packets exchanged among 
			UEs (or end devices), RAN (or radio access network), 5GC (or 5G core network) and 
			external AppServers in DNNs (Data Networks). PDU is somewhat similar to APU or application data unit.
			A QoS Flow is the finest granularity of QoS differentiation in a PDU Session, 
			suggesting that all PDU packets belonging to a QoS flow 
			be treated according to the same QoS requirements <xref target="TS.23.501" />.
		</t>

		<t>
			5G XRM has defined a new term, namely the PDU Set, 
			specifying a group of packets carrying the payload of 
			e.g. a frame, a video slice/tile, etc. 
			Packets (i.e., PDUs) belonging to the same PDU Set 
			are decoded/handled as a whole, meaning	a frame/video slice may be decoded at the receiver
			only if all or certain amount of the packets carrying the frame/video slice are successfully delivered. 
			For example, a frame within a GOP (Group of Pictures) can only be decoded by the client in case all frames on which that frame depends are successfully received. Hence the groups of packets within a PDU Set have inherent dependency on each other in media layer. Without considering the inter-dependancy among the packets within a PDU set, 5GS may perform resource scheduling with low efficiency. 
			For example, upon network congestion, a 5GS may randomly 
			drop packet(s) but deliver other packets of the same PDU set that are deemed useless to the 
			client and thus waste radio resources <xref target="TS.23.501"/>.
		</t>

	 <!-- 
		<t>
			The similar impact is also applicable to audio samples, haptics applications or remote control operations. The inter-dependency among the packets of a PDU Set (e.g. a frame/video slice) can 
			possibly help enhance the efficiency and promote user experience.
	 	</t>
	 -->

		<t>
			<xref target="fig:5gsXRMtransportModel"/> shows the 5G XRM transport model.
			The network function(NF) UPF is similar to an IP-domain router, which sends/receives
			IP packets (or PDUs in PDU sets) off the N6 interface 
			to/from EAS'es (or App Servers) in Data Domains. 
			Normally, a UPF would use the IP 5-tuple 
			for packet classfication and prioritization 
			(i.e., using PDRs in the 3GPP 5G term <xref target="TS.23.501"/>).	
			However, a 5-tuple cannot expose thoroughly PDU and PDU Set
			related QoS information of XRM media streams. 
			As such, this draft will elucidate
			how to expose the information for effectively 
			addressing the data processing of XRM streams at the UPF in 5GS. 		
		</t>

	 	<figure anchor="fig:5gsXRMtransportModel" title="5G XRM Transport Model">
			<artwork><![CDATA[ 
     EAS: App Server in Data Domain
     ...........................................
     :         /----------------\              :     
     :         |     5G Core    |              :    
     :         \----------------/              :   
     :     N1   N2           N4                :
     :    /      |           |         <= Downlink direction
     :   /       |        +-------+            :
     +----+  +-------+    |       |            :   +-------------+  
     | UE |--|  gNB  |----|  UPF  (N6)---------:---|    EAS'es   |  
     +----+  +-------+    |       |            :   | (1 or more) |                           
     :                    +-------+            :   +-------------+
     :                     |    |        Uplink direction =>
     :                     +-N9-+              :
     ...........................................
	    ]]>
			</artwork>
		</figure>

 </section>

 <section title="Definitions of Terms">
 	<t>
	  <ul spacing="normal">
       <li> PDU Session: Association between the UE and a Data Network that provides a PDU  
       			(Packet Data Unit) connectivity service. </li>
       <li> PDU Set: One or more PDUs carrying the payload of one unit of information generated 
       			at the application level (e.g. frame(s), video slice(s), etc.). </li>
       <li> PDU Set information: the critical information describing the settings of a PDU set. 
       			It is comprised of multiple components and also called Metadata in the draft. </li>
       <li> PDU Set marking: Marking the PDUs carrying a payload with the PDU Set Information. </li>
       <li> Data Burst: A data burst is a group of multiple PDU Sets generated and sent by the application 
       			such that there is an idle period between two data bursts. A Data Burst can be composed 
       			of one or multiple PDU Sets. </li>
    </ul>
        
  </t>
 </section> <!-- End of section 'Term. definition' -->
</section> <!-- End of section 'Introduction' -->


<section title="Transport Un-encrypted 5G XRM Media and Metadata"
				anchor="TransportUnencryptedXRM">
    
  <section anchor="XRMQoSPDU-Set">
  	<name>5G XRM QoS enhancement for PDU Set</name>
    
		<t> 
    	XRM Media streams, potentially consisting of diversified framing, slicing
    	and encoding of video images, 
      contain additional parameters like the relative	importance among different PDUs
      that are generated from differrent types of frames. E.g., 
    	the I, P, B frames might determine tiered priorities among them. 
    	<xref target="TS.23.501"/> standardizes the enhancement to the 5GS QoS framework 
    	to support advanced settings of XRM PDU Sets, which are called 'XRM Metadata' in this draft. 
    	XRM Metadata supports differentiated QoS provisioning. 
    	For example, a Metadata component, the PDU Set Importance
    	or PSI could be downward-assigned to less-critical PDU Set(s) 
    	so as to de-prioritize the resource consumption of less important PDU Set(s).
    	In the case of another Metadata component, 
    	the PDU sequence number is assigned to a PDU for better ordered processing of
    	PDUs at receviers.
			<xref target="fig:5gsXRMPSQoS.RTPHE"/> demonstrates the PDU Set QoS information
			and how they would be generated and transported by App servers (EAS'es) in DNN.
		</t>

    <figure anchor="fig:5gsXRMPSQoS.RTPHE" title="XRM RTPHE at EAS'es">
			<artwork><![CDATA[
     EAS:       App Server in Data Domain
     PSQoSInfo: PDU Set QoS Information, e.g. PSI, PDU Seq.#, etc.
     RTP HE:    RTP Header Extension
     ...........................................
     :         /----------------\              :     
     :         |     5G Core    |              :    
     :         \----------------/              :   
     :     N1   N2           N4                :   
     :    /      |           |               <= DL
     :   /       |        +-------+            :  RTP HE(PSQoSInfo)
     +----+  +-------+    |       |            :   +-------------+  
     | UE |--|  gNB  |----|  UPF  (N6)---------:---|    EAS'es   |  
     +----+  +-------+    |       |            :   | (1 or more) |                           
     :                    +-------+            :   +-------------+
     :                     |    |            UL =>
     :                     +-N9-+              :
     ...........................................   
	    ]]>
			</artwork>
		</figure>

		<t>
		  The 3GPP document TS 26.522 <xref target="TS.26.522" /> has standardized how RTP would be 
		  extended to transport XRM media and Metadata information between an edge server (or EAS) 
		  and an end device.  As shown in the <xref target="fig:5gsXRMPSQoS.RTPHE"/>,
	 		the RTP header extension (HE) for PDU Set marking can be performed by an application server 
	 		(or EAS, RTP sender, etc.) for downstream XRM media traffic. TS 26.522 
	 		<xref target="TS.26.522" /> has defined both the one-byte and the two-byte RTP HE formats 
	 		<xref target="RFC8285" format="default" />, to accommodate the XRM metadata.
	 		Please see the <xref target="Appx.3GPP.RTPHE.Format"/> for the definitions of RTP HE formats.
 		</t>
 	</section> <!-- End of "5G XRM QoS enhancement for PDU-Set" -->
   
  <section anchor="XRMmetadata.PSmarking">
  	<name>PDU Set Marking for XRM Metadata</name>

	 	<t>
	 		According to the latest progress in 3GPP, the PDU Set marking for XRM metadata can
	 		be classified into three categories, namely:

	 		<ul spacing="normal">
	       <li> R18MA: Indicate the existing -mandatory- PDU Set markings as defined in the 3GPP Rel-18
	       						<xref target="TS.23.501"/>. </li>
	       <li> R18OP: Indicate the existing -optional- PDU Set markings as defined in the 3GPP Rel-18
	       						<xref target="TS.23.501"/>. There could be zero optional marking. </li>
	       <li> R19EX: Indicate the -extensible- PDU Set markings as defined in the 3GPP Rel-19
	       						<xref target="TR.23.700-70"/> and beyond (to accommodate any future
	       						extension). There could be zero extensible marking. </li>
	    </ul>
	  </t>

	  <t>
	   From the 3GPP perspective, the semantics of the RTP HE fields for PDU Set marking 
	   can be defined as follows:

	   <ul spacing="normal">
	   	<li> E (1-bit, R18MA): Indicate the End (or the last) PDU of a PDU Set. </li>
	   	<li> D (1-bit, R18MA): Indicate the End (or the last) PDU of a Data Burst; A Data Burst may 
	   		   consist of one or more PDU Sets. </li>
	   	<li> PSI (4-bit, R18MA): PDU Set Importance, indicating the importance of a PDU Set compared 
	   			to other PDU Sets within the same XRM Session. </li>
	   	<li> PSSN (10-bit, R18MA): PDU Set Sequence Number, indicating the sequence number of a PDU Set
	   			 to which the current PDU belongs. </li>
	   	<li> PSN (6-bit, R18MA):	PDU Sequence Number within a PDU Set: indicating the sequence number 
	   			 of the current PDU within the PDU Set. </li> 
	   	<li> PSSize (24-bit, R18OP): PDU Set Size, indicating the total size of all PDUs of a PDU Set 
	   			 to which this PDU belongs. </li>
	   	<li> NPDS (16-bit, R18OP): Number of PDUs in a PDU Set: indicating the total number of PDUs 
	   			 belonging to the same PDU Set.</li>
	   	<li> BSize (bit#-TBD, R19EX): Burst Size, indicating the size of a traffic burst,
	   			 which might be comprised of one or more PDU sets. </li>
	   	<li> TTNB (bit#-TBD, R19EX): Time to Next Burst, indicating the time 
	   		   between the end of the present burst and the beginning of the next burst. </li>
	   </ul>

	   Please see the <xref target="Appx.3GPP.RTPHE.Format"/> on how the above PDU Set markings
	   are encoded in an RTP extended header.
	  </t>

	</section> <!-- Section-END of PDU Set Marking for XRM Metadata -->
</section> <!-- End of section: Transport Un-encrypted 5G XRM Media and Metadata -->


<section title="Transport Encrypted 5G XRM Media and Metadata" 
	 			 anchor="TransportEncryptedXRM">
	
	<t>
  	There are other critical factors impacting the transport of encoded video packets. 
  	One of them is the ubiquitously-existential encryption of packet (header and) payload. 
  	For example, in the <xref target="fig:5gsXRMPSQoS.RTPHE"/>,  an EAS (or RTP
  	sender) sources &amp; transports XRM stream data, and associated Metadata. 
  	If both video contents and Metadata in a packet are encrypted at the source
  	(i.e., the UDP source), then the Metadata or so-called PDU Set QoS information
  	will remain hidden from intermediary routing entities, i.e., the UPF as
  	in the <xref target="fig:5gsXRMPSQoS.RTPHE"/>,
  	until the same packet reaches the UDP destination in a UE.
		That the encryption preventing an (intermediary) UPF from extracting XRM Metadata
		brings in a new dimension of challenge to the 5G XRM service.
	</t>

	<t>	
		The challenge revolving around the transport of encrypted XRM media leads to the 
		exploration &amp; adoption of several IETF mechanisms by 3GPP, with the focus on conveying
		critical XRM Metadata to UPFs. The 3GPP document <xref target="TR.23.700-70" /> has
		concluded to support three different schemes, namely the Media over QUIC (MoQT)
		<xref target="MediaOverQUIC" />, 
		the QUIC-Aware Proxying HTTP <xref target="QUICawareProxying" /> and, finally,
		the UDP Option extension <xref target="transportUDPoption" />.
	</t>

<!-- 
 <section anchor="IPDSCP4Encryption">
  	<name>Using IP-DSCP to Map Encrypted XRM Streams</name>
  <t>
		One scheme is to use the 6-bit DS field in an IP header <xref target="RFC2474"/>. 
		The fundamental advantage is that the IP-DSCP bits are not normally subject to the 
		encryption hurdle. However, the 6-bit DS field has only 64 DSCP combinations 
		which could not provide better granularity that is an equal important factor 
		for the further evolution of 5G advanced services. Another disadvantage is  
		DSCP does not have good hierarchy among its 6 bits. For example, while the objective to 
		promote the HDLLC (SST=6) was initially targetting at the XRM service, 
		it could also be customized	&amp; applied later to Metaverse service, i.e., another type 
		of HDLLC service which is being discussed in the 3GPP SA2 WG now. 
		Therefore, in the scenario (of HDLLC), any candidate novel scheme 
		should have the hierarchial capability to extend and accommodate the mappings for
		both the top-level SST, e.g., HDLLC itself, and the more granular sub-types, 
		e.g., XRM, Metaverse, etc., as discussed previously.
	</t>
 </section>
   No need to add this section IP-DSCP -->

 <section anchor="UDPoption4Encryption">
  	<name>Using UDP Option to Transport Encrypted XRM Metadata</name>
	<t>
		When we view the requirements of XRM payload and header	encryption, 
		along with the possible extensibility provided by
		<xref target="transportUDPoption"/>,
		we believe adopting the UDP Option is a feasbile solution.
	</t>

	<t>
		As shown in the <xref target="fig:5gsXRMPSMetadata.RTPHE" />, the UDP option
		scheme is supported to carry encrypted &amp; integrity-protected XRM metadata
		that is transported between the UPF and the EAS. Security keys for 
		UDP Option are negotiated between UPFs and EAS'es via a 3GPP-defined
		procedure. XRM Metadata corresponds to PDU Set information as 
		in <xref target="XRMmetadata.PSmarking" />. The UPF extracts the XRM Metadata
		from extended UDP options as defined in <xref target="fig:3GPPXRMPDU-setInfo" />.
	</t>

  <figure anchor="fig:5gsXRMPSMetadata.RTPHE" title="XRM RTPHE at EAS'es">
			<artwork><![CDATA[
     EAS:         App Server in Data Domain
     PSQoSMDInfo: PDU Set QoS Information, e.g. PSI, PDU Seq.#, etc.
     RTP HE:      RTP Header Extension
     ...........................................
     :         /----------------\              :     
     :         |     5G Core    |              :    
     :         \----------------/              :   
     :     N1   N2           N4           <= DL   
     :    /      |           |                 :   RTP + UDP-option
     :   /       |        +-------+            : (encrypted PSQoSMDInfo)
     +----+  +-------+    |       |            :   +-------------+  
     | UE |--|  gNB  |----|  UPF  (N6)---------:---|    EAS'es   |  
     +----+  +-------+    |       |            :   | (1 or more) |                           
     :                    +-------+            :   +-------------+
     :                     |    |            UL =>
     :                     +-N9-+              :
     ...........................................   
	    ]]>
			</artwork>
	</figure>

	<t>
		The <xref target="fig:3GPPXRMPDU-setInfo" /> shows the UDP option
		bit settings for XRM PDU Set information (i.e., XRM Metadata)
		(please reference to <xref target="XRMmetadata.PSmarking"/> 
		for more details). The
		'Kind' value will be allocated from the range [10...126] after
		registering to IANA. This UDP Option is a SAFE option type.
	</t>

	<figure anchor="fig:3GPPXRMPDU-setInfo" title="UDP Options for XRM PDU-Set information">
		 <artwork><![CDATA[

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |   Kind=TBD    |   Total-len   |   Len_EM      |E| R |D| PSI(4)|
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |      PSSN(10)     |  PSN(6)   |   Len_EO      |    PSSize     |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |     PSSize (cont. 24-bit)     |         NPDS (16-bit)         |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |    Len_EN     |       BSize + TTNB (size TBD ......)          |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    ]]>
		</artwork>
		</figure>

  <t>
	  <ul spacing="normal">
       <li> Total-len: Total number of bytes of this option, including Kind and Total-len fields. </li>
       <li> Len_EM: Total number of bytes for the existing -mandatory- PDU Set markings, which indicates
               the mandatory markings as defined in the Rel-18 <xref target="TS.23.501"/>, 
               including E, D, PSI, PSSN and PSN. </li>
       <li> Len_EO: Total number of bytes for the existing -optional- PDU Set markings, which indicates
               the optional markings as defined in the Rel-18 <xref target="TS.23.501"/>, 
               including PSSize and NPDS. Its value could be zero. </li>
       <li> Len_EN: Total number of bytes for the -extensible- PDU Set markings, which indicates
               the extensible markings that would be defined in later release(s), including 
               BSize and TTNB as defined in the Rel-19 <xref target="TR.23.700-70"/>. 
               Its value could be zero. </li>
    </ul>
        Note: Total-len = Len_EM + Len_EO + Len_EN
  </t>

	<t>
		The advantage of applying UDP Option helps remove adding RTP HE 
		to accommodate the XRM Metadata as defined in <xref target="TS.26.522" />. 
		The RTP HE is actually more suitable for un-encrypted media streams 
		(see <xref target="TransportUnencryptedXRM" />). 
		For un-encrypted DL PDUs (of a PDU-set) reaching a UPF, 
		the UPF extracts the XRM metadata for processing (from un-encrypted PDUs). 
		Comparably, for encrypted streams from EAS'es, the XRM metadata is carried 
		in (extended) UDP Options, for which there is no need to use the
		(redundant) RTP HE any more.
	</t>

		<t>
			Another advantage is that UDP
			is a layer-4 protocol and its header will normally not be processed by IP routers. Not only does 
			this relieve the processing burden off IP transport devices, but also gives a clear demarcation
			of the transport &amp; IP layer structure. 
		</t>
	</section> <!-- End of New UDP-option extension settings for 5G XRM -->

  <section anchor="5GSNotViolateUDPend2endRule">
  	<name>UDP-option for 5GS NOT-violate UDP Transport rule</name>
  
	<t>
		Some concerns are currently revolving around the extension of the UDP Option by arguing
		that UDP is a layer-4 transport protocol and its associated datagrams
		should be end-to-end processed, i.e., encapsulated at UDP sources and decapsulated at UDP destinations.
		The similar argument has been discussed in the Section 16 of <xref target="transportUDPoption" />.
		As in <xref target="fig:5gsXRMPSQoS.RTPHE"/>, we know the downlink IP packets enter 
		into the 5GS via the UPF N6 interface from the IP domain (DNN) (right-side in the figure). 
		The UPF functions to switch IP packets toward the UE (residing on the left side in the figure). 
		Obviously, the UE is the genuine end receiver (of a UDP datagram).
		The UPF is only an intermediary node taking on IP functionalities, which is
		nothing different from a regular IP-domain node. Therefore, applying the UDP Option extension and 
		having the intermediary (IP) node, e.g., a 5GS UPF, process UDP datagrams 
		might be indeed a concern of
		violating the end-to-end transport structure.
	</t>

	<t>
		Fortunately, there exist good arguments for the 5G XRM service to adopt the
		UDP Option extension. A 5GS is unique in that it is a composite system, as shown
		in the <xref target="fig:5gsXRMPSQoS.RTPHE"/>. It can be considered holistically as a 'blackbox'
		joining the external IP domain. It bears the 'Opaque' property to the outside.
		The IP DNN does not know that a UE and its anchored UPF (in 5GS) are
		two seperate entities, nor does it care. 
		Instead, it only cares to forward IP packets downstream 
		to the 5GS (via the N6 interface). How the 5GS (i.e., the UPF) may process
		packets is out of the scope (of the IP domain). Because of 5GS'	'composite &amp; transparent'
		characteristics, we believe that a 5GS (UPF) can be granted the capability
		to 'intelligently' break the IP-UDP demarcation rule by peeking at the 
		(encrypted) XRM Metadata that is carried in 
		UDP Option. To the external IP domain, this still observes the end-to-end transport rule.
	</t>

	<t>
  	Actually, there is already an I.D. discussing how to 
  	have end points explicitly distribute the encrpyted 
  	metadata to an intermediary network node <xref target="EncryptedMetaDataToNetworkNode"/>. As
  	shown in the <xref target="fig:5gsXRMPSQoS.RTPHE"/>, the UPF would be the node to
  	use the metadata to assist in decrypting the media contents (and/or headers). Once the UPF gets
  	all the detailed information, it can provision and enforce the QoS settings for the 
  	XRM streams <xref target="TS.23.501"/>.
  </t>

  <t>
		Further, the draft <xref target="transportUDPoption"/> also suggests clearly that the UDP Option 
		is just a framework. Options might be defined even when all the details (along with any potential
		extension) are not yet complete. 
		The use of such options can be described or supplemented
		in separate documents. This suggestion does bode well
		for the 5GS XRM service because our draft is exactly conforming to the tenet
		of the UDP Option framework.
  </t>

 </section> <!-- End of UDP-option for 5GS NOT-violate UDP end-to-end rule -->
</section> <!-- End of the discussion of IETF novel mechanisms -->





<section title="Security Considerations">
	<t>
		There is generally no security concern as long as the XRM Metadata is encrypted
		and integrity-protected during the transport in UDP Option extension. An AUTH
		UDP Option can be added to allow the UPF to detect any modification to the
		Metadata.
	</t>
</section>

<section title="IANA Considerations">
<t>
	IANA request to assign a new Kind from the SAFE range [10...126] of the
	UDP option registry as per <xref target="transportUDPoption"/>

	<artwork><![CDATA[
  
      Kind     Length       Meaning
      -----------------------------------------------------
      TBD      Varied       XRM Metadata (XRMeta)

   ]]>
	</artwork>
	
</t>
</section>

</middle>


<back>

<references title="Normative References">
<?rfc include="reference.RFC.2474.xml" ?>
<?rfc include="reference.RFC.8285.xml" ?>	

<reference anchor="\5G.TACMM">
        <front>
          <title>On the 5G Edge Network Challenges of Providing Tactile and Multi-modality Communication Services</title>

          <author initials="T" surname="Jiang">
            <organization/>
          </author>

          <author initials="X" surname="Shi">
            <organization/>
          </author>

          <author initials="J" surname="Gao">
            <organization/>
          </author>

          <author initials="P" surname="Liu">
            <organization/>
          </author>

          <date month="December" year="2021"/>
        </front>

        <seriesInfo name="International Conference on Edge Computing - EDGE'2021" value=""/>
</reference>

<reference anchor="TS.23.501">
        <front>
          <title>3GPP TS 23.501 (V17.0.0): System Architecture for 5G System; Stage 2</title>

          <author initials="3GPP">
            <organization/>
          </author>

          <date month="March" year="2021"/>
        </front>

        <seriesInfo name="" value="3GPP TS 23.501"/>
</reference>


<reference anchor="TS.24.501">
        <front>
          <title>3GPP TS 24.501: Non-Access-Stratum (NAS) protocol for 5G System (5GS)</title>
          <author initials="3GPP">
            <organization/>
          </author>
          <date month="September" year="2022"/>
        </front>

        <seriesInfo name="" value="3GPP TS 24.501"/>
</reference>

<reference anchor="TS.26.522">
        <front>
          <title>3GPP TS 26.522: 5G Real-time Media Transport Protocol Configurations</title>
          <author initials="3GPP">
            <organization/>
          </author>
          <date month="June" year="2024"/>
        </front>

        <seriesInfo name="" value="3GPP TS 26.522"/>
</reference>

<reference anchor="TR.23.700-70">
        <front>
          <title>3GPP TR 23.700-70:: Study on architecture enhancement for Extended Reality 
          	     and Media service (XRM); Phase 2</title>
          <author initials="3GPP">
            <organization/>
          </author>
          <date month="September" year="2024"/>
        </front>

        <seriesInfo name="" value="3GPP TR 23.700-70"/>
</reference>

<reference anchor="transportUDPoption">
        <front>
          <title>Transport Options for UDP</title>

          <author initials="J" surname="Touch">
            <organization/>
          </author>
       
          <date month="October" year="2024"/>
        </front>

        <seriesInfo name="" value="draft-ietf-tsvwg-udp-options-33"/>
</reference>

<reference anchor="MediaOverQUIC">
        <front>
          <title>Media over QUIC Transport</title>

          <author initials="L." surname="Curley">
            <organization/>
          </author>
       
          <date month="October" year="2024"/>
        </front>

        <seriesInfo name="" value="draft-ietf-moq-transport-05"/>
</reference>

<reference anchor="QUICawareProxying">
        <front>
          <title>QUIC-Aware Proxying Using HTTP</title>

          <author initials="T." surname="Pauly">
            <organization/>
          </author>
       
          <date month="October" year="2024"/>
        </front>

        <seriesInfo name="" value="draft-ietf-masque-quic-proxy-03"/>
</reference>

<reference anchor="EncryptedMetaDataToNetworkNode">
        <front>
          <title>An Approach for Encrypted Transport Protocol Path Explicit Signals</title>

          <author initials="T." surname="Reddy">
            <organization/>
          </author>
       
          <date month="July" year="2023"/>
        </front>

        <seriesInfo name="" value="draft-reddy-tsvwg-explcit-signal-01"/>
</reference>

</references>	 <!-- END of 'normative reference' -->

<references title="Informative References">
	<reference anchor="GSMAnewSSTforXRM">
	        <front>
	          <title>LS reply on a new SST value for Extended Reality and Media Services</title>

	          <author initials="" surname="GSMA">
	            <organization/>
	          </author>

	          <date month="February" year="2023"/>
	        </front>

	        <seriesInfo name="" value="https://www.3gpp.org/ftp/tsg_sa/WG2_Arch/TSGS2_157_Berlin_2023-05/Docs/S2-2306269.zip"/>
	</reference>

	<reference anchor="\3GPPnewSSTforXRM">
	        <front>
	          <title>Introduction of a new standard SST for Extended Reality and Media Services</title>

	          <author initials="" surname="3GPP">
	            <organization/>
	          </author>

	          <date month="May" year="2023"/>
	        </front>

	        <seriesInfo name="" value="https://www.3gpp.org/ftp/tsg_sa/WG2_Arch/TSGS2_157_Berlin_2023-05/Docs/S2-2308186.zip"/>
	</reference>

</references>	


<section title="3GPP Defined RTP HE Format" anchor="Appx.3GPP.RTPHE.Format">
	<t>
		The 3GPP document <xref target="TS.26.522" /> has defined two formats of RTP Header Extension
		for the marking of PDU Sets and XRM Metadata, 
		namely the one-byte RTP HE and the two-byte RTP HE. The following two figures correspond to
		the two formats, respectively. Please note that, as of now, 
		both HE extensions in <xref target="TS.26.522" /> 
		conform to the standards of the Rel-18 in <xref target="TS.23.501"/>.
	</t>

	<section anchor="Format:RTPHE.OneByte">
  	<name>One-byte RTP Header Extension</name>

		<figure anchor="fig:RTPHE.OneByte" title="One-byte RTP HE for XRM Metadata">
		 <artwork><![CDATA[

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |     0xBE      |      0xDE     |            length             |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |   ID  |  len  |E| R |D|  PSI  |       PSSN        |    PSN    |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                     PSSize                    |      NPDS     |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |  NPDS (cont.) |        
     +-+-+-+-+-+-+-+-+
    ]]>
			</artwork>
		</figure>
	</section>

	<section anchor="Format:RTPHE.TwoByte">
  	<name>Two-byte RTP Header Extension</name>
		<figure anchor="fig:RTPHE.TwoByte" title="Two-byte RTP HE for XRM Metadata">
		 <artwork><![CDATA[

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |            0x100      |appbits|            length             |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |       ID      |      len      |E| R |D|  PSI  |      PSSN     |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |   |   PSN     |                    PSSize                     |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |              NPDS             |        
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 	   ]]>
			</artwork>
		</figure>
	</section>

</section>

</back>
</rfc>
