Advertisement
LucasMSF

Untitled

Jan 12th, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. jibri {
  2. // A unique identifier for this Jibri
  3. // TODO: eventually this will be required with no default
  4. id = "jibri1"
  5. // Whether or not Jibri should return to idle state after handling
  6. // (successfully or unsuccessfully) a request. A value of 'true'
  7. // here means that a Jibri will NOT return back to the IDLE state
  8. // and will need to be restarted in order to be used again.
  9. single-use-mode = false
  10. api {
  11. http {
  12. external-api-port = 2222
  13. internal-api-port = 3333
  14. }
  15. xmpp {
  16. // See example_xmpp_envs.conf for an example of what is expected here
  17. environments = [
  18. {
  19. name = "prod environment"
  20. xmpp-server-hosts = ["amproom.lamp-services.com"]
  21. xmpp-domain = "amproom.lamp-services.com"
  22.  
  23. control-muc {
  24. domain = "internal.auth.amproom.lamp-services.com"
  25. room-name = "JibriBrewery"
  26. nickname = "jibri-nickname"
  27. }
  28.  
  29. control-login {
  30. domain = "auth.amproom.lamp-services.com"
  31. username = "jibri"
  32. password = "102030"
  33. }
  34.  
  35. call-login {
  36. domain = "recorder.amproom.lamp-services.com"
  37. username = "recorder"
  38. password = "102030"
  39. }
  40.  
  41. strip-from-room-domain = "conference."
  42. usage-timeout = 0
  43. trust-all-xmpp-certs = true
  44. }]
  45. }
  46. }
  47. recording {
  48. recordings-directory = "/srv/recordings"
  49. # TODO: make this an optional param and remove the default
  50. finalize-script = "/path/to/finalize_recording.sh"
  51. }
  52. streaming {
  53. // A list of regex patterns for allowed RTMP URLs. The RTMP URL used
  54. // when starting a stream must match at least one of the patterns in
  55. // this list.
  56. rtmp-allow-list = [
  57. // By default, all services are allowed
  58. ".*"
  59. ]
  60. }
  61. chrome {
  62. // The flags which will be passed to chromium when launching
  63. flags = [
  64. "--use-fake-ui-for-media-stream",
  65. "--start-maximized",
  66. "--kiosk",
  67. "--enabled",
  68. "--disable-infobars",
  69. "--autoplay-policy=no-user-gesture-required"
  70. ]
  71. }
  72. stats {
  73. enable-stats-d = true
  74. }
  75. webhook {
  76. // A list of subscribers interested in receiving webhook events
  77. subscribers = []
  78. }
  79. jwt-info {
  80. // The path to a .pem file which will be used to sign JWT tokens used in webhook
  81. // requests. If not set, no JWT will be added to webhook requests.
  82. # signing-key-path = "/path/to/key.pem"
  83.  
  84. // The kid to use as part of the JWT
  85. # kid = "key-id"
  86.  
  87. // The issuer of the JWT
  88. # issuer = "issuer"
  89.  
  90. // The audience of the JWT
  91. # audience = "audience"
  92.  
  93. // The TTL of each generated JWT. Can't be less than 10 minutes.
  94. # ttl = 1 hour
  95. }
  96. call-status-checks {
  97. // If all clients have their audio and video muted and if Jibri does not
  98. // detect any data stream (audio or video) comming in, it will stop
  99. // recording after NO_MEDIA_TIMEOUT expires.
  100. no-media-timeout = 30 seconds
  101.  
  102. // If all clients have their audio and video muted, Jibri consideres this
  103. // as an empty call and stops the recording after ALL_MUTED_TIMEOUT expires.
  104. all-muted-timeout = 10 minutes
  105.  
  106. // When detecting if a call is empty, Jibri takes into consideration for how
  107. // long the call has been empty already. If it has been empty for more than
  108. // DEFAULT_CALL_EMPTY_TIMEOUT, it will consider it empty and stop the recording.
  109. default-call-empty-timeout = 30 seconds
  110. }
  111. }
  112.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement