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.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs
index aa1b931..4aa51d3 100644
--- a/common/src/stream.rs
+++ b/common/src/stream.rs
@@ -26,8 +26,8 @@ pub enum StreamFormat {
#[cfg_attr(feature = "rocket", field(value = "matroska"))] Matroska,
#[cfg_attr(feature = "rocket", field(value = "hlsmaster"))] HlsMaster,
#[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 = "jhlsi"))] JhlsIndex,
+ #[cfg_attr(feature = "rocket", field(value = "snippet"))] Snippet,
#[cfg_attr(feature = "rocket", field(value = "webvtt"))] Webvtt,
}
@@ -81,8 +81,8 @@ impl StreamFormat {
StreamFormat::Matroska => "matroska",
StreamFormat::HlsMaster => "hlsmaster",
StreamFormat::HlsVariant => "hlsvariant",
- StreamFormat::Jhls => "jhls",
- StreamFormat::Segment => "hlsseg",
+ StreamFormat::JhlsIndex => "jhlsi",
+ StreamFormat::Snippet => "snippet",
StreamFormat::Webvtt => "webvtt",
}
}