akvirtualcamera-wiki/Hacks.md
2021-05-28 14:50:21 -03:00

36 lines
1.9 KiB
Markdown

Hacks are intended to fix common problems with the virtual camera, and are intended to be used by developers and advanced users only.
:warning: :fire: :warning: :fire: :warning: :fire: :warning: :fire: :warning: :fire: :warning: :fire:
**WARNING**: Unsafe hacks can brick your system, make it unstable, or expose it to a serious security risk. You are solely responsible of whatever happens for using them. Don't use them unless you know what you are doing. Remember to make a backup of your system and files before using them.
**You been warned, don't come and cry later**.
:warning: :fire: :warning: :fire: :warning: :fire: :warning: :fire: :warning: :fire: :warning: :fire:
You can list the available hacks with:
```
AkVCamManager hacks
```
A hack can be either **safe** or **unsafe**. Safe hacks can be run without major risks to the system. Meanwhile, unsafe hacks can cause a serious threat to your system or applications, it can lower the security barriers, or make irreversible changes.
Unsafe hacks requires explicit user confirmation for executing them.
**No documentation or support will be provided for using unsafe hacks**, if you want to know how to use them, you must read the [source code](https://github.com/webcamoid/akvirtualcamera).
You can apply a hack with:
```
AkVCamManager hack HACK_NAME HACK_PARAMETERS...
```
Here is a list of available safe hacks.
<table>
<thead>
<tr><th>Hack</th><th>Is safe?</th><th>Description</th><th>Parameters</th></tr>
</thead>
<tbody>
<tr><td>set-service-up</td><td>Yes</td><td>Setup and start virtual camera service if isn't working.</td><td>None</td></tr>
<tr><td>set-service-down</td><td>Yes</td><td>Stop and unregister virtual camera service.</td><td>None</td></tr>
</tbody>
<tfoot>
<tr><th>Hack</th><th>Is safe?</th><th>Description</th><th>Parameters</th></tr>
</tfoot>
</table>