Merge pull request #44 from arabcoders/dev
Removed opus from allowed streaming codecs in manifest
This commit is contained in:
commit
f2ce722a22
3 changed files with 4 additions and 4 deletions
|
|
@ -54,8 +54,8 @@ EXPOSE 8081
|
||||||
#
|
#
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /tmp
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
CMD ["/app/.venv/bin/python", "app/main.py"]
|
CMD ["/app/.venv/bin/python", "/app/app/main.py"]
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ class Main:
|
||||||
f'Could not create database file at {self.config.db_file}')
|
f'Could not create database file at {self.config.db_file}')
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
caribou.upgrade(self.config.db_file, './app/migrations')
|
caribou.upgrade(self.config.db_file, os.path.join(os.path.realpath(os.path.dirname(__file__)), 'migrations'))
|
||||||
|
|
||||||
self.loop = asyncio.get_event_loop()
|
self.loop = asyncio.get_event_loop()
|
||||||
self.serializer = ObjectSerializer()
|
self.serializer = ObjectSerializer()
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ from src.Config import Config
|
||||||
|
|
||||||
class M3u8:
|
class M3u8:
|
||||||
ok_vcodecs: tuple = ('h264', 'x264', 'avc',)
|
ok_vcodecs: tuple = ('h264', 'x264', 'avc',)
|
||||||
ok_acodecs: tuple = ('aac', 'mp3', 'opus',)
|
ok_acodecs: tuple = ('aac', 'mp3',)
|
||||||
|
|
||||||
segment_duration: float = 10.000000
|
segment_duration: float = 10.000000
|
||||||
config: Config = None
|
config: Config = None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue