Java control Windows Media Player with Java

ぐ巨炮叔叔 提交于 2019-12-23 16:34:15

问题


I have seen some Java servers wich 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?

Thanks.


回答1:


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.



来源:https://stackoverflow.com/questions/10889194/java-control-windows-media-player-with-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!