diff --git a/fishjam_protos/compile_proto.sh b/fishjam_protos/compile_proto.sh index ee85b47..c033e13 100755 --- a/fishjam_protos/compile_proto.sh +++ b/fishjam_protos/compile_proto.sh @@ -13,7 +13,9 @@ total=${#files[@]} for file in $files; do printf "Compile file %s %s ... " $count $file - protoc --elixir_out=./fishjam_protos/lib $file + # -I makes protoc name the file by its basename (so only the + # proto package determines the output path); -I . resolves fishjam/* imports. + protoc -I "$(dirname "$file")" -I . --elixir_out=./fishjam_protos/lib "$(basename "$file")" printf "DONE\n" count=$(($count + 1)) done diff --git a/fishjam_protos/lib/fishjam/agent_notifications.pb.ex b/fishjam_protos/lib/fishjam/agent_notifications.pb.ex index ee705a9..b13ad9c 100644 --- a/fishjam_protos/lib/fishjam/agent_notifications.pb.ex +++ b/fishjam_protos/lib/fishjam/agent_notifications.pb.ex @@ -3,7 +3,7 @@ defmodule Fishjam.AgentRequest.AuthRequest do use Protobuf, full_name: "fishjam.AgentRequest.AuthRequest", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :token, 1, type: :string @@ -14,7 +14,7 @@ defmodule Fishjam.AgentRequest.AddTrack.CodecParameters do use Protobuf, full_name: "fishjam.AgentRequest.AddTrack.CodecParameters", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :encoding, 1, type: Fishjam.Notifications.TrackEncoding, enum: true @@ -27,7 +27,7 @@ defmodule Fishjam.AgentRequest.AddTrack do use Protobuf, full_name: "fishjam.AgentRequest.AddTrack", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track, 1, type: Fishjam.Notifications.Track @@ -42,7 +42,7 @@ defmodule Fishjam.AgentRequest.RemoveTrack do use Protobuf, full_name: "fishjam.AgentRequest.RemoveTrack", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -53,7 +53,7 @@ defmodule Fishjam.AgentRequest.TrackData do use Protobuf, full_name: "fishjam.AgentRequest.TrackData", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -65,7 +65,7 @@ defmodule Fishjam.AgentRequest.InterruptTrack do use Protobuf, full_name: "fishjam.AgentRequest.InterruptTrack", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -76,7 +76,7 @@ defmodule Fishjam.AgentRequest.CaptureImage do use Protobuf, full_name: "fishjam.AgentRequest.CaptureImage", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -87,7 +87,7 @@ defmodule Fishjam.AgentRequest do use Protobuf, full_name: "fishjam.AgentRequest", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :content, 0 @@ -122,7 +122,7 @@ defmodule Fishjam.AgentResponse.Authenticated do use Protobuf, full_name: "fishjam.AgentResponse.Authenticated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 end @@ -131,7 +131,7 @@ defmodule Fishjam.AgentResponse.TrackData do use Protobuf, full_name: "fishjam.AgentResponse.TrackData", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :peer_id, 1, type: :string, json_name: "peerId" @@ -144,7 +144,7 @@ defmodule Fishjam.AgentResponse.TrackImage do use Protobuf, full_name: "fishjam.AgentResponse.TrackImage", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -157,7 +157,7 @@ defmodule Fishjam.AgentResponse do use Protobuf, full_name: "fishjam.AgentResponse", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :content, 0 diff --git a/fishjam_protos/lib/fishjam/media_events/peer/peer.pb.ex b/fishjam_protos/lib/fishjam/media_events/peer/peer.pb.ex index 2a9d704..b968fb4 100644 --- a/fishjam_protos/lib/fishjam/media_events/peer/peer.pb.ex +++ b/fishjam_protos/lib/fishjam/media_events/peer/peer.pb.ex @@ -3,7 +3,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.VariantBitrate do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.VariantBitrate", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :variant, 1, type: Fishjam.MediaEvents.Variant, enum: true @@ -15,7 +15,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.Connect do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.Connect", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :metadata_json, 1, type: :string, json_name: "metadataJson" @@ -26,7 +26,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.Disconnect do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.Disconnect", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 end @@ -35,7 +35,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.UpdateEndpointMetadata do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.UpdateEndpointMetadata", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :metadata_json, 1, type: :string, json_name: "metadataJson" @@ -46,7 +46,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.UpdateTrackMetadata do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.UpdateTrackMetadata", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -58,7 +58,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.RenegotiateTracks do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.RenegotiateTracks", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 end @@ -68,7 +68,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.SdpOffer.TrackIdToMetadataJsonEntr use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.SdpOffer.TrackIdToMetadataJsonEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -81,7 +81,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.SdpOffer.TrackIdToBitratesEntry do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.SdpOffer.TrackIdToBitratesEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -94,7 +94,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.SdpOffer.MidToTrackIdEntry do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.SdpOffer.MidToTrackIdEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -106,7 +106,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.SdpOffer do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.SdpOffer", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :sdp, 1, type: :string @@ -135,7 +135,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.TrackBitrates do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.TrackBitrates", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -151,7 +151,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.DisableTrackVariant do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.DisableTrackVariant", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -163,7 +163,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.EnableTrackVariant do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.EnableTrackVariant", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -175,7 +175,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.SetTargetTrackVariant do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.SetTargetTrackVariant", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -187,7 +187,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent.UnmuteTrack do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent.UnmuteTrack", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -198,7 +198,7 @@ defmodule Fishjam.MediaEvents.Peer.MediaEvent do use Protobuf, full_name: "fishjam.media_events.peer.MediaEvent", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :content, 0 diff --git a/fishjam_protos/lib/fishjam/media_events/server/server.pb.ex b/fishjam_protos/lib/fishjam/media_events/server/server.pb.ex index 6dfa060..89f5b61 100644 --- a/fishjam_protos/lib/fishjam/media_events/server/server.pb.ex +++ b/fishjam_protos/lib/fishjam/media_events/server/server.pb.ex @@ -4,7 +4,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.VadNotification.Status do use Protobuf, enum: true, full_name: "fishjam.media_events.server.MediaEvent.VadNotification.Status", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :STATUS_UNSPECIFIED, 0 @@ -17,7 +17,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Track.SimulcastConfig do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Track.SimulcastConfig", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :enabled, 1, type: :bool @@ -40,7 +40,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Track do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Track", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :metadata_json, 1, type: :string, json_name: "metadataJson" @@ -56,7 +56,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Endpoint.TrackIdToTrackEntry do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Endpoint.TrackIdToTrackEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -68,7 +68,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Endpoint do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Endpoint", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_type, 2, type: :string, json_name: "endpointType" @@ -86,7 +86,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.IceServer do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.IceServer", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :credential, 1, type: :string @@ -99,7 +99,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.EndpointUpdated do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.EndpointUpdated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -111,7 +111,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TrackUpdated do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TrackUpdated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -125,7 +125,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TracksAdded.TrackIdToTrackEntry use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TracksAdded.TrackIdToTrackEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -137,7 +137,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TracksAdded do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TracksAdded", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -154,7 +154,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TracksRemoved do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TracksRemoved", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -166,7 +166,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.EndpointAdded do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.EndpointAdded", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -179,7 +179,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Connected.EndpointIdToEndpointEn use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Connected.EndpointIdToEndpointEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -191,7 +191,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Connected do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Connected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -213,7 +213,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.EndpointRemoved do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.EndpointRemoved", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -224,7 +224,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.Error do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.Error", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :message, 1, type: :string @@ -235,7 +235,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.OfferData.TrackTypes do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.OfferData.TrackTypes", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :audio, 1, type: :int32 @@ -247,7 +247,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.OfferData do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.OfferData", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :tracks_types, 1, @@ -261,7 +261,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.SdpAnswer.MidToTrackIdEntry do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.SdpAnswer.MidToTrackIdEntry", map: true, - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :key, 1, type: :string @@ -273,7 +273,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.SdpAnswer do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.SdpAnswer", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :sdp, 1, type: :string @@ -290,7 +290,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.VadNotification do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.VadNotification", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :track_id, 1, type: :string, json_name: "trackId" @@ -302,7 +302,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TrackVariantSwitched do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TrackVariantSwitched", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -315,7 +315,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TrackVariantDisabled do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TrackVariantDisabled", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -328,7 +328,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent.TrackVariantEnabled do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent.TrackVariantEnabled", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :endpoint_id, 1, type: :string, json_name: "endpointId" @@ -341,7 +341,7 @@ defmodule Fishjam.MediaEvents.Server.MediaEvent do use Protobuf, full_name: "fishjam.media_events.server.MediaEvent", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :content, 0 diff --git a/fishjam_protos/lib/fishjam/media_events/shared.pb.ex b/fishjam_protos/lib/fishjam/media_events/shared.pb.ex index b0c2ff7..1e0d30c 100644 --- a/fishjam_protos/lib/fishjam/media_events/shared.pb.ex +++ b/fishjam_protos/lib/fishjam/media_events/shared.pb.ex @@ -4,7 +4,7 @@ defmodule Fishjam.MediaEvents.Variant do use Protobuf, enum: true, full_name: "fishjam.media_events.Variant", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :VARIANT_UNSPECIFIED, 0 @@ -18,7 +18,7 @@ defmodule Fishjam.MediaEvents.Candidate do use Protobuf, full_name: "fishjam.media_events.Candidate", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :candidate, 1, type: :string @@ -32,7 +32,7 @@ defmodule Fishjam.MediaEvents.ChannelMessageBinaryPayload do use Protobuf, full_name: "fishjam.media_events.ChannelMessageBinaryPayload", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :data, 1, type: :bytes @@ -43,7 +43,7 @@ defmodule Fishjam.MediaEvents.ChannelMessage do use Protobuf, full_name: "fishjam.media_events.ChannelMessage", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :payload, 0 diff --git a/fishjam_protos/lib/fishjam/notifications/shared.pb.ex b/fishjam_protos/lib/fishjam/notifications/shared.pb.ex index 53ed374..baec5d0 100644 --- a/fishjam_protos/lib/fishjam/notifications/shared.pb.ex +++ b/fishjam_protos/lib/fishjam/notifications/shared.pb.ex @@ -4,7 +4,7 @@ defmodule Fishjam.Notifications.TrackType do use Protobuf, enum: true, full_name: "fishjam.notifications.TrackType", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :TRACK_TYPE_UNSPECIFIED, 0 @@ -18,7 +18,7 @@ defmodule Fishjam.Notifications.TrackEncoding do use Protobuf, enum: true, full_name: "fishjam.notifications.TrackEncoding", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :TRACK_ENCODING_UNSPECIFIED, 0 @@ -31,7 +31,7 @@ defmodule Fishjam.Notifications.Track do use Protobuf, full_name: "fishjam.notifications.Track", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :id, 1, type: :string diff --git a/fishjam_protos/lib/fishjam/peer_notifications.pb.ex b/fishjam_protos/lib/fishjam/peer_notifications.pb.ex index 3cfa045..9d0cfae 100644 --- a/fishjam_protos/lib/fishjam/peer_notifications.pb.ex +++ b/fishjam_protos/lib/fishjam/peer_notifications.pb.ex @@ -4,7 +4,7 @@ defmodule Fishjam.PeerMessage.RoomType do use Protobuf, enum: true, full_name: "fishjam.PeerMessage.RoomType", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :ROOM_TYPE_UNSPECIFIED, 0 @@ -19,7 +19,7 @@ defmodule Fishjam.PeerMessage.SdkDeprecation.Status do use Protobuf, enum: true, full_name: "fishjam.PeerMessage.SdkDeprecation.Status", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :STATUS_UNSPECIFIED, 0 @@ -33,7 +33,7 @@ defmodule Fishjam.PeerMessage.SdkDeprecation do use Protobuf, full_name: "fishjam.PeerMessage.SdkDeprecation", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :status, 1, type: Fishjam.PeerMessage.SdkDeprecation.Status, enum: true @@ -45,7 +45,7 @@ defmodule Fishjam.PeerMessage.Authenticated do use Protobuf, full_name: "fishjam.PeerMessage.Authenticated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_type, 1, type: Fishjam.PeerMessage.RoomType, json_name: "roomType", enum: true @@ -57,7 +57,7 @@ defmodule Fishjam.PeerMessage.AuthRequest do use Protobuf, full_name: "fishjam.PeerMessage.AuthRequest", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :token, 1, type: :string @@ -69,7 +69,7 @@ defmodule Fishjam.PeerMessage.RTCStatsReport do use Protobuf, full_name: "fishjam.PeerMessage.RTCStatsReport", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :data, 1, type: :string @@ -80,7 +80,7 @@ defmodule Fishjam.PeerMessage.MediaEvent do use Protobuf, full_name: "fishjam.PeerMessage.MediaEvent", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :data, 1, type: :string @@ -91,7 +91,7 @@ defmodule Fishjam.PeerMessage do use Protobuf, full_name: "fishjam.PeerMessage", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :content, 0 diff --git a/fishjam_protos/lib/fishjam/server_notifications.pb.ex b/fishjam_protos/lib/fishjam/server_notifications.pb.ex index 60f3d9e..ba1bbe9 100644 --- a/fishjam_protos/lib/fishjam/server_notifications.pb.ex +++ b/fishjam_protos/lib/fishjam/server_notifications.pb.ex @@ -4,7 +4,7 @@ defmodule Fishjam.ServerMessage.PeerType do use Protobuf, enum: true, full_name: "fishjam.ServerMessage.PeerType", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :PEER_TYPE_UNSPECIFIED, 0 @@ -19,7 +19,7 @@ defmodule Fishjam.ServerMessage.EventType do use Protobuf, enum: true, full_name: "fishjam.ServerMessage.EventType", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EVENT_TYPE_UNSPECIFIED, 0 @@ -32,7 +32,7 @@ defmodule Fishjam.ServerMessage.VadNotification.Status do use Protobuf, enum: true, full_name: "fishjam.ServerMessage.VadNotification.Status", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :STATUS_UNSPECIFIED, 0 @@ -45,7 +45,7 @@ defmodule Fishjam.ServerMessage.RoomCrashed do use Protobuf, full_name: "fishjam.ServerMessage.RoomCrashed", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -56,7 +56,7 @@ defmodule Fishjam.ServerMessage.PeerAdded do use Protobuf, full_name: "fishjam.ServerMessage.PeerAdded", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -69,7 +69,7 @@ defmodule Fishjam.ServerMessage.PeerDeleted do use Protobuf, full_name: "fishjam.ServerMessage.PeerDeleted", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -82,7 +82,7 @@ defmodule Fishjam.ServerMessage.PeerConnected do use Protobuf, full_name: "fishjam.ServerMessage.PeerConnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -95,7 +95,7 @@ defmodule Fishjam.ServerMessage.PeerDisconnected do use Protobuf, full_name: "fishjam.ServerMessage.PeerDisconnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -108,7 +108,7 @@ defmodule Fishjam.ServerMessage.PeerCrashed do use Protobuf, full_name: "fishjam.ServerMessage.PeerCrashed", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -122,7 +122,7 @@ defmodule Fishjam.ServerMessage.ComponentCrashed do use Protobuf, full_name: "fishjam.ServerMessage.ComponentCrashed", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -134,7 +134,7 @@ defmodule Fishjam.ServerMessage.Authenticated do use Protobuf, full_name: "fishjam.ServerMessage.Authenticated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 end @@ -143,7 +143,7 @@ defmodule Fishjam.ServerMessage.AuthRequest do use Protobuf, full_name: "fishjam.ServerMessage.AuthRequest", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :token, 1, type: :string @@ -154,7 +154,7 @@ defmodule Fishjam.ServerMessage.SubscribeRequest do use Protobuf, full_name: "fishjam.ServerMessage.SubscribeRequest", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :event_type, 1, type: Fishjam.ServerMessage.EventType, json_name: "eventType", enum: true @@ -165,7 +165,7 @@ defmodule Fishjam.ServerMessage.SubscribeResponse do use Protobuf, full_name: "fishjam.ServerMessage.SubscribeResponse", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :event_type, 1, type: Fishjam.ServerMessage.EventType, json_name: "eventType", enum: true @@ -176,7 +176,7 @@ defmodule Fishjam.ServerMessage.RoomCreated do use Protobuf, full_name: "fishjam.ServerMessage.RoomCreated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -187,7 +187,7 @@ defmodule Fishjam.ServerMessage.RoomDeleted do use Protobuf, full_name: "fishjam.ServerMessage.RoomDeleted", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -198,7 +198,7 @@ defmodule Fishjam.ServerMessage.HlsPlayable do use Protobuf, full_name: "fishjam.ServerMessage.HlsPlayable", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -210,7 +210,7 @@ defmodule Fishjam.ServerMessage.HlsUploaded do use Protobuf, full_name: "fishjam.ServerMessage.HlsUploaded", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -221,7 +221,7 @@ defmodule Fishjam.ServerMessage.HlsUploadCrashed do use Protobuf, full_name: "fishjam.ServerMessage.HlsUploadCrashed", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -232,7 +232,7 @@ defmodule Fishjam.ServerMessage.PeerMetadataUpdated do use Protobuf, full_name: "fishjam.ServerMessage.PeerMetadataUpdated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -246,7 +246,7 @@ defmodule Fishjam.ServerMessage.TrackAdded do use Protobuf, full_name: "fishjam.ServerMessage.TrackAdded", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :endpoint_info, 0 @@ -262,7 +262,7 @@ defmodule Fishjam.ServerMessage.TrackRemoved do use Protobuf, full_name: "fishjam.ServerMessage.TrackRemoved", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :endpoint_info, 0 @@ -278,7 +278,7 @@ defmodule Fishjam.ServerMessage.TrackMetadataUpdated do use Protobuf, full_name: "fishjam.ServerMessage.TrackMetadataUpdated", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :endpoint_info, 0 @@ -294,7 +294,7 @@ defmodule Fishjam.ServerMessage.ChannelAdded do use Protobuf, full_name: "fishjam.ServerMessage.ChannelAdded", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :endpoint_info, 0 @@ -310,7 +310,7 @@ defmodule Fishjam.ServerMessage.ChannelRemoved do use Protobuf, full_name: "fishjam.ServerMessage.ChannelRemoved", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :endpoint_info, 0 @@ -326,7 +326,7 @@ defmodule Fishjam.ServerMessage.TrackForwarding do use Protobuf, full_name: "fishjam.ServerMessage.TrackForwarding", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -350,7 +350,7 @@ defmodule Fishjam.ServerMessage.TrackForwardingRemoved do use Protobuf, full_name: "fishjam.ServerMessage.TrackForwardingRemoved", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -364,7 +364,7 @@ defmodule Fishjam.ServerMessage.VadNotification do use Protobuf, full_name: "fishjam.ServerMessage.VadNotification", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :room_id, 1, type: :string, json_name: "roomId" @@ -378,7 +378,7 @@ defmodule Fishjam.ServerMessage.StreamConnected do use Protobuf, full_name: "fishjam.ServerMessage.StreamConnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :stream_id, 1, type: :string, json_name: "streamId" @@ -389,7 +389,7 @@ defmodule Fishjam.ServerMessage.StreamDisconnected do use Protobuf, full_name: "fishjam.ServerMessage.StreamDisconnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :stream_id, 1, type: :string, json_name: "streamId" @@ -400,7 +400,7 @@ defmodule Fishjam.ServerMessage.ViewerConnected do use Protobuf, full_name: "fishjam.ServerMessage.ViewerConnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :stream_id, 1, type: :string, json_name: "streamId" @@ -412,7 +412,7 @@ defmodule Fishjam.ServerMessage.ViewerDisconnected do use Protobuf, full_name: "fishjam.ServerMessage.ViewerDisconnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :stream_id, 1, type: :string, json_name: "streamId" @@ -424,7 +424,7 @@ defmodule Fishjam.ServerMessage.StreamerConnected do use Protobuf, full_name: "fishjam.ServerMessage.StreamerConnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :stream_id, 1, type: :string, json_name: "streamId" @@ -436,7 +436,7 @@ defmodule Fishjam.ServerMessage.StreamerDisconnected do use Protobuf, full_name: "fishjam.ServerMessage.StreamerDisconnected", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :stream_id, 1, type: :string, json_name: "streamId" @@ -448,7 +448,7 @@ defmodule Fishjam.ServerMessage.NotificationBatch do use Protobuf, full_name: "fishjam.ServerMessage.NotificationBatch", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :notifications, 1, repeated: true, type: Fishjam.ServerMessage @@ -459,7 +459,7 @@ defmodule Fishjam.ServerMessage do use Protobuf, full_name: "fishjam.ServerMessage", - protoc_gen_elixir_version: "0.16.0", + protoc_gen_elixir_version: "0.17.0", syntax: :proto3 oneof :content, 0 diff --git a/fishjam_protos/mix.exs b/fishjam_protos/mix.exs index a06bc24..68e0f7e 100644 --- a/fishjam_protos/mix.exs +++ b/fishjam_protos/mix.exs @@ -36,7 +36,7 @@ defmodule FishjamProtos.MixProject do defp deps do [ - {:protobuf, "~> 0.16.0"}, + {:protobuf, "~> 0.17.0"}, {:ex_doc, "~> 0.21", only: :dev, runtime: false} ] end diff --git a/fishjam_protos/mix.lock b/fishjam_protos/mix.lock index 4647d94..2834825 100644 --- a/fishjam_protos/mix.lock +++ b/fishjam_protos/mix.lock @@ -5,5 +5,5 @@ "makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"}, "makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"}, - "protobuf": {:hex, :protobuf, "0.16.0", "d1878725105d49162977cf3408ccc3eac4f3532e26e5a9e250f2c624175d10f6", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "f0d0d3edd8768130f24cc2cfc41320637d32c80110e80d13f160fa699102c828"}, + "protobuf": {:hex, :protobuf, "0.17.0", "39e24e43c9648e148feba16ed51100b5b2028ea900b55460377b0476f6e10613", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "ca6c91f6f63e2c147b47f03eefd10b80538aa6fc55ff4b12b795efb786b0152f"}, }