You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is quite simple...
Modify the "Start" method of Scrcpy class:
public void Start(long timeoutMs = 5000)
{
if (Connected)
throw new Exception("Already connected.");
Port = new Random().Next(20000, 30000);
MobileServerSetup();
listener = new TcpListener(IPAddress.Loopback, Port);
listener.Start();
// ~~ snip ~~
where port is eigther a property or a field. public int Port { get; private set; }
No description provided.
The text was updated successfully, but these errors were encountered: