I downloaded the dump from chrome://webrtc-internals
now i want to make sense from this data and plot some graph as to show the packet loss and other stuffs which is included in the dump
I can see the graphs in chrome://webrtc-internals only , but i want to do this stuff by myself and in process also understand the logs better.
What does each field means
Till now i can only understand that it is a json dump.
please help me out?
The value arrays that you see under under each log item are the value that is gathered for that item for that second. So, for
values[0]
is the log information gathered for that category for the first second. So, match the ssrc with the one provided in the SDPs to get each ssrc's log information for each second.Explained further:
This shows that there is no packet lost for ssrc
1814250626
and shows that there was zero packet loss for each second for the log period.We can compare the ssrc value against the SDPs that are exchanged to get who and what media type each source represents.
We can see from above that since it is an
createOfferOnSuccess
event, then we know that it is the local parties SDP. Following this we can see that local Audio isssrc:1814250626
and local video isssrc:477546681
. So, to get the stats on the local video, just grab each value array that begins withssrc_477546681
. It also gives you the log start time and end time in that same json object.If they value stays the same in the value array (numerous of the same value):
Then you can bet it did not change for each second during the log period.