<?php

declare(strict_types=1);

return [

    /*
    |--------------------------------------------------------------------------
    | Allow Video Streams
    |--------------------------------------------------------------------------
    |
    | When video streams are allowed, requests to the video.show route will
    | stream video. If disabled, requests to the video.show route will
    | raise a 403 Forbidden response.
    |
    */

    'allow_video_streams' => (bool) env('ALLOW_VIDEO_STREAMS', false),

    /*
    |--------------------------------------------------------------------------
    | Allow Audio Streams
    |--------------------------------------------------------------------------
    |
    | When audio streams are allowed, requests to the audio.show route will
    | stream audio. If disabled, requests to the audio.show route will
    | raise a 403 Forbidden response.
    |
    */

    'allow_audio_streams' => (bool) env('ALLOW_AUDIO_STREAMS', false),

    /*
    |--------------------------------------------------------------------------
    | Allow Discord Notifications
    |--------------------------------------------------------------------------
    |
    | When discord notifications are allowed, event listeners shall send discord
    | notifications to the configured discord channel through the configured bot.
    | If discord notifications are not allowed, event listeners shall not send
    | discord notifications.
    |
    */

    'allow_discord_notifications' => (bool) env('ALLOW_DISCORD_NOTIFICATIONS', false),

    /*
    |--------------------------------------------------------------------------
    | Allow View Recording
    |--------------------------------------------------------------------------
    |
    | When set to true, a view will be created for the viewable model in the show
    | action of the resource controller. When set to false, a view will not be
    | recorded.
    |
    */

    'allow_view_recording' => (bool) env('ALLOW_VIEW_RECORDING', false),
];
