The 5GMSu Application Provider uses 5GMSu functions for uplink streaming services. It provides a 5GMSu-Aware Application on the UE the ability to make use of 5GMSu Client and network functions using 5GMSu interfaces and APIs.
The architecture in Figure 4.3.1-1 above represents the specified 5GMSu functions within the 5G System (5GS) as defined in TS 23.501. Three main functions are defined:
5GMSu AF: An Application Function similar to that defined in clause 6.2.10 of TS 23.501, dedicated to 5G Uplink Media Streaming.
5GMSu AS: An Application Server dedicated to 5G Uplink Media Streaming.
5GMSu Client: A UE-internal function dedicated to 5G Uplink Media Streaming.
5GMSu AF and 5GMSu AS are Data Network (DN) functions and communicate with the UE via N6 as defined in TS 23.501.
Functions in trusted DNs, e.g., a 5GMSu AF in the Trusted DN, are trusted by the operator's network as illustrated in Figure 4.2.3-5 of TS 23.501. Therefore, such AFs may directly communicate with relevant 5G Core functions.
Functions in external DNs, e.g., a 5GMSu AF in the External DN, may only communicate with 5G Core functions via the NEF using N33.
The architecture in Figure 4.3.1-2 below represents the media architecture connecting UE internal functions and related network functions for 5G Uplink Media Streaming.
5G Media Streaming Client for uplink (5GMSu Client) on UE: Originator of 5GMSu service that may be accessed through well-defined interfaces/APIs. The UE may also be implemented in a self-contained manner such that interfaces M6u and M7u are not exposed at all.
The 5GMSu Client contains two subfunctions:
Media Session Handler: A function on the UE that communicates with the 5GMSu AF in order to establish, control and support the delivery of a media session, and that may perform QoE metrics reporting. The Media Session Handler exposes APIs that can be used by the 5GMSu-Aware Application. The Media Session Handler may be launched by a 3GPP-defined Service URL (see clause 4.10).
Media Streamer: A function on the UE that communicates with the 5GMSu AS in order to perform real-time or non-real-time uplink streaming of media content and provides a service to both the 5GMSu-Aware Application for media capturing and uplink streaming and the Media Session Handler for media session control.
5GMSu-Aware Application: The 5GMSu Client is typically controlled by an external media application, e.g. an App, which implements external application or content service provider specific logic and enables a media session to be established. The 5GMSu-Aware Application is not defined within the 5G Media Streaming specifications, but the function makes use of 5GMSu Client and network functions using 5GMSu interfaces and APIs.
5GMSu AS: An Application Server which hosts 5G media functions. Note that there may be different realizations of a 5GMSu AS, for example a Content Delivery Network (CDN) server.
5GMSu Application Provider: External application or content-specific media functionality, e.g., media storage, consumption, transcoding and redistribution that uses 5GMSu interfaces to receive streaming media from 5GMSu Aware Applications.
5GMSu AF: An Application Function that provides various control functions to the Media Session Handler on the UE and/or to the 5GMSu Application Provider. It may relay or initiate a request for different Policy or Charging Function (PCF) treatment or interact with other network functions via the NEF.
The following interfaces are defined for 5G Uplink Media Streaming:
M1u (5GMSu Provisioning API): External API, exposed by the 5GMSu AF and which enables the 5GMSu Application Provider to provision the usage of the 5G Media Streaming system for uplink media streaming and to obtain feedback.
M2u (5GMSu Publish API): Optional External API exposed by the 5GMSu AS used when the 5GMSu AS in the trusted DN is selected to receive the content for the streaming service.
M3u: Internal API used by a 5GMSu AF to configure and manage a 5GMSu AS instance.
M4u (Uplink Media Streaming APIs): APIs exposed by a 5GMSu AS to the Media Streamer to stream media content.
M5u (Media Session Handling API): APIs exposed by a 5GMSu AF to the Media Session Handler for media session handling, control and assistance that also include appropriate security mechanisms e.g. authorization and authentication, and QoE metrics reporting.
M6u (UE Media Session Handling APIs): APIs that may be exposed by a Media Session Handler to the Media Streamer for client-internal communication, and to the 5GMSu-Aware Application to make use of 5GMSu functions. This API may be supported by a 3GPP-defined Service URL (see clause 4.10).
M7u (UE Media Streamer APIs): APIs that may be exposed by a Media Streamer to the 5GMSu-Aware Application and Media Session Handler to make use of the Media Streamer, including configuration of QoE metrics to be measured and logged, and the collection of metrics measurement logs.
M8u: (Application API): application interface used for information exchange between the 5GMSu-Aware Application and the 5GMSu Application Provider, for example to provide Service Access Information to the 5GMSu-Aware Application. This API is external and not specified in the 5GMS architecture.
The UE may include many detailed subfunctions that can be used individually or controlled individually by the 5GMSu-Aware Application. This clause breaks down several relevant identified subfunctions for which stage 3 specification is available.
The 5GMSu-Aware Application itself may include many functions that are not provided by the 5GMSu Client or to the 5G UE. Examples include peripheral discovery, notifications and social network integration. The 5GMSu-Aware Application may also include functions that are equivalent to ones provided by the 5GMSu Client and may only use a subset of the 5GMSu Client functions.
With respect to the Media Streamer and Media Handler functions, Figure 4.3.2-1 shows more detailed functional components of a 5GMSu Client.
The following subfunctions are identified as part of a more detailed breakdown of the UE 5G Uplink Media Streaming functions:
5GMSu-Aware Application: application which is out of scope of the present specification and which uses the UE 5G Uplink Media Streaming functions and APIs.
Media Capturing: Devices such as video cameras or microphones that transform an analogue media signal into digital media data.
Media Encoder(s): Compresses the media data.
Media Upstream Client: encapsulates encoded media data and pushes it upstream to the 5GMSu AS in real time or non-real time.
Network Assistance: uplink streaming delivery assisting functions provided by the network to the 5GMSu Client and Media Streamer in the form of bit rate recommendation (or throughput estimation) and/or delivery boost. Network Assistance functionality may be supported by 5GMSu AF or ANBR-based RAN signalling mechanisms.
Dynamic Policy: involves interacting with the 5GMSu AF to instantiate Policy Templates that change the network Quality of Service for an uplink media streaming session. Policy Templates may be selected based on interactions with the Media Streamer.
Core Functions: configures the 5GMSu AS for uplink streaming reception.
Service URL Handling: a UE function that handles 3GPP Service URLs (see clause 4.10) to support the launch of 5GMSu services and associated functions in the UE and in the network.
Here are the roles of the different APIs of the UE 5G Uplink Media Streaming functions:
M6u: API used to control the Core Functions and the Media Remote Control function.
M7u: API used to configure, activate and stop the Media Capturing, Media Encoding(s) and Media Upstream Client functions, and also to support metrics configuration and collection functionality.
The Service Access Information is the set of parameters and addresses which are needed by the 5GMSu Client to activate and control the uplink streaming session.
The Service Access Information may be provided by the 5GMSu Application Provider to the 5GMSu-Aware Application together with other service announcement information using M8u. Alternatively, the 5GMSu Client fetches the Service Access Information from the 5GMSu AF at reference point M5u. Regardless of how it is provided, the Service Access Information contains different information, depending on the collaboration model between the 5GMS System and the 5GMSu Application Provider (which are assumed to be independent entities), and also depending on offered features. The Service Access Information may be provided as, or may be accessed via, a 3GPP-defined Service URL that provides a unique resolvable identifier to the 5GMSu media session and that may also include a reference to the Media Entry Point.
Baseline parameters are listed in Table 4.3.3-1 below:
A set of entry points. Each entry point consists of one of the following:
A URL endpoint on the 5GMSu AS to which media can be streamed directly at M4u and its associated data, or
The URL of a document that can be downloaded from the 5GMSu AS which contains the parameters for uplink media streaming at M4u.
A Media Streamer Entry document may additionally include Service Descriptions, each one identified by an External reference that enables it to be matched with a Policy Template, and each describing the set of media streaming parameters (e.g., bit rate, target latency) that realise a Service Operation Point.
A Media Streamer Entry URL may be embedded in a 3GPP Service URL.
Each entry point is defined by its parameters and identifiers. The set shall have at least one member.
When the dynamic policy invocation feature is activated for an uplink streaming session the parameters from Table 4.3.3-3 below are additionally present.
A list of 5GMSu AF addresses (in the form of opaque URLs) which offer the APIs for dynamic policy invocation sent by the 5GMS Media Session Handler.
Valid Policy Template Ids
A list of Policy Template identifiers which the 5GMSu Client is authorized to use.
Service Data Flow Methods
A list of recommended Service Data Flow description methods (descriptors), e.g. 5-Tuple, ToS, 2-Tuple, etc, which should be used by the Media Session Handler to describe the Service Data Flows for the traffic to be policed.
External reference
Additional identifier for this Policy Template, unique within the scope of its Provisioning Session, that can be cross-referenced with external metadata about the streaming session.
When 5GMSu AF-based Network Assistance is activated for an uplink streaming session the parameters from Table 4.3.3-4 below shall be additionally present.
5GMSu AF address that offers the APIs for 5GMSu AF-based Network Assistance, accessed by the 5GMSu Media Session Handler. The server address shall be an opaque URL, following the 5GMS URL format.