Home / Companies / Stream / Blog / November 2019

November 2019 Summaries

8 posts from Stream

Filter
Month: Year:
Post Summaries Back to Blog
In a tutorial exploring advanced functionalities of a chatroom application built with Laravel, Vue.js, and Stream Chat, various features are implemented to enhance user interaction. The tutorial introduces functionalities such as allowing users to manually join or leave channels, displaying notifications for when users enter or leave the chat, and showing a typing indicator when a user is composing a message. The leave and join channel features are achieved through methods in the ChatController class, which interact with the Stream Chat API to manage channel memberships. Notifications for user activity are handled by listening to Stream Chat events like member.added and member.removed, updating the interface accordingly. Additionally, typing indicators are implemented using typing.start and typing.stop events, providing real-time feedback within the chat application. The tutorial emphasizes utilizing Stream Chat’s events and methods to create a more dynamic and user-friendly chat experience, with all code examples and instructions available on GitHub for further exploration.
Nov 15, 2019 1,534 words in the original blog post.
Wowza provides a flexible platform for live video streaming, trusted by over 24,000 organizations, and offers a Live Video Streaming API that integrates with Stream's real-time chat technology to enhance live video experiences. The integration uses the Real-Time Messaging Protocol (RTMP) for recording devices and HTTP Live Streaming (HLS) for playback, allowing seamless real-time streaming by transcoding video to .m3u8 format in near real-time. The tutorial guides users through setting up a custom application using Node.js, Yarn, and Git, with a focus on deploying both a web interface and an API for live chat and video streaming. Users are encouraged to create a trial account with Wowza, configure streaming credentials, and utilize third-party apps like Broadcaster for iOS to stream video content, while ensuring that the necessary environment variables are set up for both web and API components. The collaboration between Wowza and Stream Chat enables features like simultaneous chat and live video, enhancing user engagement with real-time interactions, and offers various SDKs for building custom applications.
Nov 11, 2019 1,482 words in the original blog post.
Advancements in healthcare technology necessitate secure real-time telemedicine communication, emphasizing the importance of HIPAA compliance to protect patient data privacy. This tutorial guides developers in creating a HIPAA-compliant, end-to-end encrypted chatbot using Stream Chat, Dialogflow, and Virgil Security for encryption. The application integrates Virgil Security's E3Kit with Stream Chat React components to facilitate secure communication where messages are encrypted on the user's device and decrypted by the intended recipient. Developers are instructed to manage user authentication and chat sessions through a backend server that utilizes Stream and Virgil credentials. The chatbot leverages Dialogflow to interpret user messages and respond accordingly, ensuring that sensitive information remains encrypted throughout the process. The tutorial provides step-by-step instructions for setting up the necessary environment, including the creation of intents and entities in Dialogflow, configuring Stream webhooks, and handling message encryption and decryption. The source code is available on GitHub, and the tutorial highlights the importance of signing a Business Associate Agreement (BAA) with Stream for HIPAA compliance, with end-to-end encryption serving as an additional security measure.
Nov 11, 2019 3,299 words in the original blog post.
GraphQL offers a transformative approach for developers by allowing the retrieval of all necessary data in a single request, which significantly enhances the efficiency of backend API development when compared to traditional RESTful APIs. This tutorial guides developers through creating a GraphQL API using graphql-compose-mongoose and Node.js while adhering to ES6 specifications, focusing on building a todo application. The process involves setting up the necessary directory structure, installing and configuring tools such as Babel, Prettier, and Eslint, and establishing a connection to a MongoDB database. Developers are shown how to create Mongoose models and GraphQL schemas for users and tasks, enabling CRUD operations through queries and mutations. The tutorial concludes by encouraging further exploration and expansion of the application, highlighting the flexibility and power of GraphQL in creating efficient and clean code for modern web and mobile applications.
Nov 04, 2019 1,906 words in the original blog post.
The Stream Services team collaborated with Branch to implement a deep linking and navigation feature for a client using a React Native application, which revealed challenges related to the asynchronous nature of native JavaScript code. The integration aimed to utilize Branch's dashboard for creating deep links with data payloads, but synchronization issues arose because Branch's native methods didn't align with the React Native component lifecycle, causing multiple rendering issues. To address this, the team adopted React's Context API to effectively store and manage deep link data on initial app load, allowing components to access this information as needed for navigation and other purposes. This approach proved particularly beneficial for ensuring smooth user experiences, especially in scenarios involving user authentication and content navigation, such as directing users to specific pages, like a marketing influencer's profile, after sign-up. The team's experience highlights the importance of creative problem-solving and knowledge sharing in making seamless product integrations possible.
Nov 04, 2019 1,305 words in the original blog post.
Integrating Stream for user authentication in applications involves generating a user token server-side, which is necessary for initializing Stream's SDK in both web and mobile environments. This tutorial focuses on client-side authentication using component-based libraries like React and React Native, while noting that Stream also supports server-side authentication with just an application's key and secret. Stream does not handle user signup or login directly but integrates with existing authentication solutions such as Auth0 or Okta. The process involves having the login or signup API endpoints return Stream's user token along with the session ID, allowing the client-side to use the token to initialize UI components. The tutorial provides code snippets for generating and using the Stream user token, emphasizing the simplicity of the process and directing users to Stream's documentation for more in-depth information.
Nov 04, 2019 395 words in the original blog post.
Advancements in healthcare technology have led to increased expectations for secure, real-time communication through healthcare applications, notably when exchanging protected health information (PHI) via in-app chat messaging. Ensuring HIPAA compliance is crucial in maintaining user trust and privacy, and while end-to-end encryption (E2EE) is not obligatory for HIPAA compliance, it adds a vital layer of security. The tutorial focuses on building a HIPAA-compliant telemedicine chat solution using Stream Chat, with added security through Virgil Security's eThree Kit for E2EE. The implementation involves integrating Stream's Chat functionality within a React app, utilizing Virgil for encryption and decryption of messages to ensure PHI remains confidential during transmission. Developers are guided through creating a backend with Express (Node.js) and a frontend with React, requiring accounts with Stream and Virgil to handle authentication and encryption processes. The tutorial outlines steps for setting up authentication, connecting users to Stream and Virgil, creating chat channels, and securely sending and decrypting messages, emphasizing the ease of integration provided by Stream and Virgil's services.
Nov 01, 2019 2,161 words in the original blog post.
Stream, a platform for integrating live video into applications, has introduced a new Video API that enables developers to incorporate live video calling, voice calling, audio rooms, and livestreaming functionalities with a customizable user interface across major frontend platforms. The platform's integration with Voxeet, a leader in video solutions acquired by Dolby, was chosen over competitors like Twilio due to its robust SDK offerings, predictable pricing, excellent documentation, and seamless React integration with Stream Chat. A proof of concept for a video conferencing application, similar to Zoom, was developed using React, showcasing Voxeet's superior real-time video clarity and reduced latency. The application’s architecture includes a frontend UI and a backend API hosted on platforms like Netlify and Heroku, with authentication managed via a simple login form using Redux and Formik. The integration of Stream Chat offers real-time messaging capabilities within a custom chat drawer, enhancing the application's interactivity and user experience. The guide provides comprehensive details for setting up the application, including environment configuration, component creation, and styling, culminating in a fully functional video chat application.
Nov 01, 2019 24,468 words in the original blog post.