This clause describes the baseline procedure for establishing a unicast uplink media streaming session. This baseline procedure assumes that the 5GMSu AF and the 5GMSu AS both reside in the external DN and that there are no interactions between the 5GMSu AF and the 5G System.
During provisioning, the Media Streamer component of the 5GMSu Client is provisioned with basic information, such as the 5GMSu AF and 5GMSu AS addresses.
The 5GMSu-Aware Application acquires Service Access Information via reference point M8u or M5u according to the one of the procedures defined in clause 6.2.2.2.
This clause defines procedures by which a 5GMSu Application Provider authorises a 5GMSu-Aware Application to invoke media streaming operations on the 5GMSu AF at reference point M5u.
The 5GMSu Application Provider provides a different access token (e.g. a random string) via M8 to each 5GMSu-Aware Application, so that each application instance can identify itself uniquely to the 5GMSu AF. The access token is provided, for example, during the login procedure or is requested at a later stage. The validity of access tokens is often limited in time. The 5GMSu-Aware Application may need to refresh the access token depending on the token validity.
The 5GMSu-Aware Application passes the access token (via an M6 API call) to the Media Session Handler. When the Media Session Handler invokes a media session handling operation at reference point M5, it presents the access token to the 5GMSu AF. Upon receipt of such an access token, the 5GMSu AF verifies whether the access token is valid. If the token is valid, the 5GMSu-Aware Application is authorised to invoke the operation.
When the OAuth 2.0 architecture RFC 6749 is used, the 5GMSu Application provider acts as authorization server, the 5GMSu-Aware Application acts as client and the 5GMSu AF acts as resource server.
The procedure allows a Media Streamer to establish an uplink streaming session with a 5GMSu AS.
During provisioning, the Media Streamer component of the 5GMSu Client is provisioned with basic information, such as the 5GMSu AF and 5GMSu AS addresses.
The 5GMSu-Aware Application acquires Service Access Information via reference point M8u or M5u according to the one of the procedures defined in clause 6.2.2.2.
When the OAuth 2.0 (RFC 6749) Authorization Code grant type is used, either the 5GMSu Application Provider or the 5GMSu AF acts as authorization server, as shown in Figure 6.3.3.3-1. The Media Session Handler acts as client and the 5GMSu AF acts as resource server.
When the 5GMSu-Aware Application (immediately or later) invokes the Media Session Handler to activate media session handling for a media delivery session, the application passes only the session access information.
The 5GMSu AF identifies that authorization is required for accessing the requested service. The 5GMSu AF sends a redirect to the Media Session Handler, which is forwarded to the 5GMSu-Aware Application.
The 5GMSu-Aware Application requests an access token from the authorization server, which is realised either by the 5GMSu Application Provider (at reference point M8u) or by the 5GMSu AF (at reference point M5u).
After determining the policy rights of the requesting 5GMSu-Aware Application, the authorization server creates an access token and provides it to the 5GMSu-Aware Application.
The 5GMSu-Aware Application attempts to activate the service again, this time providing the access token obtained in the previous step as an additional input parameter.
If the 5GMSu AF is satisfied that the 5GMSu-Aware Application is authorised to invoke the media session handling operation (based on the presented access token), the 5GMSu AF carries out the requested operation. (This may involve further interaction with the PCF or NEF.)