aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/src/stream.rs8
-rw-r--r--common/src/user.rs2
2 files changed, 5 insertions, 5 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",
}
}
diff --git a/common/src/user.rs b/common/src/user.rs
index 7e654a9..7fc1233 100644
--- a/common/src/user.rs
+++ b/common/src/user.rs
@@ -96,7 +96,7 @@ impl UserPermission {
Transcode
| ManageSelf
| FederatedContent
- | StreamFormat(Jhls | HlsMaster | HlsVariant | Matroska | Segment | Webvtt)
+ | StreamFormat(JhlsIndex | HlsMaster | HlsVariant | Matroska | Snippet | Webvtt)
)
}
}