Sunshine master
Self-hosted game stream host for Moonlight.
stream::video_short_frame_header_t Struct Reference

Packed short video frame header sent before video payload bytes. More...

Public Member Functions

uint8_t * payload ()
 Return a pointer to the protocol payload following the packet header.
 

Public Attributes

boost::endian::little_uint16_at frame_processing_latency
 Frame processing latency.
 
std::uint8_t frameType
 Frame type.
 
std::uint8_t headerType
 Always 0x01 for short headers.
 
boost::endian::little_uint16_at lastPayloadLen
 Last payload len.
 
std::uint8_t unknown [2]
 Reserved bytes with no known client-visible meaning.
 

Detailed Description

Packed short video frame header sent before video payload bytes.

Member Function Documentation

◆ payload()

uint8_t * stream::video_short_frame_header_t::payload ( )
inline

Return a pointer to the protocol payload following the packet header.

Returns
Parsed or serialized payload data.

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