forked from CarGuo/GSYVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StructureChart.log
58 lines (55 loc) · 9.22 KB
/
StructureChart.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
+-----------------------------------------------------------------+ +----------------------------------------------------------------------------------------------------+
| | | |
| +------------------------+ +------------------------+ | | 渲 染 层 |
| | ProxyCacheManager | | ExoPlayerCacheManager | | | +---------------------+ +---------------------+ +---------------------+ |
| +-------------+----------+ +----------------+-------+ | | | | | | | | |
| | | | | | TextureView | | SurfaceView | | GLSurfaceView | |
| | +--------------------+ | | | | | | | | | |
| | | | | | | +---------+-----------+ +---------+-----------+ +----------+----------+ |
| +-----> ICacheManager <------+ | | | | | |
| | | | | | | | |
| 本 地 缓 存 +-----^------+-------+ | | | | | |
| | | | | | +-------------v---------------+ | |
+-----------------------------------------------------------------+ | +----------> IGSYRenderView <---------+ |
| | | +-----------------------------+ |
+-----+------v-------+ +----------------------------------------------------------------------------------------------------+
| | |
| IMediaPlayer | GSYRen|erView
| | |
+---------^----------+ |
| +-------------------------------------------------------------------------------------+
+-------------------------------------+-----------------------------------------+ | +-----------v------------+ |
| | | UI 层 | | |
| 播 放 内 核 层 | | | GSYTextureRenderView | 渲 染 层 |
| | | | | |
| +---------------------+ +---------------------+ +---------------------+ | | +-----------^------------+ |
| | | | | | | | | | |
| | IjkMediaPlayer | | ExoPlayer2 | | MediaPlayer | | | +-----------+------------+ |
| | | | | | | | | | | |
| +-----------+---------+ +---------+-----------+ +---------------+-----+ | | | GSYVideoView | 播 放 控 件 UI 层 |
| | | | | | | | |
| | | | | | +-----------^------------+ |
| | | | | | | |
| | | | | | +-----------+------------+ |
| | | | | | | | |
| | +--------v--------+ | | | | GSYVideoControlView | 播 放 控 件 UI 控 制 层 |
| | | | | | | | | |
| +-------------> IPlayerManager <---------------------+ | | +-----------^------------+ |
| | | | | | |
| +-----------------+ | | +-----------+------------+ |
+-------------------------------------------------------------------------------+ | | | |
| | | GSYBaseVideoPlayer | 播 放 控 件 处 理 大 小 屏 等 业 务 |
+-----------------------------------------+ | | | |
| | | | +-----------^------------+ |
| Manager层 ++-----------v------------+ | | | |
| | | | GSYVideoViewBridge | +-----------+------------+ |
| | | | | | | |
| | GSYVideoBaseManager <------------------------------------------------------> GSYVideoPlayer | Manager 交 互 层 |
| | | | | | | |
| | | | | +------------------------+ |
| +------------------------+ | | |
| | | |
| | | |
| | | |
| | +-------------------------------------------------------------------------------------+
+-----------------------------------------+