mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-23 08:29:15 +00:00
Add a recording mode for debugging purposes
This commit is contained in:
@@ -190,6 +190,11 @@ int LiStartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION stre
|
||||
memcpy(&VideoCallbacks, drCallbacks, sizeof(VideoCallbacks));
|
||||
memcpy(&AudioCallbacks, arCallbacks, sizeof(AudioCallbacks));
|
||||
|
||||
#ifdef LC_DEBUG_RECORD_MODE
|
||||
// Install the pass-through recorder callbacks
|
||||
setRecorderCallbacks(&VideoCallbacks, &AudioCallbacks);
|
||||
#endif
|
||||
|
||||
// Hook the termination callback so we can avoid issuing a termination callback
|
||||
// after LiStopConnection() is called.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user