Cling understanding and its configuration in grails project
Posted By : Shubham Saxena | 22-Dec-2014
Understanding Cling :
Cling is an effort to create a UPnP-compatible software stack in Java. It uses the services that the UPnP devices provide. The two important kind of devices are UPnP media server and renderers. The server is actually the provider of the media like a audio or video track while the renderer is the player of that track.
Download and configure Cling:
Download cling from http://4thline.org/projects/cling/. Present cling version is 2.0.1. But i was stuck at some point in implementation so it so used just previous version of cling that is 1.0.1. In grails application, one can just put cling's jar files in lib folder and give its classpath. Jar files are cling-core-1.0.1.jar and cling-support-1.0.5.jar. I also used teleal-common-1.0.14.jar.
Testing the configuration
For testing that the cling is configured correctly, one can put up the code in the editor and see whether we are getting desired logs or not. The link for the code to test is http://www.4thline.org/projects/cling/core/manual/cling-core-manual.html#chapter.GettingStarted.
Cling Workbench:
The purpose of workbench is to provide the functionality of the cling functions. That is, each of the functions that are implemented in the cling, are made to work on the click of the buttons provided in workbench. For example, the workbench will search for the media servers and renderers. While clicking on anyone of them, one will be able to see and use the services that the selected device provides.
Thanks
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Shubham Saxena
Shubham is a Groovy/Grails Developer and has good exposure on FFMPEG. He has worked on development of various SaaS applications.