首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于/etc/ jitsi / jibri /config.json不存在,如何在jibri上编辑用于jitsi录制的/etc/jitsi/jibri/jibri.conf

由于/etc/ jitsi / jibri /config.json不存在,如何在jibri上编辑用于jitsi录制的/etc/jitsi/jibri/jibri.conf
EN

Stack Overflow用户
提问于 2021-04-20 02:15:02
回答 1查看 485关注 0票数 0

我正在开发一个ec2 aws实例上的自托管jitsi,安装已经成功完成,现在我想记录下来,当配置jibri时,我注意到/etc/jitsi/ jibri /config.json丢失了,对文档进行了更多的研究,发现jibri做了一些更改,要编辑的文件现在是/etc/jitsi/jibri/jibri.conf,但对于我的情况,jibri.conf是空的,试图复制/粘贴在这里的https://docs.easyjitsi.com/docs/confignewjibri/中找到的一些代码,但它仍然无法记录。所以问题是,是不是我的jibri.conf是空的,或者它应该是这样的,以及如何编辑它以便jitsi找到它?提前谢谢你

EN

回答 1

Stack Overflow用户

发布于 2021-09-08 03:04:53

jibri.conf

代码语言:javascript
复制
jibri {
  // A unique identifier for this Jibri
  // TODO: eventually this will be required with no default
  id = ""
  // Whether or not Jibri should return to idle state after handling
  // (successfully or unsuccessfully) a request.  A value of 'true'
  // here means that a Jibri will NOT return back to the IDLE state
  // and will need to be restarted in order to be used again.
  single-use-mode = false
  api {
    http {
      external-api-port = 2222
      internal-api-port = 3333
    }
    xmpp {
      // See example_xmpp_envs.conf for an example of what is expected here
      environments = [
          {
                name = "prod environment"
                xmpp-server-hosts = ["your.domain.com"]
                xmpp-domain = "your.domain.com"

                control-muc {
                    domain = "internal.auth.your.domain.com"
                    room-name = "JibriBrewery"
                    nickname = "jibri-nickname"
                }

                control-login {
                    domain = "auth.your.domain.com"
                    username = "jibri"
                    password = "JPwd"
                }

                call-login {
                    domain = "recorder.your.domain.com"
                    username = "recorder"
                    password = "RPwd"
                }

                strip-from-room-domain = "conference."
                usage-timeout = 0
                trust-all-xmpp-certs = true
            }]
    }
  }
  recording {
    recordings-directory = "/srv/recordings"
    # TODO: make this an optional param and remove the default
    finalize-script = "/path/to/finalize_recording.sh"
  }
  streaming {
    // A list of regex patterns for allowed RTMP URLs.  The RTMP URL used
    // when starting a stream must match at least one of the patterns in
    // this list.
    rtmp-allow-list = [
      // By default, all services are allowed
      ".*"
    ]
  }
  chrome {
    // The flags which will be passed to chromium when launching
    flags = [
      "--use-fake-ui-for-media-stream",
      "--start-maximized",
      "--kiosk",
      "--enabled",
      "--disable-infobars",
      "--autoplay-policy=no-user-gesture-required"
    ]
  }
  stats {
    enable-stats-d = true
  }
  webhook {
    // A list of subscribers interested in receiving webhook events
    subscribers = []
  }
  jwt-info {
    // The path to a .pem file which will be used to sign JWT tokens used in webhook
    // requests.  If not set, no JWT will be added to webhook requests.
    # signing-key-path = "/path/to/key.pem"

    // The kid to use as part of the JWT
    # kid = "key-id"

    // The issuer of the JWT
    # issuer = "issuer"

    // The audience of the JWT
    # audience = "audience"

    // The TTL of each generated JWT.  Can't be less than 10 minutes.
    # ttl = 1 hour
  }
  call-status-checks {
    // If all clients have their audio and video muted and if Jibri does not
    // detect any data stream (audio or video) comming in, it will stop
    // recording after NO_MEDIA_TIMEOUT expires.
    no-media-timeout = 30 seconds

    // If all clients have their audio and video muted, Jibri consideres this
    // as an empty call and stops the recording after ALL_MUTED_TIMEOUT expires.
    all-muted-timeout = 10 minutes

    // When detecting if a call is empty, Jibri takes into consideration for how
    // long the call has been empty already. If it has been empty for more than
    // DEFAULT_CALL_EMPTY_TIMEOUT, it will consider it empty and stop the recording.
    default-call-empty-timeout = 30 seconds
  }
}
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67167270

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档