Droidcam: Difference between revisions
Denperidge (talk | contribs) Initial Commit: added Installing as an OBS-Studio plugin |
m Category:Applications (fix) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[https://droidcam.app/ Droidcam] is a mobile app (Android, iOS). With Droidcam the mobile device can be used as webcam for a PC. | |||
== Installing as an OBS-Studio plugin == | == Installing as an OBS-Studio plugin == | ||
Its possible to use Droidcam as a virtual camera in [[OBS Studio]]. | |||
<syntaxhighlight lang="nixos"> | <syntaxhighlight lang="nixos"> | ||
# /etc/nixos/configuration.nix | # /etc/nixos/configuration.nix | ||
Line 28: | Line 32: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Applications]] |
Latest revision as of 18:02, 18 June 2024
Droidcam is a mobile app (Android, iOS). With Droidcam the mobile device can be used as webcam for a PC.
Installing as an OBS-Studio plugin
Its possible to use Droidcam as a virtual camera in OBS Studio.
# /etc/nixos/configuration.nix
{ config, pkgs, ... }:
{
# Virtual cam settings: see https://wiki.nixos.org/wiki/OBS_Studio#Using_the_Virtual_Camera
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
security.polkit.enable = true;
# Install OBS Studio with droidcam-obs
users.users.foo = {
packages = with pkgs; [
# ...
(wrapOBS {
plugins = with obs-studio-plugins; [
droidcam-obs
];
})
# ...
];
};
}