Advertisement
Guest User

Untitled

a guest
Dec 18th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. # Jicofo HOCON configuration. See /usr/share/jicofo/jicofo.jar/reference.conf for
  2. #available options, syntax, and default values.
  3. jicofo
  4. {
  5. // Authentication with external services
  6. authentication {
  7. enabled = false
  8. // The type of authentication. Supported values are XMPP, JWT or SHIBBOLETH (default).
  9. type = SHIBBOLETH
  10. // The pattern of authentication URL. See ShibbolethAuthAuthority for more information.
  11. # login-url =
  12. # logout-url =
  13. authentication-lifetime = 24 hours
  14. enable-auto-login = true
  15. }
  16. jibri {
  17. // The JID of the MUC to be used as a brewery for jibri instances for streaming.
  18. brewery-jid = "JibriBrewery@internal.auth.meet.jengas.dev"
  19. // How many times to retry a given Jibri request before giving up. Set to -1 to allow infinite retries.
  20. num-retries = -1
  21. // How long to wait for Jibri to start recording from the time it accepts a START request.
  22. pending-timeout = 90 seconds
  23. }
  24. // Configuration related to jitsi-videobridge
  25. bridge {
  26. // The maximum number of participants in a single conference to put on one bridge (use -1 for no maximum).
  27. max-bridge-participants = -1
  28. // The assumed maximum packet rate that a bridge can handle.
  29. max-bridge-packet-rate = 50000
  30. // The assumed average packet rate per participant.
  31. average-participant-packet-rate-pps = 500
  32. // The assumed average stress per participant.
  33. average-participant-stress = 0.01
  34. // The assumed time that an endpoint takes to start contributing fully to the load on a bridge. To avoid allocating
  35. // a burst of endpoints to the same bridge, the bridge stress is adjusted by adding the number of new endpoints
  36. // in the last [participant-rampup-time] multiplied by [average-participant-stress].
  37. participant-rampup-interval = 20 seconds
  38. // The stress level above which a bridge is considered overstressed.
  39. stress-threshold = 0.8
  40. // The amount of to wait before retrying using a failed bridge.
  41. failure-reset-threshold = 1 minute
  42. // The bridge selection strategy. The built-in strategies are:
  43. // SingleBridgeSelectionStrategy: Use the least loaded bridge, do not split a conference between bridges (Octo).
  44. // SplitBridgeSelectionStrategy: Use a separate bridge for each participant (for testing).
  45. // RegionBasedBridgeSelectionStrategy: Attempt to put each participant in a bridge in their local region (i.e. use
  46. // Octo for geo-location).
  47. // IntraRegionBridgeSelectionStrategy: Use additional bridges when a bridge becomes overloaded (i.e. use Octo for
  48. // load balancing).
  49. //
  50. // Additionally, you can use the fully qualified class name for custom BridgeSelectionStrategy implementations.
  51. selection-strategy = SingleBridgeSelectionStrategy
  52. health-checks {
  53. // Whether jicofo should perform periodic health checks to the connected bridges.
  54. enabled = true
  55. // The interval at which to perform health checks.
  56. interval = 10 seconds
  57. // When a health checks times out, jicofo will retry and only consider it fail after the retry fails. This
  58. // configures the delay between the original health check timing out and the second health check being sent.
  59. // It is a duration and defaults to half the [interval].
  60. # retry-delay = 5 seconds
  61. }
  62. // The JID of the MUC to be used as a brewery for bridge instances.
  63. brewery-jid = "JvbBrewery@internal.auth.meet.jengas.dev"
  64. }
  65. // Configure the codecs and RTP extensions to be used in the offer sent to clients.
  66. codec {
  67. video
  68. {
  69. vp8
  70. {
  71. enabled = true
  72. pt = 100
  73. // Payload type for the associated RTX stream. Set to -1 to disable RTX.
  74. rtx-pt = 96
  75. }
  76. vp9 {
  77. enabled = true
  78. pt = 101
  79. // Payload type for the associated RTX stream. Set to -1 to disable RTX.
  80. rtx-pt = 97
  81. }
  82. h264 {
  83. enabled = true
  84. pt = 107
  85. // Payload type for the associated RTX stream. Set to -1 to disable RTX.
  86. rtx-pt = 99
  87. }
  88. }
  89. }
  90.  
  91. audio {
  92. isac-16000 {
  93. enabled = true
  94. pt = 103
  95. }
  96. isac-32000 {
  97. enabled = true
  98. pt = 104
  99. }
  100. opus {
  101. enabled = true
  102. pt = 111
  103. minptime = 10
  104. use-inband-fec = true
  105. red {
  106. enabled = false
  107. pt = 112
  108. }
  109. }
  110. telephone-event {
  111. enabled = true
  112. pt = 126
  113. }
  114. }
  115.  
  116. // RTP header extensions
  117. rtp-extensions {
  118. audio-level {
  119. enabled = true
  120. id = 1
  121. }
  122. tof {
  123. // TOF is currently disabled, because we don't support it in the bridge
  124. // (and currently clients seem to not use it when abs-send-time is
  125. // available).
  126. enabled = false
  127. id = 2
  128. }
  129. abs-send-time {
  130. enabled = true
  131. id = 3
  132. }
  133. rid {
  134. enabled = false
  135. id = 4
  136. }
  137. tcc {
  138. enabled = true
  139. id = 5
  140. }
  141. video-content-type {
  142. enabled = false
  143. id = 7
  144. }
  145. framemarking {
  146. enabled = false
  147. id = 9
  148. }
  149. }
  150.  
  151. conference {
  152. // Whether to automatically grant the 'owner' role to the first participant in the conference (and subsequently to
  153. // the next in line when the current owner leaves).
  154. enable-auto-owner = true
  155. // How long to wait for the initial participant in a conference.
  156. initial-timeout = 15 seconds
  157. // Whether jicofo should inject a random SSRC for endpoints which don't advertise any SSRCs. This is a temporary
  158. // workaround for an issue with signaling endpoints for Octo.
  159. inject-ssrc-for-recv-only-endpoints = false
  160. max-ssrcs-per-user = 20
  161. // How long a participant's media session will be kept alive once it remains the only participant in the room.
  162. single-participant-timeout = 20 seconds
  163. // The minimum number of participants required for the conference to be started.
  164. min-participants = 2
  165. // Experimental.
  166. enable-lip-sync = false
  167. shared-document {
  168. // If `true` the shared document uses a random name. Otherwise, it uses the conference name.
  169. use-random-name = false
  170. }
  171. }
  172.  
  173. // Configuration for the internal health checks performed by jicofo.
  174. health {
  175. // Whether to perform health checks.
  176. enabled = false
  177. // The interval between health checks. If set to 0, periodic health checks will not be performed.
  178. interval = 10 seconds
  179. # The timeout for a health check
  180. timeout = 30 seconds
  181. # If performing a health check takes longer than this, it is considered unsuccessful.
  182. max-check-duration = 20 seconds
  183. # The prefix to use when creating MUC rooms for the purpose of health checks.
  184. room-name-prefix = "__jicofo-health-check"
  185. }
  186. jibri-sip {
  187. // The JID of the MUC to be used as a brewery for jibri instances for SIP.
  188. # brewery-jid = "jibrisipbrewery@example.com"
  189. }
  190. jigasi {
  191. // The JID of the MUC to be used as a brewery for jigasi instances.
  192. # brewery-jid = "jigasibrewery@example.com"
  193. }
  194. // The region in which the machine is running.
  195. #local-region="us-east-1"
  196. octo {
  197. // Whether or not to use Octo. Note that when enabled, its use will be determined by
  198. // $jicofo.bridge.selection-strategy.
  199. enabled = true
  200. // An identifier of the Jicofo instance, used for the purpose of generating conference IDs unique across a set of
  201. // Jicofo instances. Valid values are [1, 65535]. The value 0 is used when none is explicitly configured.
  202. id = 1234
  203. }
  204. rest {
  205. port = 8888
  206. tls-port = 8843
  207. }
  208. sctp {
  209. // Whether to allocate SCTP channels on the bridge (only when the client advertises support, and SCTP is
  210. // enabled in the per-conference configuration).
  211. enabled = true
  212. }
  213. task-pools {
  214. shared-pool-max-threads = 1500
  215. }
  216. xmpp {
  217. // The separate XMPP connection used for communication with clients (endpoints).
  218. client {
  219. enabled = true
  220. hostname = "localhost"
  221. port = 5222
  222. #domain =
  223. username = "focus"
  224. #password =
  225. // How long to wait for a response to a stanza before giving up.
  226. reply-timeout = 15 seconds
  227. // The JID/domain of the MUC service used for conferencing.
  228. # conference-muc-jid = conference.example.com
  229. // A flag to suppress the TLS certificate verification.
  230. disable-certificate-verification = true
  231. }
  232. }
  233. // The separate XMPP connection used for internal services (currently only jitsi-videobridge).
  234. service {
  235. enabled = false
  236. hostname = "localhost"
  237. port = 6222
  238. #domain =
  239. #username =
  240. #password =
  241. // How long to wait for a response to a stanza before giving up.
  242. reply-timeout = 15 seconds
  243. // A flag to suppress the TLS certificate verification.
  244. disable-certificate-verification = true
  245. }
  246. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement