nanocosmos Documentation

nanocosmos Documentation

  • nanoStream Cloud
  • H5Live Player
  • nanoStream Webcaster
  • nanoMeet
  • nanoStream Apps and SDKs
  • Samples
  • FAQ

›Features

nanoStream Webcaster

  • Introduction
  • Getting started
  • Browser Demos
  • Support

Features

  • Secure ingest with Webcaster
  • Screen Sharing
  • Multiple Webcasts
  • Quality Settings
  • Device Selection
  • Audio- / Video-Only
  • Speech / Music Streaming
  • External Streams / Mixing
  • Stats and Metrics
  • Automatic Reconnection

API

  • Webcaster

Other

  • FAQ
Edit

Audio- / Video-Only

In addition to regular streaming, with the nanoStream Webcaster you can stream Audio-Only and Video-Only.

Audio-Only or Video-Only streaming is enabled by setting video or audio device to false in the configuration object passed to startPreview(config).

Audio-Only Streaming

// to start Audio-Only streaming, we pass "false" to the video device configuration

var videoDeviceConfig = {
  device: false  // setting a video device to "false" allows to stream Audio-Only
};

var audioDeviceConfig = {
  device: 0 // we select the first available audio device
};

var config = {
  videoDeviceConfig: videoDeviceConfig,
  audioDeviceConfig: audioDeviceConfig,
  elementId: videoElement
};
 
user.startPreview(config);

Video-Only Streaming

// to start Video-Only streaming, we pass "false" to the audio device configuration

var videoDeviceConfig = {
  device: 0  // we select the first available video device
};

var audioDeviceConfig = {
  device: false // setting an audio device to "false" allows to stream Video-Only
};

var config = {
  videoDeviceConfig: videoDeviceConfig,
  audioDeviceConfig: audioDeviceConfig,
  elementId: videoElement
};
 
user.startPreview(config);
Last updated on 9/11/2023
← Device SelectionSpeech / Music Streaming →
  • Audio-Only Streaming
  • Video-Only Streaming
Contact
HomepageContactSupportLegal Terms
Products
Nanostream Cloud with Bintu.LiveH5Live Low Latency HTML5-PlayernanoStream WebcasterNanostream Apps and SDK
More
BlogTwitterFacebookLinkedInGitHubStar
nanocosmos GmbH
Copyright © 2023 nanocosmos GmbH - doc version Mon Sep 11 2023 09:43:20 GMT+0000 (Coordinated Universal Time)