mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Senders: Renamed C# terminal sender project and fixed build
This commit is contained in:
parent
0d6856872f
commit
a83f92d874
8 changed files with 35 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\FCastClient\FCastClient.csproj" />
|
<ProjectReference Include="..\FCastSender\FCastSender.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
|
@ -3,7 +3,7 @@ using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Net.WebSockets;
|
using System.Net.WebSockets;
|
||||||
using FCastClient;
|
using FCastSender;
|
||||||
using NestedArgs;
|
using NestedArgs;
|
||||||
|
|
||||||
internal class Program
|
internal class Program
|
||||||
|
@ -120,7 +120,7 @@ internal class Program
|
||||||
.Build())
|
.Build())
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
CommandMatches matches = rootCommand.Parse(args);
|
CommandMatches matches = rootCommand.Parse(args).Matches;
|
||||||
Console.WriteLine(matches.ToString());
|
Console.WriteLine(matches.ToString());
|
||||||
|
|
||||||
var host = matches.Value("host")!;
|
var host = matches.Value("host")!;
|
||||||
|
@ -191,7 +191,7 @@ internal class Program
|
||||||
Headers = headers
|
Headers = headers
|
||||||
}, cancellationToken);
|
}, cancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "seek":
|
case "seek":
|
|
@ -12,7 +12,7 @@ dotnet build
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
Example usage of the fcast client.
|
Example usage of the fcast sender.
|
||||||
|
|
||||||
```
|
```
|
||||||
# Play a mp4 video URL (1.0 playbackspeed explicit)
|
# Play a mp4 video URL (1.0 playbackspeed explicit)
|
28
senders/terminal-dotnet/FCastSender.sln
Normal file
28
senders/terminal-dotnet/FCastSender.sln
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.0.31903.59
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FCastSender.Cli", "FCastSender.Cli\FCastSender.Cli.csproj", "{F4E30931-E69D-4DEE-8C11-C6D38FA1CA10}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FCastSender", "FCastSender\FCastSender.csproj", "{F7BB835A-1C8E-4BCB-A1A5-968AA9DDDF8C}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{F4E30931-E69D-4DEE-8C11-C6D38FA1CA10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{F4E30931-E69D-4DEE-8C11-C6D38FA1CA10}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{F4E30931-E69D-4DEE-8C11-C6D38FA1CA10}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{F4E30931-E69D-4DEE-8C11-C6D38FA1CA10}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{F7BB835A-1C8E-4BCB-A1A5-968AA9DDDF8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{F7BB835A-1C8E-4BCB-A1A5-968AA9DDDF8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{F7BB835A-1C8E-4BCB-A1A5-968AA9DDDF8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{F7BB835A-1C8E-4BCB-A1A5-968AA9DDDF8C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -1,4 +1,4 @@
|
||||||
namespace FCastClient;
|
namespace FCastSender;
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Buffers.Binary;
|
using System.Buffers.Binary;
|
Loading…
Add table
Add a link
Reference in a new issue