mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-15 14:38:10 +00:00
Don't bind to a specific port anymore
This commit is contained in:
@@ -162,7 +162,7 @@ int startVideoStream(void* rendererContext, int drFlags) {
|
||||
callbacks.setup(configuration.width,
|
||||
configuration.height, 60, rendererContext, drFlags);
|
||||
|
||||
rtpSocket = bindUdpSocket(RTP_PORT);
|
||||
rtpSocket = bindUdpSocket();
|
||||
if (rtpSocket == INVALID_SOCKET) {
|
||||
return LastSocketError();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user