# Generated by the protocol buffer compiler.  DO NOT EDIT!
# sources: fishjam/notifications/shared.proto
# plugin: python-betterproto
# This file has been @generated

from dataclasses import dataclass

import betterproto


class TrackType(betterproto.Enum):
    """Defines types of tracks being published by peers and component"""

    TRACK_TYPE_UNSPECIFIED = 0
    TRACK_TYPE_VIDEO = 1
    TRACK_TYPE_AUDIO = 2


class TrackEncoding(betterproto.Enum):
    TRACK_ENCODING_UNSPECIFIED = 0
    TRACK_ENCODING_PCM16 = 1
    TRACK_ENCODING_OPUS = 2


@dataclass(eq=False, repr=False)
class Track(betterproto.Message):
    """Describes a media track"""

    id: str = betterproto.string_field(1)
    type: "TrackType" = betterproto.enum_field(2)
    metadata: str = betterproto.string_field(3)
