Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::rtcp::header::NtpTimestamp64 Class Reference

64-bit NTP timestamp. More...

#include <roc_rtcp/headers.h>

Public Member Functions

packet::ntp_timestamp_t value () const
 Get NTP timestamp value.
 
void set_value (const packet::ntp_timestamp_t t)
 Set NTP timestamp value.
 

Detailed Description

64-bit NTP timestamp.

0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| NTP timestamp, most significant word |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| NTP timestamp, least significant word |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

From RFC 3550.

Definition at line 253 of file headers.h.

Constructor & Destructor Documentation

◆ NtpTimestamp64()

roc::rtcp::header::NtpTimestamp64::NtpTimestamp64 ( )
inline

Definition at line 259 of file headers.h.

Member Function Documentation

◆ set_value()

void roc::rtcp::header::NtpTimestamp64::set_value ( const packet::ntp_timestamp_t  t)
inline

Set NTP timestamp value.

Definition at line 270 of file headers.h.

◆ value()

packet::ntp_timestamp_t roc::rtcp::header::NtpTimestamp64::value ( ) const
inline

Get NTP timestamp value.

Definition at line 264 of file headers.h.


The documentation for this class was generated from the following file: