July 2022 Summaries
6 posts from Daily
Filter
Month:
Year:
Post Summaries
Back to Blog
This summary covers the key points of the text, providing an overview of how to create Daily rooms on demand at runtime in a social gaming application without exposing the Daily API key to the client. The process involves using Daily's REST API to generate video call rooms and utilizing a server-side approach to keep the API key secure. The application server initializes Express and creates game orchestrator, sets up static file serving, and defines handlers for creating and joining games. On the client side, forms are created for game join and creation, with the latter requiring player name and game name input. When the creation form is submitted, a POST request is made to the /create endpoint, which generates the game and Daily room on the server without exposing the API key. The process demonstrates how to safely use Daily's REST API in a client-server architecture.
Jul 25, 2022
2,145 words in the original blog post.
This social gaming series explores how to incorporate WebRTC video and audio calls into a Daily-powered social game, Code of Daily: Modern Wordfare. The game is inspired by Codenames and involves two teams competing against each other to guess words that belong to their team. The tech stack includes daily-js for WebRTC functionality, Daily's REST API, TypeScript with webpack, Express for serving static assets, and Socket.IO for WebSocket protocol implementation. The application structure consists of a client and server, with the browser entry point detecting whether it should start the game creation or join process based on query parameters. The scope is kept in check to focus on basic Codenames-inspired gameplay without advanced features like open-world MMOs or complex admin functionality. Expansion opportunities include improved error handling, cursor sharing, and admin/game host functionality.
Jul 18, 2022
1,022 words in the original blog post.
The Video Component System (VCS) is a new tool in Daily that allows developers to customize video layouts for live streams and recorded content. The baseline composition is an easy-to-use option that provides default configurations, while the VCS SDK offers more customization options with more coding required. The baseline composition can be used to create splash screens at the start of a live stream or recording, as well as general title slates that can be shown anytime during the stream. Images can also be passed as background assets for these title slates. The VCS Simulator allows developers to quickly test and customize composition parameters, including overlay text styles, image overlays, toast components, and more. With the VCS, developers can create highly customized interactive live streams or recorded content that matches their brand's unique style.
Jul 14, 2022
1,489 words in the original blog post.
The Daily Video Component System (VCS) is a developer toolkit that enables the creation of dynamic recordings and multi-participant live streams. It allows software developers to build high-quality streaming experiences with features such as dynamic graphics overlays, programmable layouts, and video rounded corners and outlines. VCS encompasses both a set of baseline compositions and an open-source SDK, which can be customized even more. The system is designed for a collaborative world where people may join or leave and their production roles may change during a live stream. It provides cloud-native architecture for video recording and streaming, allowing developers to execute compositions and graphics on Daily's cloud servers or directly within client apps. VCS enables the creation of dynamic text overlays, animated graphics, programmable layouts, and more, with options to create custom branding, titles, animated reactions, novel visual layouts, and so on. The system is designed to be scalable, allowing for seamless scaling up whether the stream has one active participant or hundreds. It also provides universal rendering capabilities, enabling true distributed production tools where multiple roles can come together to produce a stream, and where multiple types of viewers require their own variant of the same rendering.
Jul 07, 2022
1,994 words in the original blog post.
MegaCorp` is a large corporation facing a crisis where their internal meetings are leaking to the internet, and the CEO demands that they watermark their videos to prevent piracy. Dr. Taeglich, a researcher, creates a solution using Daily's Video Component System (VCS), a video-oriented JavaScript graphics framework based on React. The solution involves creating a custom component that adds a moving watermark with randomized position to the video stream. The watermark is deployed using Daily's API and session assets feature, which allows users to upload their own images or components. The tutorial demonstrates how to build this custom component from scratch and deploy it in a live stream or recording on Daily.
Jul 07, 2022
4,194 words in the original blog post.
The Video Component System (VCS) of Daily's baseline composition allows developers to create custom live stream layouts and add image and text overlays that can be triggered mid-stream. In this tutorial, the authors extend their previous example by showing how to add text animations, also known as "toasts", that can be displayed during a live stream with dynamic text content. To trigger a toast component, users need to access the updateLiveStreaming() daily-js method and set specific options in the composition_params object, such as the toast's text, color, font styles, duration, and key value. The authors provide code examples and suggest visiting the VCS Simulator for more information on using Daily's baseline composition features.
Jul 04, 2022
1,174 words in the original blog post.