| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| client/ | 06-May-2025 | - | 4,177 | 3,168 | ||
| common/ | 06-May-2025 | - | 2,476 | 1,884 | ||
| etc/init/ | 06-May-2025 | - | 51 | 47 | ||
| interfaces/ | 06-May-2025 | - | 8,190 | 6,694 | ||
| sa_profile/ | 06-May-2025 | - | 32 | 29 | ||
| service/ | 06-May-2025 | - | 26,665 | 21,521 | ||
| BUILD.gn | D | 06-May-2025 | 948 | 31 | 29 | |
| LICENSE | D | 06-May-2025 | 9.9 KiB | 176 | 150 | |
| README.md | D | 06-May-2025 | 1.6 KiB | 41 | 28 | |
| README_zh.md | D | 06-May-2025 | 1.6 KiB | 49 | 34 | |
| bundle.json | D | 06-May-2025 | 3.3 KiB | 104 | 103 | |
| cast_engine.gni | D | 06-May-2025 | 995 | 26 | 21 | |
| hisysevent.yaml | D | 06-May-2025 | 3.3 KiB | 64 | 43 |
README.md
1# castengine_cast_framework 2 3## Introduction 4 5Provide audio and video broadcasting capabilities with adaptive Cast+Stream, Wi Fi Display, and DLNA protocols, providing a unified interface and normalized experience for north-south developers. 6 7## Directory Structure 8 9``` 10/foundation/CastEngine/castengine_cast_framework 11├── clinet # Implementation on the client side 12├── common # common code 13├── etc # SA profile file 14├── interfaces # Inner api 15├── sa_profile # SA profile 16├── service # Implementation on the service side 17├── LICENSE # Certificate file 18├── BUILD.gn # Compilation Entry 19├── test # test code 20└── bundle.json # Component description file 21 22``` 23 24## Compilation and Building 25 26``` 27# Generate the libcast.z.so、libcast_engine_client.z.so、libcast_engine_service.z.so file in the out directory of the product folder through GN compilation. 28hb build cast 29``` 30 31### Usage 32 33For details, see[Sample](https://gitee.com/openharmony/applications_app_samples/tree/master/code/BasicFeature/Media/AVSession)。 34 35## Repositories Involved 36 37[castengine_cast_plus_stream](https://gitee.com/openharmony-sig/castengine_cast_plus_stream) 38 39[castengine_wifi_display](https://gitee.com/openharmony-sig/castengine_wifi_display) 40 41[castengine_dlna](https://gitee.com/openharmony-sig/castengine_dlna)
README_zh.md
1# 音视频投播管理服务框架部件 2 3## 简介 4 5提供自适应Cast+ Stream,Wi-Fi Display,DLNA多种协议的音视频投播能力,为南北向开发者提供统一的接口及归一化的体验。 6 7 8## 目录 9 10``` 11/foundation/CastEngine/castengine_cast_framework # 音视频投播管理服务框架业务代码 12├── client # 客户端实现 13├── common # 公共引用 14├── etc # SA描述 15├── interfaces # 接口文件 16├── sa_profile # SA profile文件 17├── service # 服务端实现 18├── LICENSE # 开源协议文件 19├── BUILD.gn # 编译入口 20└── bundle.json # 部件描述文件 21``` 22 23## 编译构建 24 25通过如下编译命令: 26 27``` 28hb build cast 29``` 30在out目录对应产品的文件夹中生成如下产物: 31``` 32libcast.z.so 33libcast_engine_client.z.so 34libcast_engine_service.z.so 35``` 36 37 38### 使用说明 39 40提供整体的投播框架,支持其他投屏协议的接入以及投屏协议自适应选择。 41北向接入可参考[Sample](https://gitee.com/openharmony/applications_app_samples/tree/master/code/BasicFeature/Media/AVSession)。 42 43## 相关仓 44 45[castengine_cast_plus_stream](https://gitee.com/openharmony-sig/castengine_cast_plus_stream) 46 47[castengine_wifi_display](https://gitee.com/openharmony-sig/castengine_wifi_display) 48 49[castengine_dlna](https://gitee.com/openharmony-sig/castengine_dlna)