Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nesc

Pages: [1]
1
Audio / Re: stream from dlna server
« on: May 23, 2014, 10:51:15 am »
do you have any idea on how to do it?

2
Audio / stream from dlna server
« on: May 22, 2014, 08:20:04 pm »
Hi All,

Is it possible to play music files from http server like dlna server withou downloading the file to our side, example:

...
<res duration="0:03:21.000" size="5112074" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;...>http://192.168.1.7:3001/dlna/some.mp3</res>
...

we got the url and the total size of the file, how can we read this, we need to use the sf::Music::openFromStream right, but what about the input stream object how to do this? is there any class that already does this or we have to implement it from the sf::InputStream? if we have to implement it can you suggest on how to do it or point me to some example code.

Note i do not want to download the file into the file system of the client, if possible i want to read it without saving it in the system file. Is this possible?

Thanks

Pages: [1]
anything