mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-25 16:41:00 +00:00
improve documentation of InstreamId
This commit is contained in:
parent
11ac527fca
commit
90783fdd9d
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ pub enum InStreamId {
|
|||
Service63,
|
||||
}
|
||||
|
||||
/// The variants [`InStreamId::Cc1`], [`InStreamId::Cc2`], [`InStreamId::Cc3`]
|
||||
/// and [`InStreamId::Cc4`] require [`ProtocolVersion::V1`], the other
|
||||
/// [`ProtocolVersion::V7`].
|
||||
impl RequiredVersion for InStreamId {
|
||||
fn required_version(&self) -> ProtocolVersion {
|
||||
match &self {
|
||||
|
|
Loading…
Reference in a new issue