Open RonMen opened 10 years ago
Hi,
Which deviceId did you provide ? and what is the type of this upnp device ?
Hi. I used the same deviceId like when browsing the content of the device. The device itself is a NAS. I changed some lines of Javascript source to be able to browse the NAS throught the folder-structure provided by the DLNA server and then if I select a file it should call the playUri what is working, bu the "avService" always returns "null" as I wrote above.
Regards.
Hi,
To play an uri, you must have a media renderer device on your network like xbmc, upnp tv ..., because the deviceId waited by the playUri method must implement the UPNP AVTransport Service, as your NAS implements the ContentDirectory one.
You can implement AVTransport Service using the cling library to play the music/video on your android device, but this is not yet done in this app.
here are a few projects using cling, some of them are implementing a media renderer on android http://4thline.org/projects/cling/inproduction.html
Hi,
my intention is to play the streams directly on the device using HTML5 Audio/Video. For now I successfully tested audio streaming from a Windows 7 device. My NAS is crashing all the time when accessing the folder structure since there are a lot of audio files and therefore a lot of folders/artists shown what might be the problem, also it seems to be little bit outdated or an issue/bug of the AV streaming implementation on the NAS itself.
In the future it should also be possible to choose a AV renderer within the app to play the stream on those devices too.
Hi RonMen,
Thanks for your feedback. Please share with us your experience. The project is not dead, maybe we will find time to improve it in 2014. Don't hesitate to also push your code so the project can get better.
Hi. Thanks for sharing your source code for DLNA.
I tried it and it seems the '''avService''' in ClingWrapper is always '''null''' on line 293.
Can you help on this? Regards.