Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable playout-delay extension + NACKs + janus version bumps #41

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ansible/roles/janus-ftl-plugin/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---

libnice_version: "0.1.18"
libsrtp_version: "v2.3.0"
janusgateway_version: "v0.10.9"
libsrtp_version: "v2.4.2"
janusgateway_version: "rtp-playout-delay-extension"
janus_ftl_plugin_version: "master"

# Using an admin Glimesh account, create an "Application"
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/janus-ftl-plugin/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

- name: download janus-gateway
git:
repo: https://github.com/meetecho/janus-gateway.git
repo: https://github.com/Glimesh/janus-gateway.git
dest: /tmp/janus-gateway
recursive: true
update: true
Expand Down Expand Up @@ -207,7 +207,7 @@

# --buildtype=release
- name: meson janus-ftl-plugin
shell: CC=gcc-10 CXX=g++-10 meson build/ --buildtype=debugoptimized
shell: CC=gcc-10 CXX=g++-10 meson build/ --buildtype=debugoptimized -D janus_playout_delay_support=true
args:
chdir: /tmp/janus-ftl-plugin
# when: janus_ftl_plugin.changed
Expand Down
3 changes: 3 additions & 0 deletions ansible/roles/janus-ftl-plugin/templates/janus.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ Environment="FTL_SERVICE_GLIMESH_CLIENTID={{ glimesh_client_id }}"
Environment="FTL_SERVICE_GLIMESH_CLIENTSECRET={{ glimesh_client_secret }}"
Environment="FTL_MAX_ALLOWED_BITS_PER_SECOND=8000000"
Environment="FTL_ROLLING_SIZE_AVG_MS=30000"
Environment="FTL_NACK_LOST_PACKETS=1"
Environment="FTL_PLAYOUT_DELAY_MIN_MS=400"
Environment="FTL_PLAYOUT_DELAY_MAX_MS=4000"

[Install]
WantedBy=multi-user.target