1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-11-25 08:31:00 +00:00

improve documentation of InstreamId

This commit is contained in:
Luro02 2020-02-24 14:32:28 +01:00
parent 11ac527fca
commit 90783fdd9d
No known key found for this signature in database
GPG key ID: B66FD4F74501A9CF

View file

@ -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 {