How to get the real consumption reporting data in Media Player #50
Replies: 7 comments
-
@shilinding: Is this a question about the client API between the Media Stream Handler (Media Player) and the Media Session Handler? Have you checked clause 13 of TS 26.512 which describes the Media Stream Handler API at reference point M7? Relevant to your question, I see the following general statement in clause 13.2.7:
More specifically:
Combined with information about each current media session latched by the Media Session Handler at the start of each media streaming session (e.g. the Media Entry Point URL), and other information gathered through local Android APIs, does this provide you with the information you need in order to populate a Consumption Report? It feels like a short piece of analysis would help bring this problem into better focus. Perhaps you could create a little HTML table below listing the fields you need to populate and the source of the information to populate each field. (This would also be a good documentation of your implementation design.) |
Beta Was this translation helpful? Give feedback.
-
To detect a change of UE location (one of the consumption reporting triggers you list above), the Media Session Handler may need to use a suitable Android API outside the scope of 3GPP standardisation. For the timer-based consumption reporting trigger you will need to find a suitable Android timer API, of course. |
Beta Was this translation helpful? Give feedback.
-
Thanks Richard. |
Beta Was this translation helpful? Give feedback.
-
Ah. I see. So you question is about how the Media Stream Handler gets the required information from its Media Player (e.g. Exoplayer)? If I have understood correctly, this is not feedback on 3GPP standards, but rather an implementation question. So I think this issue has been raised in the wrong repository. Suggest you close this issue and open a new one in here: https://github.com/5G-MAG/rt-5gms-media-session-handler/issues/, tagging it as a Question and assigning to @dsilhavy. |
Beta Was this translation helpful? Give feedback.
-
@shilinding I suggest you look into the ExoPlayer API to find the right calls. As Richard suggested it might be good to create a simple table like this:
I will do something similar for metric reporting. Maybe this also helps: https://exoplayer.dev/track-selection.html |
Beta Was this translation helpful? Give feedback.
-
@dsilhavy why did you move this one away from the standards repo? |
Beta Was this translation helpful? Give feedback.
-
Because from my understanding, the questions are not specification related but rather how to derive the required information from the media player |
Beta Was this translation helpful? Give feedback.
-
Problem description
TS26.512-h40 clause 4.7.4 only defines the conditions for consumption reporting, but I can't find how to get the real consumption reporting data in the Media Stream Handler.
The conditions are defined as follows:
Beta Was this translation helpful? Give feedback.
All reactions