forked from otonchev/rtspviewersf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDESIGN.txt
29 lines (29 loc) · 3.49 KB
/
DESIGN.txt
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
+---------------------+
| <<interface>> |
+----| GstDiskWriter |<---------------------+
|0..1+---------------------+ |
| |+set_location():void | |
| +---------------------+ |
| |
| |
| |
+-----------------------------------+ | +------------------------------+ |
+------+ +--------------+ | GstMediaPlayer |<>--+ | <<interface>> |<------+ |
| | | | |-----------------------------------|1 | GstRTSPStreamer |<---+ | +-----------------+
| | | C | |+media_player_new():GstMediaPlayer | +------------------------------+ | +---| GstRTSPRecorder |
| Java |<--->| Native Layer |------->|+setup_thread():bool |<>-------|+create_pipeline():GstElement | | +-----------------+
| | | |<<use>> |+set_position():void |1 1|+set_uri():void | |
| | | | |+set_uri():void | +------------------------------+ +----------------+
+------+ +--------------+ |+set_state():void | +-----| GstRTSPViewer |
|+set_window():void | | +----------------+
|+release_window():void | |
+-----------------------------------+ +------------------------+ |
|+status-updated |<>-------| <<interface>> |<--+
|+error-occured |1 0..1| GstWindowRenderer |
|+position-changed | +------------------------+
| | |+set_window():void |
| | |+release_window():void |
+-----------------------------------+ | |
|-pipeline | +------------------------+
+-----------------------------------+ |+size-changed |
+------------------------+