mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 13:59:58 +00:00
Add support for LTR ACK control messages (#122)
* Add support for LTR ACK control messages
This commit is contained in:
1 parent
435bc6a5a4
commit
2a5a1f3e8a
5 files changed
+121
-44
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user