Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz
Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy
1/03/2023
In this example, the client is Ubuntu, and the server is Windows. ffmpeg will need to be installed on both. Other scenarios will need a different command and understanding of ffmpeg. | |
On the "client", run the ffmpeg command: | |
`ffmpeg -re -f alsa -ac 2 -i default -fflags +genpts -vn -c:a pcm_s16be -sdp_file ~/sdp_stream.sdp -f rtp rtp://server:1234` | |
Where `server` is your barrier server IP address. This will stream desktop audio to the specified address | |
(If you use pulse instead of alsa, replace `-f alsa` with `-f pulse` ) |
*Last Updated: 3/25/2020* | |
Does your beefy computer have annoying issues streaming and playing at the same time? Read on... | |
This guide is intended for peeps who have something comparable to: | |
* i9 9900k @ 5ghz | |
* 32GB DDR4 | |
* Nvidia Geforce RTX 2080 | |
* Acer Predator XB252Q 240hz GSYNC monitor (1080p) |
import logging | |
from urllib.parse import parse_qs | |
from django.conf.urls import url | |
from channels.routing import ProtocolTypeRouter, URLRouter | |
from rest_framework_simplejwt.authentication import JWTAuthentication | |
logger = logging.getLogger(__name__) | |
class JwtTokenAuthMiddleware: | |
""" |
# Rate limiting with Celery + Django + Redis | |
# Multiple Fixed Windows Algorithm inspired by Figma https://www.figma.com/blog/an-alternative-approach-to-rate-limiting/ | |
# and Celery's sometimes ambiguous, vague, and one-paragraph documentation | |
# | |
# Celery's Task is subclassed and the is_rate_okay function is added | |
# celery.py or however your App is implemented in Django | |
import os | |
import math |
from django.urls import reverse | |
from django.utils.html import format_html | |
class ListLinksMixin(object): | |
""" | |
Support for list_links attribute. Items in list_links must also be in list_display | |
Usage to make 'fieldTwo' a link: | |
list_display = ('fieldOne', 'fieldTwo',) | |
list_links = ('fieldTwo',) |
# "install ffmpeg" | |
# git clone https://github.com/FFmpeg/FFmpeg.git | |
# cd FFmpeg | |
# ./configure --enable-openssl | |
# make | |
# sudo make install | |
# | |
# "install youtube-dl" | |
# pip3 install youtube-dl | |
# |