Skip to content

Commit

Permalink
Correct channel order in RtpTcpTransport
Browse files Browse the repository at this point in the history
Fix #116
  • Loading branch information
ngraziano committed Mar 21, 2024
1 parent 2410e10 commit c967788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RTSP/RtpTcpTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class RtpTcpTransport : IRtpTransport
public int ControlChannel { get; set; } = int.MaxValue;
public int DataChannel { get; set; } = int.MaxValue;

public PortCouple Channels => new(ControlChannel, DataChannel);
public PortCouple Channels => new(DataChannel, ControlChannel);

public RtpTcpTransport(RtspListener rtspListener)
{
Expand Down

0 comments on commit c967788

Please sign in to comment.