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

Packed RTP and video headers for an unencrypted video packet. More...

Public Member Functions

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

Public Attributes

NV_VIDEO_PACKET packet
 GameStream video packet header.
 
char reserved [4]
 Reserved protocol padding bytes.
 
RTP_PACKET rtp
 RTP header that prefixes this payload.
 

Detailed Description

Packed RTP and video headers for an unencrypted video packet.

Member Function Documentation

◆ payload()

uint8_t * stream::video_packet_raw_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: