delphi - Media player as windows service -
I have been searching for information for a while but nothing has been useful for us. We are building a SmartCar complex system, which controls more or less everything in the car. Its a god project, here is not the "change the wheel again", it's just the point of doing it completely with scratch is.
Since it is going to be a heavy load, we have created a PC based on i5 proc with 8 GB RAM, running Windows Server 2012 Datacenter on Intel's S335 SSD hard drive.
So far, the main controller services are running as well and there is good response for all tasks such as lock / unlock, side mirror movement, windows movement, complete climate control, ignition, light etc. .. However, we can just sound a bit like this ...
The reason is that we use all the services because it has no monitor, but the Android tablet and phones and Windows tablets Sa It also talks through WiFi and 3G. We have tried to do this through a remote desktop connection, but it is a waste of resources on both sides, so we use the TCP / IP client / server version. Also, since it is necessary to hibernate / stop it in order to not waste the energy resources, immediate power is necessary, and all the work needs to be logged in a few seconds, which is correct.
, my question is here, how can I run a music player as a service and run audio files, which we choose through our remote app? The remote part here is not an issue, but the player is part. I have changed many Delphi demo music player code into services, but among them Naum has played the role of sound. I think there is something in it that does not normally permit interacting with the user interface directly, but I know that it is possible, there is no clue about it.
Besides, I think this is not possible, but still is worth asking: if we want to extend it to be used as a video player, will it be any user Can be logged without? As the VGA / DVI Video Monitor is connected, but only to show a video when it is chosen to be chosen? (The monitor will be in the form of extended monitors in this case so that no login session will ever be shown.)
Any information I make in Delphi will be appreciated. Thank you.
provides audio and video support and can be posted on x86 or ARM
Comments
Post a Comment