-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: reduce cal recording bitrate #15588
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
@@ -165,3 +165,11 @@ export const TRANSCRIPTION_STARTED_ICON = IS_PRODUCTION | |||
export const TRANSCRIPTION_STOPPED_ICON = IS_PRODUCTION | |||
? `${WEBAPP_URL}/sparkles.svg` | |||
: `https://app.cal.com/sparkles.svg`; | |||
|
|||
export const RECORDING_DEFAULT_ICON = IS_PRODUCTION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Daily requires icon to be in https format so this won't be visible right now locally.
import { z } from "zod"; | ||
|
||
/** @link https://docs.daily.co/reference/rest-api/rooms/create-room */ | ||
export const dailyReturnTypeSchema = z.object({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just moved zod schemas to this file
room_name: dailyEvent.name, | ||
exp: dailyEvent.config.exp, | ||
is_owner: true, | ||
enable_recording_ui: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set enable_recording_ui: false to hide default recording button because we want are using customTrayButtons
recording: { | ||
label: "Record", | ||
tooltip: "Start or stop recording", | ||
iconPath: RECORDING_DEFAULT_ICON, | ||
iconPathDarkMode: RECORDING_DEFAULT_ICON, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom Recording button
const guestMeetingPassword = await generateGuestMeetingTokenFromOwnerMeetingToken( | ||
videoReference.meetingPassword | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required because we want a meeting token with enable_recording_ui: false
so that default recording button doesn't show up
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (06/27/24)1 reviewer was added to this PR based on Keith Williams's automation. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (06/27/24)1 reviewer was added to this PR based on Keith Williams's automation. |
What does this PR do?
Slack thread about implementation https://calcominc.slack.com/archives/C02EQ5KP630/p1718760508623649?thread_ts=1718307301.750959&cid=C02EQ5KP630
TODO:-
AFTER(21s, 480p, 500KB) VS BEFORE(26s, 1080p, 15MB)
Mandatory Tasks (DO NOT REMOVE)