Packages

Protobuf modules for Fishjam and Membrane RTC Engine

Current section

Files

Jump to
fishjam_protos lib fishjam peer_notifications.pb.ex
Raw

lib/fishjam/peer_notifications.pb.ex

defmodule Fishjam.PeerMessage.RoomType do
@moduledoc false
use Protobuf,
enum: true,
full_name: "fishjam.PeerMessage.RoomType",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :ROOM_TYPE_UNSPECIFIED, 0
field :ROOM_TYPE_CONFERENCE, 1
field :ROOM_TYPE_AUDIO_ONLY, 2
field :ROOM_TYPE_LIVESTREAM, 3
end
defmodule Fishjam.PeerMessage.SdkDeprecation.Status do
@moduledoc false
use Protobuf,
enum: true,
full_name: "fishjam.PeerMessage.SdkDeprecation.Status",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :STATUS_UNSPECIFIED, 0
field :STATUS_UP_TO_DATE, 1
field :STATUS_DEPRECATED, 2
field :STATUS_UNSUPPORTED, 3
end
defmodule Fishjam.PeerMessage.SdkDeprecation do
@moduledoc false
use Protobuf,
full_name: "fishjam.PeerMessage.SdkDeprecation",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :status, 1, type: Fishjam.PeerMessage.SdkDeprecation.Status, enum: true
field :message, 2, type: :string
end
defmodule Fishjam.PeerMessage.Authenticated do
@moduledoc false
use Protobuf,
full_name: "fishjam.PeerMessage.Authenticated",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :room_type, 1, type: Fishjam.PeerMessage.RoomType, json_name: "roomType", enum: true
field :sdk_deprecation, 2, type: Fishjam.PeerMessage.SdkDeprecation, json_name: "sdkDeprecation"
end
defmodule Fishjam.PeerMessage.AuthRequest do
@moduledoc false
use Protobuf,
full_name: "fishjam.PeerMessage.AuthRequest",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :token, 1, type: :string
field :sdk_version, 2, type: :string, json_name: "sdkVersion"
end
defmodule Fishjam.PeerMessage.RTCStatsReport do
@moduledoc false
use Protobuf,
full_name: "fishjam.PeerMessage.RTCStatsReport",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :data, 1, type: :string
end
defmodule Fishjam.PeerMessage.MediaEvent do
@moduledoc false
use Protobuf,
full_name: "fishjam.PeerMessage.MediaEvent",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :data, 1, type: :string
end
defmodule Fishjam.PeerMessage do
@moduledoc false
use Protobuf,
full_name: "fishjam.PeerMessage",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
oneof :content, 0
field :authenticated, 1, type: Fishjam.PeerMessage.Authenticated, oneof: 0
field :auth_request, 2,
type: Fishjam.PeerMessage.AuthRequest,
json_name: "authRequest",
oneof: 0
field :media_event, 3, type: Fishjam.PeerMessage.MediaEvent, json_name: "mediaEvent", oneof: 0
field :rtc_stats_report, 4,
type: Fishjam.PeerMessage.RTCStatsReport,
json_name: "rtcStatsReport",
oneof: 0
field :peer_media_event, 5,
type: Fishjam.MediaEvents.Peer.MediaEvent,
json_name: "peerMediaEvent",
oneof: 0
field :server_media_event, 6,
type: Fishjam.MediaEvents.Server.MediaEvent,
json_name: "serverMediaEvent",
oneof: 0
end