Com.Netease.LiveVCloud
1.0.4
dotnet add package Com.Netease.LiveVCloud --version 1.0.4
NuGet\Install-Package Com.Netease.LiveVCloud -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Com.Netease.LiveVCloud" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Com.Netease.LiveVCloud --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Com.Netease.LiveVCloud, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Com.Netease.LiveVCloud as a Cake Addin
#addin nuget:?package=Com.Netease.LiveVCloud&version=1.0.4
// Install Com.Netease.LiveVCloud as a Cake Tool
#tool nuget:?package=Com.Netease.LiveVCloud&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
网易云信直播 SDK
简介
通过查阅网易云信官方文档:https://doc.yunxin.163.com/, 基于网易云信直播 Restful API 编写的直播 SDK, 详细功能介绍请查看:https://doc.yunxin.163.com/jEyODA1OTE/docs/zkzMDA3NTU, 源代码仓库地址:https://gitee.com/tanwucheng/Com.Netease.VCloud.Core.git
使用示例
var AppKey = "???";
var AppSecret = "???";
// 初始化
var credentials = new Credentials(AppKey, AppSecret);
LiveVCloudClient.Initialize(credentials);
// 创建直播频道
try
{
Console.WriteLine("Creating...");
var response = await LiveVCloudClient.CreateLiveChannel(name, LiveChannelType.Rtmp);
Console.WriteLine(response != null ? JsonConvert.SerializeObject(response) : "创建直播频道失败!");
}
catch (Exception e)
{
Console.WriteLine(e);
}
// 查询直播频道状态
try
{
Console.WriteLine("Querying...");
var response = await LiveVCloudClient.GetLiveChannelStats(cid);
Console.WriteLine(response != null ? JsonConvert.SerializeObject(response) : "获取直播频道状态失败!");
}
catch (Exception e)
{
Console.WriteLine(e);
}
更新日志
- 1.0.4: Update to .NET 8
- 1.0.3: 添加直播录制功能
- 1.0.2: 完善直播管理功能
- 1.0.1: 实现部分直播管理功能
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.