diff --git a/doc/docs.md b/doc/docs.md index 9474234..ddb3082 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -1963,10 +1963,11 @@ Defines message groups for which peer can subscribe | Name | Number | Description | | ---- | ------ | ----------- | -| STATUS_ACTIVE | 0 | | -| STATUS_FINISHED | 1 | | -| STATUS_AVAILABLE | 2 | | -| STATUS_FAILED | 3 | | +| STATUS_UNSPECIFIED | 0 | | +| STATUS_ACTIVE | 1 | | +| STATUS_FINISHED | 2 | | +| STATUS_AVAILABLE | 3 | | +| STATUS_FAILED | 4 | | diff --git a/fishjam/server_notifications.proto b/fishjam/server_notifications.proto index 36ae4b6..0738c02 100644 --- a/fishjam/server_notifications.proto +++ b/fishjam/server_notifications.proto @@ -235,10 +235,11 @@ message ServerMessage { message RecordingStatusChanged { enum Status { - STATUS_ACTIVE = 0; - STATUS_FINISHED = 1; - STATUS_AVAILABLE = 2; - STATUS_FAILED = 3; + STATUS_UNSPECIFIED = 0; + STATUS_ACTIVE = 1; + STATUS_FINISHED = 2; + STATUS_AVAILABLE = 3; + STATUS_FAILED = 4; } string recording_id = 1; diff --git a/fishjam_protos/lib/fishjam/server_notifications.pb.ex b/fishjam_protos/lib/fishjam/server_notifications.pb.ex index 1e54a62..63d6412 100644 --- a/fishjam_protos/lib/fishjam/server_notifications.pb.ex +++ b/fishjam_protos/lib/fishjam/server_notifications.pb.ex @@ -49,10 +49,11 @@ defmodule Fishjam.ServerMessage.RecordingStatusChanged.Status do protoc_gen_elixir_version: "0.17.0", syntax: :proto3 - field :STATUS_ACTIVE, 0 - field :STATUS_FINISHED, 1 - field :STATUS_AVAILABLE, 2 - field :STATUS_FAILED, 3 + field :STATUS_UNSPECIFIED, 0 + field :STATUS_ACTIVE, 1 + field :STATUS_FINISHED, 2 + field :STATUS_AVAILABLE, 3 + field :STATUS_FAILED, 4 end defmodule Fishjam.ServerMessage.RoomCrashed do