Run multiple Channels DVR Servers natively on Mac OS?

Mac Mini M4, Apple Silicon, darwin-arm64.

Can I run multiple Channels DVR Servers (different executable directories and different ports) natively on Mac OS? If yes, how?

It appears that your Mac OS installer doesn't support that option.

The easiest way to run multiple docker instances, If you have multiple pcs or macs, you can run the instances.

It is possible but would have to be set up manually.

The installer adds launchd plist which you can copy and make more versions of.

1 Like

Thanks Aman.
I'm a newbie at macOS, so have some studying to do before setting this up.
Does it install as a system-level or user agent/daemon?
In which directory?
~/Library/LaunchAgents
/Library/LaunchAgents
/Library/LaunchDaemons
/System/Library/LaunchAgents
/System/Library/LaunchDaemons

1 Like

As user by default in the first folder

1 Like

I'm not sure if I understand this relationship between hardware transcoding support and system vs. user daemon.

In order to use hardware transcoding I need to run Channels DVR Server as a User Agent under a User?

So it won't run until that User logs in? That doesn't seem right.

Why doesn't hardware transcoding work when run as a Global or System Daemon?

Can I not have Channels DVR Server launched as a Global or System Daemon /Library/LaunchDaemons or /System/Library/LaunchDaemons and run as my UserName?

I had planned to have multiple standard users setup, one of them (chDVRuser) just for running Channels DVR.

Appears macOS has a learning curve.

Would be better to have one user which does auto-login. And set up DVRs in separate folders.

Apple does not allow system daemons to access the GPU due to some security reason. Or maybe the daemon required is not running until a user logs in.

Thanks, was planning on that.

Darn. OK

Since I'm not buying this device just to run Channels DVR, can I have that one user auto-login on boot to start the DVR, but still have other user accounts?

Would I always have to leave that user logged in to keep Channels DVR running, or does it just need to login to start the daemon in the background?

1 Like

It has to stay logged in to that user.

Huh? So I can't setup and use other user accounts on it while Channels DVR is running?
I thought macOS allowed multiple user accounts.

I'll have to do some more research, but I read somewhere that you could switch user accounts without logging the existing user out. Something about using the Lock Screen?
I think it was this one I read 7 ways to switch to a different user account on Mac

I'm sure I'll figure this out myself, once I get the Mac mini and set it up.

So this brings up a couple more questions (sorry, newbie to the Mac eco-system).

Does Channels DVR Server have to be installed on an Admin User account?

Do most macOS users just install it on the admin account created when they setup their device and then set that admin user to auto-login with no password just to start Channels DVR and use that same admin user account to use their Mac for other things?

This all seems counter intuitive to me coming from OS/2, Windows and Synology.

Not sure. Admin acct should not be required, but could be.

Single user autologin is how DVR users set up their Macs.

It the past having a system DVR in background worked, but now it is not able to access GPU transcoding anymore.

Guess I'll just have to try it out next week when I setup the mini.
I probably won't need hardware transcoding, so will try installing both ways (as user and system) to make sure I can use UNC paths with SMB to my Synology.