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
//! Media events produced by the backend and consumed by the source layer.
//!
//! These events drive the source lifecycle state machine (reconnection,
//! EOS handling, health reporting). They are **not** part of the public API —
//! the public surface uses [`HealthEvent`](nv_core::HealthEvent).
use MediaError;
/// Internal event produced by the GStreamer backend.
///
/// These events are the library-internal vocabulary for what happens inside
/// a media pipeline. The source layer maps them to lifecycle transitions
/// (reconnection, stop) and the runtime maps them to [`HealthEvent`]s.
// Variants constructed under gst-backend; tested via bus unit tests
pub