Reputation: 3036
I have a little application which records audio eg. from the microphone. Now I would like to provide that audio-stream via UPnP so a MediaRenderer can access and play it.
I'm already using CLING to discover the network for MediaRenders, but now I have no idea where to start with the streaming-part.
Can someone tell me where to start with UPnP as a beginner?
The final solution I would like to do is:
I don't need ready code or something like that. I'm just a bit struggling because I have no idea what to do, where to begin.
My open questions are at the moment:
I'm using JAVA and I'm sure I would find a way how to provide a PCM-audio-stream via HTTP. But how to tell the MediaRender that he should now play that stream?
I'm a absolutely newbe here, any help would be very welcome.
Upvotes: 0
Views: 943
Reputation: 21
i've never used Cling but it looks like u need a UPNP Control Point, to search for Renderers and afterwards tell them what to play. So this must be the class you need: http://4thline.org/projects/cling/core/apidocs/org/teleal/cling/controlpoint/ControlPoint.html
Upvotes: 2