As part of the ConsumptionReportingUnit type as defined in 26.512 Table 11.3.3.2 the mediaConsumed property identifies the consumed media. In the case of DASH, the value of the Representation@id attribute shall be quoted. Moreover, the startTime and the duration property define the time when a consumption reporting unit started and the duration of a specific consumption unit respectively.
Problem description
During the implementation the two following questions arose:
What value does duration hold in case the Representation referenced in mediaConsumed is still playing?
Should the last selected ConsumptionReportingUnit be reported until a new Representation is selected? Otherwise, the duration can only be specified once.
The last (or only) Consumption Reporting Unit in a consumption report describes the media currently being consumed and indicates how long the Representation has been playing. If there is no change in the Representation when the next consumption report needs to be sent to the 5GMS AF, this Consumption Reporting Unit is repeated verbatim except for the duration property which is updated with the longer duration. The last (or only) Consumption Reporting Unit in the final consumption report sent to the 5GMS AF therefore describes the last Representation consumed during the media streaming session.
Context
As part of the ConsumptionReportingUnit type as defined in 26.512 Table 11.3.3.2 the
mediaConsumed
property identifies the consumed media. In the case of DASH, the value of theRepresentation@id
attribute shall be quoted. Moreover, thestartTime
and theduration
property define the time when a consumption reporting unit started and the duration of a specific consumption unit respectively.Problem description
During the implementation the two following questions arose:
duration
hold in case the Representation referenced inmediaConsumed
is still playing?Suggested solution
A suggested solution is documented here: https://github.com/5G-MAG/rt-5gms-media-session-handler/issues/3#issuecomment-1735900907. In summary:
Moreover, an explanation of the current implementation is provided here: https://github.com/5G-MAG/rt-5gms-media-stream-handler/issues/52