aboutsummaryrefslogtreecommitdiff
path: root/common/src/stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/stream.rs')
-rw-r--r--common/src/stream.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs
index 6c93294..aa1b931 100644
--- a/common/src/stream.rs
+++ b/common/src/stream.rs
@@ -28,6 +28,7 @@ pub enum StreamFormat {
#[cfg_attr(feature = "rocket", field(value = "hlsvariant"))] HlsVariant,
#[cfg_attr(feature = "rocket", field(value = "jhls"))] Jhls,
#[cfg_attr(feature = "rocket", field(value = "hlsseg"))] Segment,
+ #[cfg_attr(feature = "rocket", field(value = "webvtt"))] Webvtt,
}
impl Default for StreamSpec {
@@ -82,6 +83,7 @@ impl StreamFormat {
StreamFormat::HlsVariant => "hlsvariant",
StreamFormat::Jhls => "jhls",
StreamFormat::Segment => "hlsseg",
+ StreamFormat::Webvtt => "webvtt",
}
}
}