# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: video/sfu/models/models.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dvideo/sfu/models/models.proto\x12\x17stream.video.sfu.models\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"G\n\tCallState\x12:\n\x0cparticipants\x18\x01 \x03(\x0b\x32$.stream.video.sfu.models.Participant\"\x84\x02\n\x0bParticipant\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12<\n\x10published_tracks\x18\x03 \x03(\x0e\x32\".stream.video.sfu.models.TrackType\x12-\n\tjoined_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13track_lookup_prefix\x18\x05 \x01(\t\x12\x46\n\x12\x63onnection_quality\x18\x06 \x01(\x0e\x32*.stream.video.sfu.models.ConnectionQuality\"^\n\rStreamQuality\x12<\n\rvideo_quality\x18\x01 \x01(\x0e\x32%.stream.video.sfu.models.VideoQuality\x12\x0f\n\x07user_id\x18\x02 \x01(\t\"/\n\x0eVideoDimension\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\"\xb1\x01\n\nVideoLayer\x12\x0b\n\x03rid\x18\x01 \x01(\t\x12@\n\x0fvideo_dimension\x18\x02 \x01(\x0b\x32\'.stream.video.sfu.models.VideoDimension\x12\x0f\n\x07\x62itrate\x18\x04 \x01(\r\x12\x0b\n\x03\x66ps\x18\x05 \x01(\r\x12\x36\n\x07quality\x18\x06 \x01(\x0e\x32%.stream.video.sfu.models.VideoQuality\"\x82\x01\n\x05\x43odec\x12\x14\n\x0cpayload_type\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tfmtp_line\x18\x03 \x01(\t\x12\x12\n\nclock_rate\x18\x04 \x01(\r\x12\x1b\n\x13\x65ncoding_parameters\x18\x05 \x01(\t\x12\x11\n\tfeedbacks\x18\x06 \x03(\t\"m\n\nICETrickle\x12\x34\n\tpeer_type\x18\x01 \x01(\x0e\x32!.stream.video.sfu.models.PeerType\x12\x15\n\rice_candidate\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\"\x97\x01\n\tTrackInfo\x12\x10\n\x08track_id\x18\x01 \x01(\t\x12\x36\n\ntrack_type\x18\x02 \x01(\x0e\x32\".stream.video.sfu.models.TrackType\x12\x33\n\x06layers\x18\x05 \x03(\x0b\x32#.stream.video.sfu.models.VideoLayer\x12\x0b\n\x03mid\x18\x06 \x01(\t\"\xdb\x01\n\x04\x43\x61ll\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x1a\n\x12\x63reated_by_user_id\x18\x03 \x01(\t\x12\x14\n\x0chost_user_id\x18\x04 \x01(\t\x12\'\n\x06\x63ustom\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x05\x45rror\x12\x30\n\x04\x63ode\x18\x01 \x01(\x0e\x32\".stream.video.sfu.models.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t*I\n\x08PeerType\x12#\n\x1fPEER_TYPE_PUBLISHER_UNSPECIFIED\x10\x00\x12\x18\n\x14PEER_TYPE_SUBSCRIBER\x10\x01*\x93\x01\n\x11\x43onnectionQuality\x12\"\n\x1e\x43ONNECTION_QUALITY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43ONNECTION_QUALITY_POOR\x10\x01\x12\x1b\n\x17\x43ONNECTION_QUALITY_GOOD\x10\x02\x12 \n\x1c\x43ONNECTION_QUALITY_EXCELLENT\x10\x03*w\n\x0cVideoQuality\x12!\n\x1dVIDEO_QUALITY_LOW_UNSPECIFIED\x10\x00\x12\x15\n\x11VIDEO_QUALITY_MID\x10\x01\x12\x16\n\x12VIDEO_QUALITY_HIGH\x10\x02\x12\x15\n\x11VIDEO_QUALITY_OFF\x10\x03*\x93\x01\n\tTrackType\x12\x1a\n\x16TRACK_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10TRACK_TYPE_AUDIO\x10\x01\x12\x14\n\x10TRACK_TYPE_VIDEO\x10\x02\x12\x1b\n\x17TRACK_TYPE_SCREEN_SHARE\x10\x03\x12!\n\x1dTRACK_TYPE_SCREEN_SHARE_AUDIO\x10\x04*\xc4\x02\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12&\n\"ERROR_CODE_PUBLISH_TRACK_NOT_FOUND\x10\x64\x12&\n\"ERROR_CODE_PUBLISH_TRACKS_MISMATCH\x10\x65\x12)\n%ERROR_CODE_PUBLISH_TRACK_OUT_OF_ORDER\x10\x66\x12\x32\n.ERROR_CODE_PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND\x10g\x12%\n ERROR_CODE_PARTICIPANT_NOT_FOUND\x10\xc8\x01\x12\x1e\n\x19\x45RROR_CODE_CALL_NOT_FOUND\x10\xac\x02\x12%\n ERROR_CODE_INTERNAL_SERVER_ERROR\x10\xf4\x03\x42\x31\x42\x0bSfuModelsV1P\x01Z\nsfu_models\xaa\x02\x13Stream.Video.v1.Sfub\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'video.sfu.models.models_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'B\013SfuModelsV1P\001Z\nsfu_models\252\002\023Stream.Video.v1.Sfu'
  _PEERTYPE._serialized_start=1478
  _PEERTYPE._serialized_end=1551
  _CONNECTIONQUALITY._serialized_start=1554
  _CONNECTIONQUALITY._serialized_end=1701
  _VIDEOQUALITY._serialized_start=1703
  _VIDEOQUALITY._serialized_end=1822
  _TRACKTYPE._serialized_start=1825
  _TRACKTYPE._serialized_end=1972
  _ERRORCODE._serialized_start=1975
  _ERRORCODE._serialized_end=2299
  _CALLSTATE._serialized_start=121
  _CALLSTATE._serialized_end=192
  _PARTICIPANT._serialized_start=195
  _PARTICIPANT._serialized_end=455
  _STREAMQUALITY._serialized_start=457
  _STREAMQUALITY._serialized_end=551
  _VIDEODIMENSION._serialized_start=553
  _VIDEODIMENSION._serialized_end=600
  _VIDEOLAYER._serialized_start=603
  _VIDEOLAYER._serialized_end=780
  _CODEC._serialized_start=783
  _CODEC._serialized_end=913
  _ICETRICKLE._serialized_start=915
  _ICETRICKLE._serialized_end=1024
  _TRACKINFO._serialized_start=1027
  _TRACKINFO._serialized_end=1178
  _CALL._serialized_start=1181
  _CALL._serialized_end=1400
  _ERROR._serialized_start=1402
  _ERROR._serialized_end=1476
# @@protoc_insertion_point(module_scope)
