diff --git a/docs/call.md b/docs/call.md index fba81dfe8fe..2f270def9c5 100644 --- a/docs/call.md +++ b/docs/call.md @@ -28,6 +28,7 @@ `displayName` | string | v3 | | The display name of the attendee `lastPing` | int | v1 | | Timestamp of the last ping of the user (should be used for sorting) `sessionId` | string | v1 | | 512 character long string + `publishingPermissions` | int | v4 | Publishing permissions for the participant (see [constants list](constants.md#participant-publishing-permissions)) ## Join a call diff --git a/lib/Controller/CallController.php b/lib/Controller/CallController.php index c17d8f1abd0..2863f13c003 100644 --- a/lib/Controller/CallController.php +++ b/lib/Controller/CallController.php @@ -93,6 +93,7 @@ public function getPeersForCall(): DataResponse { 'token' => $this->room->getToken(), 'lastPing' => $participant->getSession()->getLastPing(), 'sessionId' => $participant->getSession()->getSessionId(), + 'publishingPermissions' => $participant->getAttendee()->getPublishingPermissions(), ]; } diff --git a/src/components/CallView/CallView.vue b/src/components/CallView/CallView.vue index 423eb4ec2b3..6330f9cb822 100644 --- a/src/components/CallView/CallView.vue +++ b/src/components/CallView/CallView.vue @@ -159,8 +159,9 @@