Skip to content

Latest commit

 

History

History

publishStreamManagerProxyAudioSettings

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Publish Custom Settings

This example allows you to customize the media broadcast settings for a WebRTC Publisher.

Please refer to the Basic Publisher Documentation to learn more about the basic setup.

Example Code

Server Configuration

Please read about WHIP/WHEP Configuration for Standalone and Stream Manager support.

You also need to ensure that the stream manager proxy layer is enabled. The configuration section can be found in stream manager's config file - red5-web.properties

## WEBSOCKET PROXY SECTION

proxy.enabled=false

Running the Example

Fill in any custom broadcast settings for testing, then press Publish.

Settings

Settings included for customization:

Name Usage
Camera Device The Camera Device to broadcast with.
Camera Width The requested Camera width to broadcast.
Camera Height The requested Camera height to broadcast.
Camera Framerate The frequested framerate at which to broadcast.
Video Bitrate (Kbps) The requested video bitrate to broadcast. This will munge the SDP being sent out in Peer Connection offers.
Audio Bitrate (Kbps) The requested audio bitrate to broadcast. This will munge the SDP being sent out in Peer Connection offers.
Key Framerate (ms) The requested time - in milliseconds - to send a key frame during broadcast.