Add support for LTR ACK control messages (#122)
* Add support for LTR ACK control messages
This commit is contained in:
parent
435bc6a5a4
commit
2a5a1f3e8a
5 changed files with 121 additions and 44 deletions
|
|
@ -55,7 +55,7 @@ extern uint32_t EncryptionFeaturesEnabled;
|
|||
|
||||
// ENet channel ID values
|
||||
#define CTRL_CHANNEL_GENERIC 0x00
|
||||
#define CTRL_CHANNEL_URGENT 0x01 // IDR and reference frame invalidation requests
|
||||
#define CTRL_CHANNEL_URGENT 0x01 // IDR, LTR ACK and RFI
|
||||
#define CTRL_CHANNEL_KEYBOARD 0x02
|
||||
#define CTRL_CHANNEL_MOUSE 0x03
|
||||
#define CTRL_CHANNEL_PEN 0x04
|
||||
|
|
@ -119,7 +119,7 @@ int startControlStream(void);
|
|||
int stopControlStream(void);
|
||||
void destroyControlStream(void);
|
||||
void connectionDetectedFrameLoss(uint32_t startFrame, uint32_t endFrame);
|
||||
void connectionReceivedCompleteFrame(uint32_t frameIndex);
|
||||
void connectionReceivedCompleteFrame(uint32_t frameIndex, bool frameIsLTR);
|
||||
void connectionSawFrame(uint32_t frameIndex);
|
||||
void connectionSendFrameFecStatus(PSS_FRAME_FEC_STATUS fecStatus);
|
||||
int sendInputPacketOnControlStream(unsigned char* data, int length, uint8_t channelId, uint32_t flags, bool moreData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue