Don't bind to a specific port anymore

This commit is contained in:
Cameron Gutman
2014-10-12 12:04:32 -07:00
parent 36b426d59e
commit 841e3d9f22
4 changed files with 4 additions and 5 deletions

View File

@@ -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();
}