-
Ever wanted to save your device preferences for a Daily call?
If you’re building a custom call UI with Daily’s callObject, you can save the user’s device preference (i.e. their preferred mic, camera, and speakers) by passing the useDevicePreferenceCookies property to dailyConfig while creating the callObject, like below: const callObject = DailyIframe.createCallObject({ url:…
-
Transcript on top of Daily recordings
If you'd like to add captions to your Daily recordings, you can combine the transcription feature with the new VCS recording feature like so: callObject.on('app-message', (newText) => { if (msg.fromId === 'transcription' && msg.data.is_final) { call.updateLiveStreaming({ layout: { preset: "custom", composition_params: {…
-
Add transcripts to your recordings
Using a custom VCS layout and live transcription, you can make sure those transcripts show up on the recorded stream using this code snippet: callObject.on('app-message', (newText) => { if (msg.fromId === 'transcription' && msg.data.is_final) { call.updateRecording({ layout: { preset: "custom", composition_params: {…
-
Aura reader for two!
I made an aura reader collaborative app (you need two participants), and it uses Daily and the Daily Hooks library! Here's the source code and a link to the app: https://github.com/ablwr/aura-reader-for-two If you have ever wondered how to identify or outline faces for Daily video streams, this app does that, so you can…
-
Update your Daily Prebuilt with different themes!
Here's a snippet that lets you add a few different popular text editor themes to your Daily call, updated on click. <html> <head> <title>Custom themed video chat</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script crossorigin src="https://unpkg.com/@daily-co/daily-js"></script> <style> body…
-
Creating Daily rooms in Go
Here is a quick snippet I threw together to create Daily rooms in Go. This inspired me to make a little library to interact with our REST API in general so there's likely more to come, but in the meantime here's some very basic room-creation logic. Let me know if you run into any problems! package daily import ( "bytes"…