You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.