neko/webpage/docs/api/broadcast-start.api.mdx
2025-02-18 22:44:48 +01:00

71 lines
No EOL
4.7 KiB
Text

---
id: broadcast-start
title: "Start Broadcast"
description: "Start broadcasting the room's content."
sidebar_label: "Start Broadcast"
hide_title: true
hide_table_of_contents: true
api: eJzVWFtv28YS/iuDDdDTEhSlOu2L3hxVBzXiJIUltw+JUYzIkbjRcpfZWdpRDf33YnYpiZaTgzycl/hFEjmX75ud2/pRBdywmr5X3rlmtPIOqxI5qLtcVcSl123QzqqpWgT0AY4C2m4g1ASi9h+G0tlANhQqV64lj6J0VampOipEfZUrT9w6y8Rq+qguJr/Ix1NPrw4qwKJDFXBXlsS87ozZFWqfq18mk+d6bzSzwDq6hNuba0HUgxMNbFujywhv/JFF7VFxWVOD8i3sWlJT5VYfqRSsrRcyQSewDTHjhgaCHLy2G3Ueqt8ooDZUAXnvPPR6hdrvcxV0MKI6l1dveov7/T6S+vk5qaXEmD51xCF+ak8MHZMH7EJNNvRsviueL7/Mk8nfk4fOVuQ5OFelDEvsc1h1EoJ1x8QQXOTvvP6HQIfvif3FxXP2i8RcM6DxhNXuSaF9R+x+/VJh3lpcGZIz46dN5Lshtpe+FdPwlat24uT/BLvz5kuQ6TM2bYTiQ9NOx2PjSjS14zA2+p6ekZLqub25BreOJTMI8D5Xmv/GMojaydPKOUNonxm6spVQIQZ9ZiomZzTzNFavBg0+dKyOwdKeKjUNvqN9rhoKtZN50DqOUcBQq6kaY6vHMkLGRz9j7gdF6gYym87z6VqC0XcLlacYqjqEJ4GavpxMJmp/J4bKzuuwi5ZeEXryl524f3+3zx/VzLmtpuGTpduSPT4YWFjIqaaDG2odo4qtfk07lSstMMsoonJlsZG3b+ev3/29mC8WV+/ePgv85ZNuDl2cZAhMzPI72YrHOWRw9CzsJWYRoJxvFPpWL8kkBOEdfQwi8BVynzryuxO3qPqt7qIwtMhMFSADQrQGLXpsKJBPGSa1dHOquvmhJvqq+WppDPK9zz5t1y4y6XP2LW0dXP5xpXIlKZbAviw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xaCs71XdqekcVmW1Ib/KXs3WAr/eLdYCvx+t25cFVdffBBq+KCmKv5fIaacCMRnj8qg3XRx6VfJpvz9CzE/2co=
sidebar_class_name: "post api-method"
info_path: docs/api/neko-api
custom_edit_url: null
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Start Broadcast"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/api/room/broadcast/start"}
context={"endpoint"}
>
</MethodEndpoint>
Start broadcasting the room's content.
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<ParamsDetails
parameters={undefined}
>
</ParamsDetails>
<RequestSchema
title={"Body"}
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","example":"rtmp://localhost/live","description":"The URL of the broadcast."},"is_active":{"type":"boolean","description":"Indicates if the broadcast is active."}},"title":"BroadcastStatus"}}},"required":true}}
>
</RequestSchema>
<StatusCodes
id={undefined}
label={undefined}
responses={{"204":{"description":"Broadcast started successfully."},"400":{"description":"Missing broadcast URL.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"401":{"description":"The request requires user authentication.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"403":{"description":"The server understood the request, but refuses to authorize it.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"422":{"description":"Server is already broadcasting.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"500":{"description":"Unable to start broadcast.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}}}}
>
</StatusCodes>