diff --git a/doc/docs.md b/doc/docs.md index 705340c..6acfa84 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -180,7 +180,6 @@ Request sent by agent, to authenticate to Fishjam server | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | token | [string](#string) | | | -| room_id | [string](#string) | | | @@ -240,11 +239,6 @@ Defines any type of message passed from Fishjam to agent peer Response confirming successful authentication -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| peer_id | [string](#string) | | The Peer ID assigned to the connected Agent | - - diff --git a/fishjam/agent_notifications.proto b/fishjam/agent_notifications.proto index a6e4ba2..f92189d 100644 --- a/fishjam/agent_notifications.proto +++ b/fishjam/agent_notifications.proto @@ -9,7 +9,6 @@ message AgentRequest { // Request sent by agent, to authenticate to Fishjam server message AuthRequest { string token = 1; - string room_id = 2; } // Request to add a track of the specified type @@ -51,10 +50,7 @@ message AgentRequest { // Defines any type of message passed from Fishjam to agent peer message AgentResponse { // Response confirming successful authentication - message Authenticated { - // The Peer ID assigned to the connected Agent - string peer_id = 1; - } + message Authenticated {} // Notification containing a chunk of a track's data stream message TrackData { diff --git a/fishjam_protos/lib/fishjam/agent_notifications.pb.ex b/fishjam_protos/lib/fishjam/agent_notifications.pb.ex index eed4969..e1100d6 100644 --- a/fishjam_protos/lib/fishjam/agent_notifications.pb.ex +++ b/fishjam_protos/lib/fishjam/agent_notifications.pb.ex @@ -4,7 +4,6 @@ defmodule Fishjam.AgentRequest.AuthRequest do use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 field :token, 1, type: :string - field :room_id, 2, type: :string, json_name: "roomId" end defmodule Fishjam.AgentRequest.AddTrack.CodecParameters do @@ -72,8 +71,6 @@ defmodule Fishjam.AgentResponse.Authenticated do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 - - field :peer_id, 1, type: :string, json_name: "peerId" end defmodule Fishjam.AgentResponse.TrackData do