Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About

 


mod_janus currently awaiting a Pull Request to be completed .  Then, presumably, it will only be available in the master branch until the next FreeSWITCH release.

 

(https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/1695/overview).


The mod_janus endpoint provides an interface to the Janus audiobridge (https://janus.conf.meetecho.com/docs/audiobridge.html).

...

Code Block
<load module="mod_janus"/>

 


Sample Configuration File

If called with the following dialstring ("{janus-use-existing-room=true}janus/demo/MyName@1234) this configuration file should allow you to test using the Janus audiobridge demo (https://janus.conf.meetecho.com/audiobridgetest.html)

 


Code Block
languagexml
<configuration name="janus.conf" description="Janus Endpoint">
  <settings>
    <param name="debug" value="false"/>
  </settings>

  <server name="demo">
    <param name="url" value="https://janus.conf.meetecho.com/janus"/>
    <!-- <param name="secret" value="the-secret"/> -->
    <param name="enabled" value="true"/>
    <param name="rtp-ip" value="$${bind_server_ip}"/>
    <!-- <param name="apply-candidate-acl" value="localnet.auto"/> -->
    <!-- <param name="local-network-acl" value="localnet.auto"/> -->
    <param name="ext-rtp-ip" value="auto-nat"/>
    <param name="codec-string" value="opus"/>
  </server>
</configuration>

...

  • janus-use-existing-room - By default the module will create the room, if this flag is set then the caller is joined to an existing room.
  • janus-room-description - This is a textual description of the room specified in the *create* request to Janus (only applicable if janus-use-existing-room is false)
  • janus-room-record - The value is specified in the *create* request to Janus and indicates that the room mix should be recorded (only applicable if janus-use-existing-room is false).  The default value is not to record.
  • janus-room-record-file - This value specifies the file name to which the recording should be written.  It is passed in the *create* request to Janus (only applicable if janus-use-existing-room is false and  janus-room-record is true).  If omitted the default filename will be used.
  • janus-user-record - Janus should generate a file containing the audio from the user only.  It is specified in the *configure* request.  The default value is not to record.
  • janus-user-record-file - This specifies the base of the filename used when recording the user audio stream.  If omitted the default filename will be used.
  • janus-start-muted - Included in the *confifigure* request to indicate that the user should enter the room muted (no mechanism exists in the module to modify the mute status later).  The default value is that the user should not be muted.

 


Configuration

 The configuration file consists of two sections:

...

Code Block
/janus/<server>/<display name>@<room>