Current section
Files
Jump to
Current section
Files
lib/fishjam/media_events/shared.pb.ex
defmodule Fishjam.MediaEvents.Variant do
@moduledoc false
use Protobuf,
enum: true,
full_name: "fishjam.media_events.Variant",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field :VARIANT_UNSPECIFIED, 0
field :VARIANT_LOW, 1
field :VARIANT_MEDIUM, 2
field :VARIANT_HIGH, 3
end
defmodule Fishjam.MediaEvents.Candidate do
@moduledoc false
use Protobuf,
full_name: "fishjam.media_events.Candidate",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field :candidate, 1, type: :string
field :sdp_m_line_index, 2, type: :int32, json_name: "sdpMLineIndex"
field :sdp_mid, 3, type: :string, json_name: "sdpMid"
field :username_fragment, 4, type: :string, json_name: "usernameFragment"
end
defmodule Fishjam.MediaEvents.ChannelMessageBinaryPayload do
@moduledoc false
use Protobuf,
full_name: "fishjam.media_events.ChannelMessageBinaryPayload",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field :data, 1, type: :bytes
end
defmodule Fishjam.MediaEvents.ChannelMessage do
@moduledoc false
use Protobuf,
full_name: "fishjam.media_events.ChannelMessage",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
oneof :payload, 0
field :source, 1, type: :string
field :destinations, 2, repeated: true, type: :string
field :binary, 3, type: Fishjam.MediaEvents.ChannelMessageBinaryPayload, oneof: 0
end