在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kakone/GoogleCast开源软件地址(OpenSource Url):https://github.com/kakone/GoogleCast开源编程语言(OpenSource Language):C# 100.0%开源软件介绍(OpenSource Introduction):GoogleCastImplementation of the Google Cast protocol (.NET Standard 2.0 library). This documentation was really helpful to understand the protocol. These two others C# projects were also helpful to implement the protocol : SharpCast and SharpCaster. Usage// Use the DeviceLocator to find a Chromecast
var receiver = (await new DeviceLocator().FindReceiversAsync()).First();
var sender = new Sender();
// Connect to the Chromecast
await sender.ConnectAsync(receiver);
// Launch the default media receiver application
var mediaChannel = sender.GetChannel<IMediaChannel>();
await sender.LaunchAsync(mediaChannel);
// Load and play Big Buck Bunny video
var mediaStatus = await mediaChannel.LoadAsync(
new MediaInformation() { ContentId = "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" }); Download |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论