• Home
Name Date Size #Lines LOC

..--

client/06-Mar-2025-3,8492,904

common/06-Mar-2025-1,9791,474

etc/init/06-Mar-2025-4743

interfaces/06-Mar-2025-7,4516,208

sa_profile/06-Mar-2025-3229

service/06-Mar-2025-23,88219,220

BUILD.gnD06-Mar-2025948 3129

LICENSED06-Mar-20259.9 KiB176150

README.mdD06-Mar-20251.6 KiB4128

README_zh.mdD06-Mar-20251.6 KiB4129

bundle.jsonD06-Mar-20253 KiB9392

cast_engine.gniD06-Mar-2025995 2621

hisysevent.yamlD06-Mar-20253.3 KiB6443

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.solibcast_engine_client.z.solibcast_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/foundation/CastEngine/castengine_cast_framework  # 音视频投播管理服务框架业务代码
11├── clinet                             # 客户端实现
12├── common                             # 公共引用
13├── etc                                # SA描述
14├── interfaces                         # 接口文件
15├── sa_profile                         # SA profile文件
16├── service                            # 服务端实现
17├── LICENSE                            # 证书文件
18├── BUILD.gn                           # 编译入口
19├── test                               # 测试代码
20└── bundle.json                        # 部件描述文件
21```
22
23## 编译构建
24
25```
26# 通过gn编译,在out目录下对应产品的文件夹中生成libcast.z.solibcast_engine_client.z.solibcast_engine_service.z.so
27hb build cast
28```
29
30### 使用说明
31
32提供整体的投播框架,支持其他投屏协议的接入以及投屏协议自适应选择。
33北向接入可参考[Sample](https://gitee.com/openharmony/applications_app_samples/tree/master/code/BasicFeature/Media/AVSession)34
35## 相关仓
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)