Releases: scivision/PyLivestream
pylivestream.glob => .fglob
use single JSON parameter file. Python >= 3.9 recommended.
no more .ini files. Each command requires a single JSON file. Suggest copying and editing from src/pylivestream/pylivestream.ini.
Python >= 3.7 should work, but Python >= 3.9 needed to run self-tests.
Use modern install without setup.cfg or setup.py, only pyproject.toml
scripts replaced with more robust python -m pylivestream.screen
and similar
Modernize type annotation
Apply Python >= 3.7 type annotation for quality/clarity. Add Python 3.7...3.10 to CI.
bugfix: mac: don't override file pix_fmt
This affects Mac only.
A few months ago, we found we needed to add pix_fmt for screensharing on Mac. This was mistakenly also applied to files, which was incorrect. Now we apply manual pix_fmt only to webcam and screenshare.
May need future additional correction:
- what about OS 11 Big Sur? still needed for screenshare?
- also needed for Webcam?
Better .ini default
remove /usr/bin/ffmpeg default from Linux--just look for FFmpeg. this avoids confusing error message when FFmpeg not installed, or installed elsewhere on PATH. Thanks to @VanshCodes for reporting.
bugfix: missing glob parameter
Thanks to @foxtacles for fixing this bug introduced in v1.11.0, that made command line glob parameter be ignored
require Python >= 3.7, more robust install and test
Requires Python >= 3.7 to fix corner cases such as:
- making install more robust in user site-packages
- finding package files for install and test
added pylivestream.api which can be imported into other Python programs instead of requiring command line
src/ layout, __main__ instead of scripts
modernize package layout
periscope: default to HD.
also use pytest conftest.py for DRY test parameters
refactoring
use base.py
improve self-test robustness
add audiochan: null
for devices without an audio stream like the PiCamera