Closed dsilhavy closed 1 year ago
The consumption reports for a location change are directly dispatched by the Media Stream Handler. The Media Session Handler resets its internal timer for requesting the consumption reports once receiving a consumption report. This is implemented in #44
Feature description
TS 26.512 Section 4.7.4 defines procedures for consumption reporting. One requirement is the handling of location changes:
For that reason the MediaStreamHandler sends a
consumption_location_changed
event once the location has changed (see https://github.com/5G-MAG/rt-5gms-media-stream-handler/issues/55). The MediaSessionHandler then needs to check ifclientConsumptionReportingConfiguration.locationReporting
is set totrue
. Iftrue
the MediaSessionHandler requests a consumption report from the MediaStreamHandler similar to what is already being done once thereportingInterval
has elapsed.Whenever a consumption report is produced, the Media Session Handler shall reset its reporting interval timer to the value of the clientConsumptionReportingConfiguration.reportingInterval property and it shall begin countdown of the timer again.