Mlagents-video-streamer

Latest version: v2.0

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0

Features

- **Easy installation:** `mlagents-video-streamer` is now available as a python package on PyPI.
- **Dynamic streaming:** The package can be used for a wide variety of streaming services by just providing URL and client secret.
- **Easy handling:** `start()` & `close()` methods are given so users can start and close the video stream whenever they want.
- **Auto close:** Now no need to manually kill the FFmpeg & Xorg subprocess.

Breaking Changes

- `videostreamer` has been replaced with `mlagents_video_streamer`.
- `config()` has been removed and `SetupVirtualDisplay()` has been added.
- `twitchStreamer()` function has been removed and `VideoStreamer` class has been added as a more general form of streamer.
- Previously `twitchStreamer()` only took secret key, but now `VideoStreamer` takes an dictionary (while initializing the class) in the following format **only**:
python
stream_info = {
"URL": "rtmp://live.twitch.tv/app/", example of Twitch URL
"secret": "--- secret here ---"
}

- `start()` method is provided by `VideoStreamer` class, so you have to call the start method on the object before starting the training process.
- `close()` method is also provided by `VideoStreamer` class, & it can be used to close the video stream after training is done.

1.0

Initial release of [`mlagents-video-streamer`](https://pypi.org/project/mlagents-video-streamer/1.0/) python package.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.