github.com/livekit/protocol@v1.39.3/observability/roomobs/gen_source.go (about)

     1  // Code generated; DO NOT EDIT.
     2  package roomobs
     3  
     4  type ConnectionResult string
     5  
     6  const (
     7  	ConnectionResultUndefined ConnectionResult = ""
     8  	ConnectionResultSuccess   ConnectionResult = "success"
     9  	ConnectionResultFailure   ConnectionResult = "failure"
    10  )
    11  
    12  type ConnectionType string
    13  
    14  const (
    15  	ConnectionTypeUndefined ConnectionType = ""
    16  	ConnectionTypeUDP       ConnectionType = "udp"
    17  	ConnectionTypeTCP       ConnectionType = "tcp"
    18  	ConnectionTypeTurn      ConnectionType = "turn"
    19  )
    20  
    21  type ClientOS string
    22  
    23  const (
    24  	ClientOSUndefined ClientOS = ""
    25  	ClientOSIos       ClientOS = "ios"
    26  	ClientOSAndroid   ClientOS = "android"
    27  	ClientOSWindows   ClientOS = "windows"
    28  	ClientOSMac       ClientOS = "mac"
    29  	ClientOSLinux     ClientOS = "linux"
    30  )
    31  
    32  type TrackKind string
    33  
    34  const (
    35  	TrackKindUndefined TrackKind = ""
    36  	TrackKindPub       TrackKind = "pub"
    37  	TrackKindSub       TrackKind = "sub"
    38  )
    39  
    40  type TrackType string
    41  
    42  const (
    43  	TrackTypeUndefined TrackType = ""
    44  	TrackTypeAudio     TrackType = "audio"
    45  	TrackTypeVideo     TrackType = "video"
    46  	TrackTypeData      TrackType = "data"
    47  )
    48  
    49  type TrackSource string
    50  
    51  const (
    52  	TrackSourceUndefined        TrackSource = ""
    53  	TrackSourceCamera           TrackSource = "camera"
    54  	TrackSourceMicrophone       TrackSource = "microphone"
    55  	TrackSourceScreenShare      TrackSource = "screen_share"
    56  	TrackSourceScreenShareAudio TrackSource = "screen_share_audio"
    57  )
    58  
    59  type MimeType string
    60  
    61  const (
    62  	MimeTypeUndefined      MimeType = ""
    63  	MimeTypeVideoH264      MimeType = "video/H264"
    64  	MimeTypeVideoH265      MimeType = "video/H265"
    65  	MimeTypeAudioOpus      MimeType = "audio/opus"
    66  	MimeTypeAudioRed       MimeType = "audio/red"
    67  	MimeTypeVideoVp8       MimeType = "video/VP8"
    68  	MimeTypeVideoVp9       MimeType = "video/VP9"
    69  	MimeTypeVideoAv1       MimeType = "video/AV1"
    70  	MimeTypeAudioG722      MimeType = "audio/G722"
    71  	MimeTypeAudioPcmu      MimeType = "audio/PCMU"
    72  	MimeTypeAudioPcma      MimeType = "audio/PCMA"
    73  	MimeTypeVideoRtx       MimeType = "video/rtx"
    74  	MimeTypeVideoFlexfec   MimeType = "video/flexfec"
    75  	MimeTypeVideoFlexfec03 MimeType = "video/flexfec-03"
    76  	MimeTypeVideoUlpfec    MimeType = "video/ulpfec"
    77  )
    78  
    79  type Rollup string
    80  
    81  const (
    82  	RollupUndefined               Rollup = ""
    83  	RollupProject                 Rollup = "project"
    84  	RollupRoomSessionIndex        Rollup = "room_session_index"
    85  	RollupParticipantIndex        Rollup = "participant_index"
    86  	RollupParticipantSessionIndex Rollup = "participant_session_index"
    87  	RollupParticipantSession      Rollup = "participant_session"
    88  	RollupTrackIndex              Rollup = "track_index"
    89  	RollupTrack                   Rollup = "track"
    90  	RollupProjectRoomIndex        Rollup = "project_room_index"
    91  )