exelix11 / SysDVR

Stream switch games to your PC via USB or network
GNU General Public License v2.0
1.49k stars 90 forks source link

[Help] Streaming via RTSP errors #162

Closed GingerBobRoss closed 2 years ago

GingerBobRoss commented 2 years ago

I am having issues with Sys-DVR working via RTSP. USB cable works fine, but my switch is not able to play for long sessions as the battery drains faster than the device can charge connected to my PC.

When launching Sys-DVR using RTSP, these errors listed below:

Starting stream, press return to stop. Now streaming via RTSP on port 6666 Connect with your player to rtsp://127.0.0.1:6666/ Connection from 127.0.0.1:54654 RTSP message received Rtsp.Messages.RtspRequestOptions RTSP message received Rtsp.Messages.RtspRequestDescribe Request for rtsp://127.0.0.1:6666/ RTSP message received Rtsp.Messages.RtspRequestSetup RTSP message received Rtsp.Messages.RtspRequestSetup RTSP message received Rtsp.Messages.RtspRequestPlay Terminating ReceiveFromDeviceThread for Audio due to System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task) at SysDVR.Client.Sources.TCPBridgeSource.WaitForConnection() at SysDVR.Client.StreamThread.DeviceThreadMain(CancellationToken token) Terminating ReceiveFromDeviceThread for Video due to System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task) at SysDVR.Client.Sources.TCPBridgeSource.WaitForConnection() at SysDVR.Client.StreamThread.DeviceThreadMain(CancellationToken token)

GingerBobRoss commented 2 years ago

I fixed the issue, SYS-DVR setting shows to connect to USB "On-Boot" and was not correctly swapping over. setting the simple connection back to "On-Bot" and selecting TCP-Bridge fixed the issue.