# castv2：重建 Chromecast CASTV2 协议

> castv2 记录并实现 Chromecast 通过 TLS 传输的 CASTV2 协议。其 Node.js 客户端与设备交换带长度前缀的 Protocol Buffers 消息，协议笔记说明命名空间、虚拟连接、心跳消息和设备认证。

- 类型：案例
- 目标：协议
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-06
- 收录于：2026-11-09
- 原始资源：<https://github.com/thibauts/node-castv2>
- 一手来源：<https://github.com/thibauts/node-castv2/blob/41d589abbf8619ec582e2b2707eb5e3266e7a14a/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/node-castv2-case/>
- 记录 JSON：<https://awesomerea.org/resources/node-castv2-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/node-castv2-case/index.md)

## 使用条件与局限

- **前提条件：**使用客户端需要 Node.js 和 Chromecast 设备。
- **局限：**服务器实现受到设备认证机制限制。
- **许可：**采用 MIT 许可证。

## 一手来源

1. <https://github.com/thibauts/node-castv2/blob/41d589abbf8619ec582e2b2707eb5e3266e7a14a/README.md>

## 同分区更多条目：协议

- [wycliffe：Dante 协议的净室实现](https://awesomerea.org/zh/resources/wycliffe-case/index.md) · 案例
- [ps4-waker：PS4 配套应用协议客户端](https://awesomerea.org/zh/resources/ps4-waker-case/index.md) · 案例
- [NJUConnect：重建南京大学 EasyConnect VPN 客户端](https://awesomerea.org/zh/resources/njuconnect-vpn-protocol-case/index.md) · 案例
- [LGTV：重建 LG webOS 电视控制交互](https://awesomerea.org/zh/resources/lgtv-js-case/index.md) · 案例
- [Inferno：重建 Dante 音频网络通信](https://awesomerea.org/zh/resources/inferno-dante-protocol-case/index.md) · 案例
- [Wireshark 协议分析工具](https://awesomerea.org/zh/resources/wireshark/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
