سؤال

I have seen some Java servers which can control WMP with an Android device or such. But how do you make a server that controls WMP? What do you need for it?

هل كانت مفيدة؟

المحلول

Windows Media Player supports UPnP for server discovering and DLNA for remote controlling.

Say if you want to create a client app (Android or whatsoever using Java) to remote control Windows Media Player:

  • Use UPnP to discover available WMP server on network with zero configuration.

  • Use DLNA to remote control available WMP server on network, for example, expose playlist, control volume and etc.

Java library implements UPnP/DLNA: Cling

Hope this make sense.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top