|
| 1 | +<?php |
| 2 | + |
| 3 | +/* |
| 4 | + * BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. |
| 5 | + * |
| 6 | + * Copyright (c) 2016-2025 BigBlueButton Inc. and by respective authors (see below). |
| 7 | + * |
| 8 | + * This program is free software; you can redistribute it and/or modify it under the |
| 9 | + * terms of the GNU Lesser General Public License as published by the Free Software |
| 10 | + * Foundation; either version 3.0 of the License, or (at your option) any later |
| 11 | + * version. |
| 12 | + * |
| 13 | + * BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY |
| 14 | + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 15 | + * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
| 16 | + * |
| 17 | + * You should have received a copy of the GNU Lesser General Public License along |
| 18 | + * with BigBlueButton; if not, see <https://www.gnu.org/licenses/>. |
| 19 | + */ |
| 20 | + |
| 21 | +namespace BigBlueButton\Enum; |
| 22 | + |
| 23 | +/** |
| 24 | + * @ref : https://github.com/bigbluebutton/bbb-webhooks/blob/main/src/process/event.js#L7 |
| 25 | + */ |
| 26 | +enum WebHookEvent: string |
| 27 | +{ |
| 28 | + case MEETING_CREATED = 'meeting-created'; |
| 29 | + case MEETING_ENDED = 'meeting-ended'; |
| 30 | + case MEETING_RECORDING_STARTED = 'meeting-recording-started'; |
| 31 | + case MEETING_RECORDING_STOPPED = 'meeting-recording-stopped'; |
| 32 | + case MEETING_RECORDING_UNHANDLED = 'meeting-recording-unhandled'; |
| 33 | + case MEETING_SCREENSHARE_STARTED = 'meeting-screenshare-started'; |
| 34 | + case MEETING_SCREENSHARE_STOPPED = 'meeting-screenshare-stopped'; |
| 35 | + case MEETING_PRESENTATION_CHANGED = 'meeting-presentation-changed'; |
| 36 | + case USER_JOINED = 'user-joined'; |
| 37 | + case USER_LEFT = 'user-left'; |
| 38 | + case USER_AUDIO_VOICE_ENABLED = 'user-audio-voice-enabled'; |
| 39 | + case USER_AUDIO_VOICE_DISABLED = 'user-audio-voice-disabled'; |
| 40 | + case USER_AUDIO_MUTED = 'user-audio-muted'; |
| 41 | + case USER_AUDIO_UNMUTED = 'user-audio-unmuted'; |
| 42 | + case USER_AUDIO_UNHANDLED = 'user-audio-unhandled'; |
| 43 | + case USER_CAM_BROADCAST_START = 'user-cam-broadcast-start'; |
| 44 | + case USER_CAM_BROADCAST_END = 'user-cam-broadcast-end'; |
| 45 | + case USER_PRESENTER_ASSIGNED = 'user-presenter-assigned'; |
| 46 | + case USER_PRESENTER_UNASSIGNED = 'user-presenter-unassigned'; |
| 47 | + case USER_EMOJI_CHANGED = 'user-emoji-changed'; |
| 48 | + case USER_RAISE_HAND_CHANGED = 'user-raise-hand-changed'; |
| 49 | + case CHAT_GROUP_MESSAGE_SENT = 'chat-group-message-sent'; |
| 50 | + case RAP_PUBLISHED = 'rap-published'; |
| 51 | + case RAP_UNPUBLISHED = 'rap-unpublished'; |
| 52 | + case RAP_DELETED = 'rap-deleted'; |
| 53 | + case PAD_CONTENT = 'pad-content'; |
| 54 | + case RAP_ARCHIVE_STARTED = 'rap-archive-started'; |
| 55 | + case RAP_ARCHIVE_ENDED = 'rap-archive-ended'; |
| 56 | + case RAP_SANITY_STARTED = 'rap-sanity-started'; |
| 57 | + case RAP_SANITY_ENDED = 'rap-sanity-ended'; |
| 58 | + case RAP_POST_ARCHIVE_STARTED = 'rap-post-archive-started'; |
| 59 | + case RAP_POST_ARCHIVE_ENDED = 'rap-post-archive-ended'; |
| 60 | + case RAP_PROCESS_STARTED = 'rap-process-started'; |
| 61 | + case RAP_PROCESS_ENDED = 'rap-process-ended'; |
| 62 | + case RAP_POST_PROCESS_STARTED = 'rap-post-process-started'; |
| 63 | + case RAP_POST_PROCESS_ENDED = 'rap-post-process-ended'; |
| 64 | + case RAP_PUBLISH_STARTED = 'rap-publish-started'; |
| 65 | + case RAP_PUBLISH_ENDED = 'rap-publish-ended'; |
| 66 | + case RAP_POST_PUBLISH_STARTED = 'rap-post-publish-started'; |
| 67 | + case RAP_POST_PUBLISH_ENDED = 'rap-post-publish-ended'; |
| 68 | + case POLL_STARTED = 'poll-started'; |
| 69 | + case POLL_RESPONDED = 'poll-responded'; |
| 70 | +} |
0 commit comments