Facebook
From Sharp Giraffe, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 126
  1. # room-<unique room ID>: {
  2. # description = This is my awesome room
  3. # is_private = true|false (whether this room should be in the public list, default=true)
  4. # secret = <optional password needed for manipulating (e.g. destroying) the room>
  5. # pin = <optional password needed for joining the room>
  6. # require_pvtid = true|false (whether subscriptions are required to provide a valid
  7. #                       a valid private_id to associate with a publisher, default=false)
  8. # publishers = <max number of concurrent senders> (e.g., 6 for a video
  9. #              conference or 1 for a webinar)
  10. # bitrate = <max video bitrate for senders> (e.g., 128000)
  11. # bitrate_cap = true|false (whether the above cap should act as a hard limit to
  12. #                       dynamic bitrate changes by publishers; default=false, publishers can go beyond that)
  13. # fir_freq = <send a FIR to publishers every fir_freq seconds> (0=disable)
  14. # audiocodec = opus|g722|pcmu|pcma|isac32|isac16 (audio codec(s) to force on publishers, default=opus
  15. #                       can be a comma separated list in order of preference, e.g., opus,pcmu)
  16. # videocodec = vp8|vp9|h264 (video codec(s) to force on publishers, default=vp8
  17. #                       can be a comma separated list in order of preference, e.g., vp9,vp8,h264)
  18. # opus_fec = true|false (whether inband FEC must be negotiated; only works for Opus, default=false)
  19. # video_svc = true|false (whether SVC support must be enabled; only works for VP9, default=false)
  20. # audiolevel_ext = true|false (whether the ssrc-audio-level RTP extension must
  21. #               be negotiated/used or not for new publishers, default=true)
  22. # audiolevel_event = true|false (whether to emit event to other users or not, default=false)
  23. # audio_active_packets = 100 (number of packets with audio level, default=100, 2 seconds)
  24. # audio_level_average = 25 (average value of audio level, 127=muted, 0='too loud', default=25)
  25. # videoorient_ext = true|false (whether the video-orientation RTP extension must
  26. #               be negotiated/used or not for new publishers, default=true)
  27. # playoutdelay_ext = true|false (whether the playout-delay RTP extension must
  28. #               be negotiated/used or not for new publishers, default=true)
  29. # transport_wide_cc_ext = true|false (whether the transport wide CC RTP extension must be
  30. #               negotiated/used or not for new publishers, default=true)
  31. # record = true|false (whether this room should be recorded, default=false)
  32. # rec_dir = <folder where recordings should be stored, when enabled>
  33. # notify_joining = true|false (optional, whether to notify all participants when a new
  34. #               participant joins the room. The Videoroom plugin by design only notifies
  35. #               new feeds (publishers), and enabling this may result extra notification
  36. #               traffic. This flag is particularly useful when enabled with require_pvtid
  37. #               for admin to manage listening only participants. default=false)
  38. #}
  39.  
  40. general: {
  41.         admin_key = "q3dna44a1"         # If set, rooms can be created via API only
  42.                                                                         # if this key is provided in the request
  43.         #lock_rtp_forward = true                # Whether the admin_key above should be
  44.                                                                         # enforced for RTP forwarding requests too
  45.         #events = false                                 # Whether events should be sent to event
  46.                                                                         # handlers (default=true)
  47.  
  48.         # By default, integers are used as a unique ID for both rooms and participants.
  49.         # In case you want to use strings instead (e.g., a UUID), set string_ids to true.
  50.         string_ids = true
  51. }
  52.  
  53. room-1234: {
  54.         description = "Demo Room"
  55.         secret = "adminpwd"
  56.         publishers = 6
  57.         bitrate = 128000
  58.         fir_freq = 10
  59.         #audiocodec = "opus"
  60.         #videocodec = "vp8"
  61.         record = false
  62.         #rec_dir = "/path/to/recordings-folder"
  63. }
  64.  
  65. # This other demo room here is only there in case you want to play with
  66. # the VP9 SVC support. Notice that you'll need a Chrome launched with
  67. # the flag that enables that support, or otherwise you'll be using just
  68. # plain VP9 (which is good if you want to test how this indeed affect
  69. # what receivers will get, whether they're encoding SVC or not).
  70. room-5678: {
  71.         description = "VP9-SVC Demo Room"
  72.         secret = "adminpwd"
  73.         publishers = 6
  74.         bitrate = 512000
  75.         fir_freq = 10
  76.         videocodec = "vp9"
  77.         video_svc = true
  78. }