Skip to main content

Multi-Player (several streams on one page)

Multi-Player shows several live streams at once: in a grid, as a list, or as tabs your viewers switch between. Use it for a lobby with several tables or games, a monitoring wall for your own streams, or an event with parallel stages.

Which feature do you need?​

Several features deal with "more than one stream". Pick by who decides what is on screen.

You wantUse
Viewers see several streams at the same time, or pick one from a setMulti-Player (this page)
Your backend cuts between camera angles, and every viewer followsMulti-Camera
One stream in several qualities, chosen automaticallyAdaptive Bitrate Streaming
One player that changes to another stream on a clickStream switching in Player features

Set it up​

In the Builder Hub you try Multi-Player on four streams we run, and watch your own live streams on the Live wall. On your own website you build it with several nanoStream Player instances. There is no Dashboard setting for Multi-Player; use the Builder Hub or the API.

Who can use it:

You areMulti-Player demoLive wall
GuestYes, under Demos › StreamYour test streams of this session
Free accountYes, under Demos › StreamEvery live stream of your organisation
Existing customerNot in the menuEvery live stream of your organisation

Try the Multi-Player demo

  1. Open builder.nanocosmos.net and choose Demos › Stream › Multi-Player. No account is needed.
  2. Four live streams play in one player, each on its own tab. Switch between the tabs.
  3. Use the layout buttons to watch them all together: 2×2, a list, or tabs.
  4. Use Play, Pause and Add Stream to bring in a stream of your own by its name.

Learn how it works sums up what to look for. Signed in, it ends with Watch your own streams on the Live wall →.

Watch your own streams on the Live wall

  1. Sign in, or continue as a guest and create a test stream with Instant Live Stream (see the Quickstart).
  2. Open Streams in the menu (or your industry's word, for example Tables), then the Live wall tab. List takes you back to the stream list.
  3. Every stream that is live right now plays muted, side by side, with its stream name and up to two tags. The wall shows up to 24 live streams.
  4. The wall updates on its own: new live streams are added and finished ones removed, without restarting the players that are still playing. Click Refresh to check straight away.

If your organisation has secure playback on, each tile creates its playback token itself and shows Starting secure playback… meanwhile.

What you get: in the demo, a feel for tabbed and grid layouts with several low-latency players in sync; on the Live wall, a monitoring view of everything you have live, without opening each stream.

Message or problemWhat to do
Nothing is live right now.Start your encoder, or open Instant Live Stream to create a test stream.
Sign in or explore as a guest to see your live streams here.Choose how to come in first: sign in, create a free account, or continue as a guest.
Secure playback is on, and no playback token could be created.Sign out and sign in again with an admin login of your organisation.
A tile stays blackThe stream has probably just stopped. Finished streams leave the wall at the next update; click Refresh to check now.

Tips for several players​

  • Start muted. Browsers block autoplay with sound. playback.automute starts each player muted; let the viewer unmute the one they want to hear.
  • Pause what isn't visible. Every player uses bandwidth and CPU. Pause or destroy tiles that scroll off screen or sit in a hidden tab: a paused player keeps its connection, destroy() closes it.
  • One stream, one tile: to let a viewer change the stream in a single player instead, use player.updateSource(...) with the new source. player.switchStream(index) only switches between entries already in the player's source list.
  • Count viewers correctly. Each open tile is its own playback session in nanoStream Analytics.

Next steps​

tip

Try it in the Builder Hub: open Multi-Player to watch several streams together, or the Live wall for every stream of yours that is live. Start for Free