1
0
Fork 0
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:
Michael Hollister 2025-05-28 23:25:13 -05:00
parent 0d6856872f
commit a83f92d874
8 changed files with 35 additions and 7 deletions

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\FCastClient\FCastClient.csproj" />
<ProjectReference Include="..\FCastSender\FCastSender.csproj" />
</ItemGroup>
<ItemGroup>
@ -10,7 +10,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

View file

@ -3,7 +3,7 @@ using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Net.WebSockets;
using FCastClient;
using FCastSender;
using NestedArgs;
internal class Program
@ -120,7 +120,7 @@ internal class Program
.Build())
.Build();
CommandMatches matches = rootCommand.Parse(args);
CommandMatches matches = rootCommand.Parse(args).Matches;
Console.WriteLine(matches.ToString());
var host = matches.Value("host")!;
@ -191,7 +191,7 @@ internal class Program
Headers = headers
}, cancellationToken);
}
break;
}
case "seek":

View file

@ -12,7 +12,7 @@ dotnet build
# Usage
Example usage of the fcast client.
Example usage of the fcast sender.
```
# Play a mp4 video URL (1.0 playbackspeed explicit)

View 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

View file

@ -1,4 +1,4 @@
namespace FCastClient;
namespace FCastSender;
using System;
using System.Buffers.Binary;