Bugfixes
- Make it so you no longer have to do the strange
globalThis.regeneratorRuntime = undefined
workaround to avoid a CSP-unfriendly'unsafe-eval'
when you’re using Babel. See our guide on how to set up your Content Security Policy.
Other improvements
- Add TypeScript types for specifying custom video layout parameters in the
startRecording()
andstartLiveStreaming()
methods. - Pre-beta: Add TypeScript types to
DailyParticipant
facilitating handling a remote media player participant initiated withstartRemoteMediaPlayer()
. Specifically, addtracks.rmpVideo
,tracks.rmpAudio
, andparticipantType
(which will be'remote-media-player'
for remote media player participants). - Add an advanced (not generally recommended) configuration option,
callObjectBundleUrlOverride
, nested underdailyConfig
in theDailyIframe
properties. This makes it possible for you to, say, host the dynamically-downloaded call machine bundle yourself in order to have a stricter CSP. If the previous sentence doesn’t make a ton of sense to you, no sweat: ignore this configuration option! Again, it’s not recommended for most usage.