Questions tagged [android-cling]

Cling is a UPnP-compatible software stack for Java environments to interact with other UPnP-devices (discover other, control other, beeing controlled by others)

From the official website: http://4thline.org/projects/cling/

Cling is a UPnP-compatible software stack for Java environments.

Main modules of Cling are:

Cling Core

An embeddable Java library that implements the UPnP Device Architecture 1.0. Use Cling Core to expose services with a UPnP remoting interface, or to write control point applications that discover UPnP devices and utilize their services. You can also integrate Cling Core as an Android UPnP/DLNA library in your applications (platform level 7/2.1 required). The full source code of the Android UPnPBrowser example of the manual can be found here. You can see the application in action in this video.

Cling Support

Optional classes and useful infrastructure for developing and controlling UPnP services with Cling Core; extensions that simplify working with UPnP media servers and renderers, NAT port mapping on routers, etc.

Cling Workbench

A desktop application for browsing UPnP devices and interacting with their services, including an HTTP gateway and WAN/LAN bridge.

Cling MediaRenderer

Standalone UPnP MediaRenderer, based on gstreamer.

wikipedia: Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment.

19 questions
12
votes
3 answers

Android Cling/Upnp proguard

I have created app using Cling and is working fine but when I create release build I get following message and nothing plays on renderer: 11-22 16:24:53.341 20172-20172/? I/RendererCommand﹕ TrackMetadata : TrackMetadata [id=1,…
ingsaurabh
  • 15,249
  • 7
  • 52
  • 81
3
votes
0 answers

Cling: Getting started with device search

I'm new to UPnP development and recently started to use Cling to develop a UPnP client in Java. To me the Cling documentation is insufficient. Especially it's lacking of basic examples, such as discovering UPnP devices via IP address. The search for…
3
votes
1 answer

Android cling-android Upnp SetAVTransportURI send Upnp Response = 500 Internal server error on xbox one

i'have a probleme using Upnp to send video file to xbox one with java/android. I use cling api to discover and connect upnp device over network. The discover operation work well, the xbox one is detected. The problem is when i try to send video link…
Simon Mardiné
  • 510
  • 2
  • 7
  • 23
2
votes
1 answer

Cling Upnp scan causes ClassDefNotFoundError Jetty

I am working on an Android app, which is using Cling to perform an UPNP scan. Its logging that it receives packets but then it crashes with a NoClassDefFound exception for Jetty. Below is the code I am using to perform the scan ServiceConnection…
Boardy
  • 35,417
  • 104
  • 256
  • 447
2
votes
1 answer

Trouble running UPNP on Docker

I trying to run an UPnP service on my docker container using the Cling UPNP library (http://4thline.org/projects/cling/). There is a simple program that creates a device (in software) that hosts some service. This is written in Java and when I try…
2
votes
0 answers

Android Cling streaming local audio files to Renderer

I am writing an app that allows streaming of Media from the Phone to a Media Renderer. I am using Cling for the UPNP integration and now I am starting to get abit confused. If I want to stream the Music from my Phone do I have to write both a…
b-m-f
  • 1,278
  • 2
  • 13
  • 29
2
votes
1 answer

Cling UPnP library for Android. Not seeing devices after shutdown and restart

I am using the cling library for android to locate and control other mobile devices in my WiFi network. I have downloaded and imported (in Eclipse) the Cling Browser and Cling Switch Power Examples and they work fine until I exit the Switch power…
dzografi
  • 31
  • 7
2
votes
0 answers

Cling gives out of memory ( tested on Samsung Galaxys3 )

I have created demo for DLNA by using cling library. i've followed all the instructions given on cling android page. but it's giving me Out of Memory error. i've tested it on HTC salsa and Samsung Galaxy S3. Log: 08-17 13:45:26.032:…
NaserShaikh
  • 1,576
  • 2
  • 23
  • 39
1
vote
1 answer

Does Cling Android support HLS (HTTP live streaming)?

In other words, instead of picking a media file from a mobile device, can it accept a live stream url and play the video on TV from that url? I could not find anything related to this in Cling Core User Manual.
1
vote
1 answer

Cling how to install from github?

I trying include to project Cling, but before I never used manually install from maven. On page instructions is: Install Maven 3.2.3 or newer. Install the Android SDK and set the ANDROID_HOME environment variable to the SDK install…
waki
  • 1,248
  • 2
  • 17
  • 27
1
vote
1 answer

Cling Library not firing the M Search request regularly

I am trying to build an Android app, which uses Cling library internally. I am able to get the Application running, however I observed that M-Search packets are not sent each time I invoke the search function as given below. …
praveena_kd
  • 525
  • 5
  • 15
1
vote
1 answer

Example for CLING Upnp

I using Cling UpnpBrowser demo in below link. http://4thline.org/projects/download/misc/ I'm using 2 phone to run it. But this app can not list device. Can you give me a video demo or some suggestion?
1
vote
0 answers

Android Cling UPNP - cannot able to discover Local Devices

I am using cling library to discover android devices on same local network (wifi). For that i have created two Local Device (UDAServiceType = SwitchPower) on two different android phones (PhoneA and PhoneB). But when i execute this…
Taimur Amjad
  • 392
  • 2
  • 14
1
vote
0 answers

Get streaming URL of UPnP-device with Cling in Java

I wanted to use Cling for my Java application to browse the directory of my Panasonic dmr-bct720 BluRay recorder. I tried the first example but Cling couldn't find the device. With VLC I can browse it and watch the videos. Can anyone give me an…
Frederik
  • 185
  • 1
  • 20
0
votes
2 answers

How to build Cling Android example with Eclipse

I've looked at source code at here https://github.com/4thline/cling/tree/master/demo/android (actually I used the source code that came with Cling 2.0.1 distribution, it's the same) But after weeks try to build it with my Eclipse, I have no success…
0xh8h
  • 3,271
  • 4
  • 34
  • 55
1
2