Re: [webrtc-stats] Interframe delay stat for video receive stream. (#229)

@henbos 

Thank you once again.
Pardon me for seeking some clarification.

The [spec](https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-lastpacketreceivedtimestamp) says 
```
lastPacketReceivedTimestamp of type DOMHighResTimeStamp

Represents the timestamp at which the last packet was received for this SSRC. 
This differs from timestamp, which represents the time at which the statistics were 
generated by the local endpoint.
```
Now what i can understand from this is 
[a] ```lastPacketReceivedTimestamp``` is the time at which the RTP packet was received.
[b] ```timestamp``` is the time at which stats were generated (which would be >= ```lastPacketReceivedTimestamp```)

It is possible that ```lastPacketReceivedTimestamp``` is the timestamp in the 
[RTP packet](http://www.siptutorial.net/RTP/header.html)  itself ? If this is so then
this is luckily what i want but not what was intended as per the spec (as
you have rightly pointed out).

Finally this leaves me with the question:
Is there a way through statistics or by other means to get the timestamp present in the 
[RTP packet](http://www.siptutorial.net/RTP/header.html) itself ? May be a timestamp
range for the RTP packets in the decode buffer (sorry for being wishful).

-- 
GitHub Notification of comment by ksridhar
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/229#issuecomment-525218373 using your GitHub account

Received on Tuesday, 27 August 2019 09:22:46 UTC