mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 13:59:58 +00:00
Dynamically determine audio, video, and control ports from RTSP DESCRIBE response
This commit is contained in:
1 parent
2660a05084
commit
56ccd99cc7
6 files changed
+101
-16
No files matched your search
@@ -32,6 +32,11 @@ extern int OriginalVideoBitrate;
|
||||
extern int AudioPacketDuration;
|
||||
extern bool AudioEncryptionEnabled;
|
||||
|
||||
extern uint16_t RtspPortNumber;
|
||||
extern uint16_t ControlPortNumber;
|
||||
extern uint16_t AudioPortNumber;
|
||||
extern uint16_t VideoPortNumber;
|
||||
|
||||
#ifndef UINT24_MAX
|
||||
#define UINT24_MAX 0xFFFFFF
|
||||
#endif
|
||||
@@ -100,6 +105,7 @@ int startVideoStream(void* rendererContext, int drFlags);
|
||||
void stopVideoStream(void);
|
||||
|
||||
int initializeAudioStream(void);
|
||||
int notifyAudioPortNegotiationComplete(void);
|
||||
void destroyAudioStream(void);
|
||||
int startAudioStream(void* audioContext, int arFlags);
|
||||
void stopAudioStream(void);
|
||||
|
||||
Reference in new issue
Block a user