-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Description
I just tried using the library on an Android device, and I realized that the SocketException is not thrown even if the UDP port is already used:
Line 47 in a42acb1
| catch (SocketException) |
Don't ask me why... I did not find any reference or similar issue anywhere. I just worked around it by specifying two different port ranges for audio and video here (respectively offsetting the audio port range by two from 50000 to 50002 works also):
SharpRTSP/RtspClientExample/RTSPClient.cs
Line 174 in a42acb1
| audio_udp_pair = new Rtsp.UDPSocket(50000, 51000); // give a range of 500 pairs (1000 addresses) to try incase some address are in use |
Metadata
Metadata
Assignees
Labels
No labels