WebRTC Publisher with minimal settings

WebRTC Publisher with only audio and video device selection.

Note: Not a live demo, server configuration is just for example. For live working example try the Millicast Publisher and Subscriber example.

WebRTC Publisher configuration showing minimal encoder settings with the audio meter integrated within the hidden settings.

Disabling the verticalMeter config, this turns on a horizontal audio meter display.

    <div class="max-w-screen-2xl h-auto my-auto">
          <div id="publisher-settings-minimal" class="has-settings"></div>
  <script type="text/javascript">
  	var player = jwplayer("publisher-settings-minimal", {
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "plugins": {
        "../../js/webrtcpeakmeter-8.20.0.js": {
            "verticalMeter": false
        "../../js/webrtcpublisher-8.20.0.js": {
            "applicationName": "webrtc",
            "autoStartDevice": true,
            "floatedControls": true,
            "publisher": true,
            "server": "wowza",
            "serverURL": "rtc.electroteque.org",
            "settings": true,
            "toggleScreen": true,
            "ui": {
                "audioInput": "audioSource",
                "audioOutput": "audioOutput",
                "bandwidth": "bandwidth",
                "container": "#encoder-menu-minimal",
                "rates": "rates",
                "resolution": "resolution",
                "videoSource": "videoSource"
            "userData": {
                "param1": "value1"
    "sources": [
            "appName": "webrtc",
            "file": "C6Lx6ku6FEXgKtt",
            "live": true,
            "publisher": true,
            "type": "mp4"
    "width": "100%"