Skip to content

Commit

Permalink
Add SipSorcery as submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 18, 2021
1 parent e06a743 commit 9f99c45
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "sipsorcery"]
path = sipsorcery
url = https://github.com/lucent-sea/sipsorcery
2 changes: 1 addition & 1 deletion Desktop.Core/Desktop.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.EventLog" Version="5.0.0" />
<PackageReference Include="System.Drawing.Common" Version="5.0.2" />
<PackageReference Include="SIPSorcery" Version="5.1.8-pre" />
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj" />
<ProjectReference Include="..\sipsorcery\src\SIPSorcery.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions Desktop.Core/Services/WebRtcSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ public async Task Init(IceServerModel[] iceServers)



public Task SendDto<T>(T dto) where T : BaseDto
public async Task SendDto<T>(T dto) where T : BaseDto
{
CaptureChannel.send(MessagePackSerializer.Serialize(dto));
return Task.CompletedTask;

await TaskHelper.DelayUntilAsync(() => CaptureChannel.bufferedAmount < 64_000, TimeSpan.FromSeconds(5));
}

public Task SetRemoteDescription(string type, string sdp)
Expand Down
14 changes: 14 additions & 0 deletions Remotely.sln
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server", "Server\Server.csp
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server.Installer", "Server.Installer\Server.Installer.csproj", "{BE7799D6-204C-4D35-83E7-7FB24DEBAE94}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SIPSorcery", "sipsorcery\src\SIPSorcery.csproj", "{D7ADE65F-0E85-472F-9D38-DE78059E34D1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -180,6 +182,18 @@ Global
{BE7799D6-204C-4D35-83E7-7FB24DEBAE94}.Release|x64.Build.0 = Release|Any CPU
{BE7799D6-204C-4D35-83E7-7FB24DEBAE94}.Release|x86.ActiveCfg = Release|Any CPU
{BE7799D6-204C-4D35-83E7-7FB24DEBAE94}.Release|x86.Build.0 = Release|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Debug|x64.ActiveCfg = Debug|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Debug|x64.Build.0 = Debug|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Debug|x86.ActiveCfg = Debug|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Debug|x86.Build.0 = Debug|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Release|Any CPU.Build.0 = Release|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Release|x64.ActiveCfg = Release|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Release|x64.Build.0 = Release|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Release|x86.ActiveCfg = Release|Any CPU
{D7ADE65F-0E85-472F-9D38-DE78059E34D1}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 9f99c45

Please sign in to comment.