<?php


namespace Stopka\OpenviduPhpClient\Recording;


use Stopka\OpenviduPhpClient\Enum;

class RecordingStatusEnum
{
    use Enum;

    const STARTING = "starting";
    const STARTED = "started";
    const STOPPED = "stopped";
    const AVAILABLE = "available";
    const FAILED = "failed";

    public function getValues(): array
    {
        return [
            self::STARTING,
            self::STARTED,
            self::STOPPED,
            self::AVAILABLE,
            self::FAILED
        ];
    }


}

<?php


namespace Stopka\OpenviduPhpClient\Recording;


use Stopka\OpenviduPhpClient\Enum;

class RecordingStatusEnum
{
    use Enum;

    const STARTING = "starting";
    const STARTED = "started";
    const STOPPED = "stopped";
    const READY = "ready";
    const FAILED = "failed";

    public function getValues(): array
    {
        return [
            self::STARTING,
            self::STARTED,
            self::STOPPED,
            self::READY,
            self::FAILED
        ];
    }


}

Fix Recording Status Possible Values
Fix Recording Status Possible Values

Updated "available" to "ready”.
See: https://github.com/OpenVidu/openvidu.io-docs/commit/b5be7c44f0161ca1569d5885c2fb0ded8d753fa9#diff-ffde0d3dc24a2bdec96cffaa3c0c261a
