# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: video/sfu/event/events.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 video.sfu.models import models_pb2 as video_dot_sfu_dot_models_dot_models__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cvideo/sfu/event/events.proto\x12\x16stream.video.sfu.event\x1a\x1dvideo/sfu/models/models.proto\"\xfc\x07\n\x08SfuEvent\x12\x43\n\x10subscriber_offer\x18\x01 \x01(\x0b\x32\'.stream.video.sfu.event.SubscriberOfferH\x00\x12\x43\n\x10publisher_answer\x18\x02 \x01(\x0b\x32\'.stream.video.sfu.event.PublisherAnswerH\x00\x12V\n\x1a\x63onnection_quality_changed\x18\x03 \x01(\x0b\x32\x30.stream.video.sfu.event.ConnectionQualityChangedH\x00\x12H\n\x13\x61udio_level_changed\x18\x04 \x01(\x0b\x32).stream.video.sfu.event.AudioLevelChangedH\x00\x12:\n\x0bice_trickle\x18\x05 \x01(\x0b\x32#.stream.video.sfu.models.ICETrickleH\x00\x12N\n\x16\x63hange_publish_quality\x18\x06 \x01(\x0b\x32,.stream.video.sfu.event.ChangePublishQualityH\x00\x12G\n\x12participant_joined\x18\n \x01(\x0b\x32).stream.video.sfu.event.ParticipantJoinedH\x00\x12\x43\n\x10participant_left\x18\x0b \x01(\x0b\x32\'.stream.video.sfu.event.ParticipantLeftH\x00\x12R\n\x18\x64ominant_speaker_changed\x18\x0c \x01(\x0b\x32..stream.video.sfu.event.DominantSpeakerChangedH\x00\x12=\n\rjoin_response\x18\r \x01(\x0b\x32$.stream.video.sfu.event.JoinResponseH\x00\x12L\n\x15health_check_response\x18\x0e \x01(\x0b\x32+.stream.video.sfu.event.HealthCheckResponseH\x00\x12\x41\n\x0ftrack_published\x18\x10 \x01(\x0b\x32&.stream.video.sfu.event.TrackPublishedH\x00\x12\x45\n\x11track_unpublished\x18\x11 \x01(\x0b\x32(.stream.video.sfu.event.TrackUnpublishedH\x00\x12.\n\x05\x65rror\x18\x12 \x01(\x0b\x32\x1d.stream.video.sfu.event.ErrorH\x00\x42\x0f\n\revent_payload\"6\n\x05\x45rror\x12-\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x1e.stream.video.sfu.models.Error\"Y\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\"\xa8\x01\n\nSfuRequest\x12;\n\x0cjoin_request\x18\x01 \x01(\x0b\x32#.stream.video.sfu.event.JoinRequestH\x00\x12J\n\x14health_check_request\x18\x02 \x01(\x0b\x32*.stream.video.sfu.event.HealthCheckRequestH\x00\x42\x11\n\x0frequest_payload\"\x14\n\x12HealthCheckRequest\"\x15\n\x13HealthCheckResponse\"g\n\x0eTrackPublished\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x30\n\x04type\x18\x03 \x01(\x0e\x32\".stream.video.sfu.models.TrackType\"i\n\x10TrackUnpublished\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x30\n\x04type\x18\x03 \x01(\x0e\x32\".stream.video.sfu.models.TrackType\"H\n\x0bJoinRequest\x12\r\n\x05token\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x16\n\x0esubscriber_sdp\x18\x03 \x01(\t\"F\n\x0cJoinResponse\x12\x36\n\ncall_state\x18\x01 \x01(\x0b\x32\".stream.video.sfu.models.CallState\"`\n\x11ParticipantJoined\x12\x10\n\x08\x63\x61ll_cid\x18\x01 \x01(\t\x12\x39\n\x0bparticipant\x18\x02 \x01(\x0b\x32$.stream.video.sfu.models.Participant\"^\n\x0fParticipantLeft\x12\x10\n\x08\x63\x61ll_cid\x18\x01 \x01(\t\x12\x39\n\x0bparticipant\x18\x02 \x01(\x0b\x32$.stream.video.sfu.models.Participant\"3\n\x0fSubscriberOffer\x12\x13\n\x0bice_restart\x18\x01 \x01(\x08\x12\x0b\n\x03sdp\x18\x02 \x01(\t\"\x1e\n\x0fPublisherAnswer\x12\x0b\n\x03sdp\x18\x01 \x01(\t\"m\n\x18\x43onnectionQualityChanged\x12Q\n\x1a\x63onnection_quality_updates\x18\x01 \x03(\x0b\x32-.stream.video.sfu.event.ConnectionQualityInfo\"\x84\x01\n\x15\x43onnectionQualityInfo\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x46\n\x12\x63onnection_quality\x18\x03 \x01(\x0e\x32*.stream.video.sfu.models.ConnectionQuality\"=\n\x16\x44ominantSpeakerChanged\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\"@\n\nAudioLevel\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\r\n\x05level\x18\x03 \x01(\x02\"M\n\x11\x41udioLevelChanged\x12\x38\n\x0c\x61udio_levels\x18\x01 \x03(\x0b\x32\".stream.video.sfu.event.AudioLevel\"*\n\x11\x41udioMediaRequest\x12\x15\n\rchannel_count\x18\x01 \x01(\x05\"~\n\x0b\x41udioSender\x12@\n\rmedia_request\x18\x01 \x01(\x0b\x32).stream.video.sfu.event.AudioMediaRequest\x12-\n\x05\x63odec\x18\x02 \x01(\x0b\x32\x1e.stream.video.sfu.models.Codec\"X\n\x11VideoMediaRequest\x12\x14\n\x0cideal_height\x18\x01 \x01(\x05\x12\x13\n\x0bideal_width\x18\x02 \x01(\x05\x12\x18\n\x10ideal_frame_rate\x18\x03 \x01(\x05\"\xc6\x02\n\x11VideoLayerSetting\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x13\n\x0bmax_bitrate\x18\x03 \x01(\x05\x12 \n\x18scale_resolution_down_by\x18\x04 \x01(\x02\x12\x44\n\x08priority\x18\x05 \x01(\x0e\x32\x32.stream.video.sfu.event.VideoLayerSetting.Priority\x12-\n\x05\x63odec\x18\x06 \x01(\x0b\x32\x1e.stream.video.sfu.models.Codec\"g\n\x08Priority\x12\x1d\n\x19PRIORITY_HIGH_UNSPECIFIED\x10\x00\x12\x10\n\x0cPRIORITY_LOW\x10\x01\x12\x13\n\x0fPRIORITY_MEDIUM\x10\x02\x12\x15\n\x11PRIORITY_VERY_LOW\x10\x03\"\xb9\x01\n\x0bVideoSender\x12@\n\rmedia_request\x18\x01 \x01(\x0b\x32).stream.video.sfu.event.VideoMediaRequest\x12-\n\x05\x63odec\x18\x02 \x01(\x0b\x32\x1e.stream.video.sfu.models.Codec\x12\x39\n\x06layers\x18\x03 \x03(\x0b\x32).stream.video.sfu.event.VideoLayerSetting\"\x8e\x01\n\x14\x43hangePublishQuality\x12:\n\raudio_senders\x18\x01 \x03(\x0b\x32#.stream.video.sfu.event.AudioSender\x12:\n\rvideo_senders\x18\x02 \x03(\x0b\x32#.stream.video.sfu.event.VideoSenderB1B\x0bSfuEventsV1P\x01Z\nsfu_events\xaa\x02\x13Stream.Video.v1.Sfub\x06proto3')

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

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'B\013SfuEventsV1P\001Z\nsfu_events\252\002\023Stream.Video.v1.Sfu'
  _SFUEVENT._serialized_start=88
  _SFUEVENT._serialized_end=1108
  _ERROR._serialized_start=1110
  _ERROR._serialized_end=1164
  _ICETRICKLE._serialized_start=1166
  _ICETRICKLE._serialized_end=1255
  _SFUREQUEST._serialized_start=1258
  _SFUREQUEST._serialized_end=1426
  _HEALTHCHECKREQUEST._serialized_start=1428
  _HEALTHCHECKREQUEST._serialized_end=1448
  _HEALTHCHECKRESPONSE._serialized_start=1450
  _HEALTHCHECKRESPONSE._serialized_end=1471
  _TRACKPUBLISHED._serialized_start=1473
  _TRACKPUBLISHED._serialized_end=1576
  _TRACKUNPUBLISHED._serialized_start=1578
  _TRACKUNPUBLISHED._serialized_end=1683
  _JOINREQUEST._serialized_start=1685
  _JOINREQUEST._serialized_end=1757
  _JOINRESPONSE._serialized_start=1759
  _JOINRESPONSE._serialized_end=1829
  _PARTICIPANTJOINED._serialized_start=1831
  _PARTICIPANTJOINED._serialized_end=1927
  _PARTICIPANTLEFT._serialized_start=1929
  _PARTICIPANTLEFT._serialized_end=2023
  _SUBSCRIBEROFFER._serialized_start=2025
  _SUBSCRIBEROFFER._serialized_end=2076
  _PUBLISHERANSWER._serialized_start=2078
  _PUBLISHERANSWER._serialized_end=2108
  _CONNECTIONQUALITYCHANGED._serialized_start=2110
  _CONNECTIONQUALITYCHANGED._serialized_end=2219
  _CONNECTIONQUALITYINFO._serialized_start=2222
  _CONNECTIONQUALITYINFO._serialized_end=2354
  _DOMINANTSPEAKERCHANGED._serialized_start=2356
  _DOMINANTSPEAKERCHANGED._serialized_end=2417
  _AUDIOLEVEL._serialized_start=2419
  _AUDIOLEVEL._serialized_end=2483
  _AUDIOLEVELCHANGED._serialized_start=2485
  _AUDIOLEVELCHANGED._serialized_end=2562
  _AUDIOMEDIAREQUEST._serialized_start=2564
  _AUDIOMEDIAREQUEST._serialized_end=2606
  _AUDIOSENDER._serialized_start=2608
  _AUDIOSENDER._serialized_end=2734
  _VIDEOMEDIAREQUEST._serialized_start=2736
  _VIDEOMEDIAREQUEST._serialized_end=2824
  _VIDEOLAYERSETTING._serialized_start=2827
  _VIDEOLAYERSETTING._serialized_end=3153
  _VIDEOLAYERSETTING_PRIORITY._serialized_start=3050
  _VIDEOLAYERSETTING_PRIORITY._serialized_end=3153
  _VIDEOSENDER._serialized_start=3156
  _VIDEOSENDER._serialized_end=3341
  _CHANGEPUBLISHQUALITY._serialized_start=3344
  _CHANGEPUBLISHQUALITY._serialized_end=3486
# @@protoc_insertion_point(module_scope)
