O'Reilly logo

Socket.IO Cookbook by Tyson Cadenhead

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Streaming Binary Data

In this chapter, we will cover the following recipes:

  • Broadcasting an image to other sockets
  • Uploading an image to the filesystem
  • Uploading an image to Amazon S3
  • Streaming audio
  • Streaming live video

Introduction

Socket.IO 1.0 gives us the ability to stream binary data between the server and the client. In this chapter, we will use this ability to transport various forms of binary data, such as images, audio, and video.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required