5G-MAG / rt-5gms-application-function

5G Media Streaming - Application Function
https://www.5g-mag.com/streaming
Other
11 stars 6 forks source link

QoE Metrics Reporting: Stored XML files contain "null" in name #154

Closed dsilhavy closed 7 months ago

dsilhavy commented 7 months ago

Description

When sending QoE metrics reports from the Media Session Handler to the Application Function the XML based reports are stored on the disk. The name that is used to store the reports currently contains "null" , for example:

(null)_42c716b3e6cb4cc085f982cd5c31749b_2024-04-03T07:08:19.057Z.xml

It looks like ReceptionReport@clientID is not correctly parsed from the payload. Note that clientID contains a capital "D". See 26.247: <xs:attribute name="clientID" type="xs:string" use="optional"/>

Example

<?xml version="1.0" encoding="utf-8"?>
<ReceptionReport xmlns:sv="urn:3gpp:metadata:2016:PSS:schemaVersion"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    clientID="ccbb0e79-b058-4e14-99a4-8fb3a19eaa4a"
    contentURI="http://192.168.2.7/m4d/provisioning-session-79317e40-f187-41ee-97be-037bee82f205/elephants_dream/1/client_manifest-all.mpd"
    xmlns="urn:3gpp:metadata:2011:HSD:receptionreport"
    xsi:schemaLocation="urn:3gpp:metadata:2011:HSD:receptionreport DASH-QoE-Report.xsd">
    <QoeReport periodID="" recordingSessionId="42c716b3e6cb4cc085f982cd5c31749b"
        reportPeriod="10" reportTime="2024-04-03T07:08:19.057Z">
        <QoeMetric>
            <BufferLevel>
                <BufferLevelEntry level="0" t="2024-04-03T07:08:13.851Z" />
                <BufferLevelEntry level="0" t="2024-04-03T07:08:13.923Z" />
                <BufferLevelEntry level="0" t="2024-04-03T07:08:17.235Z" />
                <BufferLevelEntry level="0" t="2024-04-03T07:08:18.423Z" />
                <BufferLevelEntry level="0" t="2024-04-03T07:08:18.529Z" />
                <BufferLevelEntry level="0" t="2024-04-03T07:08:18.722Z" />
                <BufferLevelEntry level="1480" t="2024-04-03T07:08:18.851Z" />
            </BufferLevel>
        </QoeMetric>
        <QoeMetric>
            <MPDInformation representationId="128kbps">
                <Mpdinfo bandwidth="128000" codecs="mp4a.40.2" mimeType="audio/mp4" />
            </MPDInformation>
            <MPDInformation representationId="704x396p25">
                <Mpdinfo bandwidth="1792632" codecs="avc3.4d401e" frameRate="25.0" height="396"
                    mimeType="video/mp4" width="704" />
            </MPDInformation>
        </QoeMetric>
        <QoeMetric>
            <RepSwitchList>
                <RepSwitchEvent mt="P0Y0DT0H0M0S" t="2024-04-03T07:08:18.454Z" to="128kbps" />
                <RepSwitchEvent mt="P0Y0DT0H0M0S" t="2024-04-03T07:08:18.589Z" to="704x396p25" />
            </RepSwitchList>
        </QoeMetric>
        <sv:delimiter>0</sv:delimiter>
    </QoeReport>
</ReceptionReport>