Genvid SDK 1.6.1¶
Welcome to Genvid SDK 1.6.1. This is a bug fix release. See other previous releases notes for more information on the content of the 1.6 release.
Current functionalities¶
We currently deliver core functionality which allows you to run your game and stream it to YouTube, along with extra game events and messaging to make it a true Genvid Streaming Experience.
- C++ API with a C# wrapper
- D3D11 video capture
- WASAPI audio capture
- Video encoding (H264 + AAC)
- Video streaming to YouTube
- Streaming of additional arbitrary game events and notifications
- Scalable event messaging system
- Automatic synchronisation between video and game data streams
- Native and Web SDK for easy integration
- Sample tutorial project
- Sample Unreal Engine 4 project
- Sample Unity Tutorial
- Extensive documentation
- Local deployment tools and scripts
- Cloud deployment tools and scripts (still in beta)
- REST API to control the services (still in beta)
More to come¶
Additionally, we are working on a full new feature pipeline to be released after the initial launch:
- A bastion host to manage your clusters directly on the cloud
- More secure handling of secret parameters
- User authentication and validation
- More video format support
- Hardware encoding
- Multi datacenter support
- Multiple broadcast sessions management
- Multiple audiovisual and data streams coming from the same or multiple instances
- Support for audio/video streams coming from external sources
- Instant replay
- Live video edition and basic composition effects
- Offline recording and playback of data streams
- Offline broadcast session editing
Bug Fixes¶
- [sdk] Allow to pass an NULL subscription ID for Genvid_Unsubscribe. It was refused as an invalid parameter.
- [sdk] Enforce the presence of a stream ID for Genvid_GetParameterUTF8.
- [sdk] Correctly prefix events and commands subscription during unsubscriptions. This fix subscriptions commands that could failed.
- [toolbox] Allow to unseal an already initialized vault on restart. This could happen if the vault process is kill, for example after a reboot, without a clean command call on the consul service.
- [installer] Add missing DLLs for the Unity sample.
- [ut4 sample] Clamp popularity values between 0 and 60.
Known bugs¶
We weren’t able to fix some bugs in time for this release, but we intend to fix them shortly.
The default WASAPI interface doesn’t set the audio input format properly¶
Right now, the input format isn’t set properly with the WASAPI interface. To circumvent this, we force the audio format on the cloud to be that of our default interface. You must do the same locally to match your machine settings, if you don’t want to hear pops during the playback. Future versions will adapt automatically to the input format instead of being on fixed configuration settings.
The application doesn’t work properly after Windows comes back from sleep¶
Nomad has some difficulties with sleeping jobs, including itself. This
is unlikely to get fixed in Nomad, but shouldn’t happen in production
environment. The best workaround at present is to not
allow Windows to go to sleep when you are running the service, or simply
to restart the service with a local.py reinstall
(unfortunately,
local.py restart
is not sufficient).
The YouTube stream isn’t properly reset after a manual restart¶
If the services are stopped and restarted shortly thereafter, the YouTube streaming service will consider it as part of the same streaming session. Although this may be a desirable effect most of the time, this could lead to showing up as the previous session due to the long latency between the services and the actual view. A future version will provide a proper way to request a new stream, but until then, you can either reset your stream key from the YouTube dashboard or simply wait a little longer (about 5 minutes should be enough) before restarting the service.
Audio captures microphone, or loops infinitely¶
Since we capture audio with a loopback device, every sound going
through the machine running the game will get captured. This includes
system alerts, microphone input, as well as your web browser. When
test-viewing your game stream using the same local machine running the
game, the game will also capture its own audio stream with ~10s of
latency, yielding some echo with progressively worse sound quality
(since it is compressed every time it is streamed). The recommended
workaround is to disable audio altogether
(genvid.encode.input.silent = true
in your config file), or to use
a separate machine to observe the website. These issues are moot when
the game is deployed in a cloud infrastructure.
Small hang can be noticed when losing Unity application focus¶
If you are running your Unity application with the stack and decide to proceed to a different window, you are bound to get a small hang several seconds later. This hang disappears when moving the mouse. This hang doesn’t affect the video, audio or data capture.
Docker jobs in nomad always redirected stderr to stdout log file¶
We got this change of behaviour just before the release and
investigating the cause of it. In the mean time, we have done a quick
fix in cloud.py
to workaround it, but you could be affected too if
one of your job where running inside a docker with nomad and you
expect the log to be in stderr.