Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 20422 invoked from network); 6 Oct 2008 12:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 12:58:50 -0000 Received: (qmail 45230 invoked by uid 500); 6 Oct 2008 12:58:49 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 44936 invoked by uid 500); 6 Oct 2008 12:58:48 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 44925 invoked by uid 99); 6 Oct 2008 12:58:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 05:58:48 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of survivant00@gmail.com designates 209.85.198.241 as permitted sender) Received: from [209.85.198.241] (HELO rv-out-0708.google.com) (209.85.198.241) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 12:57:42 +0000 Received: by rv-out-0708.google.com with SMTP id c5so2562009rvf.10 for ; Mon, 06 Oct 2008 05:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=Dor7wQK3cB9h7UWvAPjDOr6c6nzw0Bi7+Y2CfAwjPPc=; b=Yijs83FUIF869JI12aqkAIG6vceYfDy1AY8EdbCMRC3w8ixK3kGC9MIMlYDUO3UknH bjDZ29m+jy/GbCAfgViOWJdy7hfWeR+VQtNGhMmLc39c26xwRWBvznBYrEJvFsevOPLR a6mgknh5Bwnkv7BIqWtfXUMjAFxAeCdHd5LkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=oCuWAZEChFE5JnjiUdKf7YzdEP+T6zoMs7H1y3WYIoHQFkZIcklz+C9uq5oMT2+Qhe 9nRKwtd5Ii+wd2OlcOFmOCofTAeLNDQ5cEcwg8URgIeamGm0w5QddpAlqC6tTxjPEsmT T/AEGYFH7EgOfhPDwtBQhpobSV4h+b2yLPlK4= Received: by 10.115.76.1 with SMTP id d1mr5355718wal.196.1223297547331; Mon, 06 Oct 2008 05:52:27 -0700 (PDT) Received: by 10.114.153.14 with HTTP; Mon, 6 Oct 2008 05:52:27 -0700 (PDT) Message-ID: <7e963250810060552v7950072ej8492c1367801e6fb@mail.gmail.com> Date: Mon, 6 Oct 2008 08:52:27 -0400 From: "Survivant 00" To: "Jackson, Bruce" Subject: Re: upnp media server pure java Cc: "dev@felix.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32700_24117444.1223297547324" References: <48EA0230.4020805@interfree.it> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32700_24117444.1223297547324 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline In order to play media you will need to find another device which supports the AVTransport service. This has the play() and stop() actions. Agreed, and I know the PS3 is a only a player, my question was why Google Media Server, Tversity or cybergate media server are not detected as AVTransport service ? because the 2 previous services, will list was media is available, but doesn't have to had them on there server, it can be on the server than reside the AVTransport service. do you have a sample of AVTransport service (prefenrencly in java) and how the mapping is done between the application that had the contentdirectory and the connectionmanager services ? for Jetty, I think the latest version can use NIO from grizzly ( http://weblogs.java.net/blog/jfarcand/archive/2007/11/jetty_616_is_ou_1.htm= l ) 2008/10/6 Jackson, Bruce > Hi Stefano > > I'm aware of that, my question was more whether Jetty used NIO at all. I > know the base driver doesn't, but I've never looked at the Jetty source. > > Thanks > > Bruce > > > > On 06/10/2008 13:18, "Stefano Lenzi" wrote: > > Hi Bruce and Surviant, > > I would like to clarify which HTTP implementation is used by the Apache > Felix UPnP Base Driver, basedriver from now one. The only HTTP > implementation used by the basedriver uses the HTTP server developed by > CyberLink which uses jre-1.3 classes (so neither NIO nor MINA). In > particular, the basedriver depends on CyberDomo which is a patched > version of the CyberLink library so it uses the HTTP implemented by > CyberDomo library. > > The Jetty HTTP implementation *may* be used by the UPnPDevice service > registered on the platform that are willing to be accessed by means of > presentationURL, as defined in the UPnP Device Architecture document. > Because the UPnPDevice *may* uses the HttpService defined by OSGi > specification, and the current implementation of the HTTP bundle > developed by the Apache Felix project uses Jetty. > > At the end, to summarize: > - Apache Felix UPnP Base Driver relies only on the CyberDomo HTTP > implementation > - Jetty is used only by UPnPDevice which relies on the HTTP bundle > implementation developed by the Apache Felix project > > Ciao, > Stefano "Kismet" Lenzi > > P.S.: Surviant you are free to provide a patch either for CyberLink or > CyberDomo to enable NIO or MINA > > Jackson, Bruce ha scritto: > > Streaming isn't done by the UPnP library at all. All the Content > directory does is to provide the rendering application with a URL. Where > that points is entirely up to you, but would typically be to a servlet > running in your media server application (probably using the OSGi http > service). Whether the http service uses NIO is another question altogethe= r > and I've no idea about the default Jetty implementation shipped with Feli= x. > But if you want to use NIO, then you can always write something yourself > that does. > > > > > > On 04/10/2008 22:22, "Survivant 00" wrote: > > > > thanks > > > > after that I read more about upnp, I find out that a media server need > > contentdirectory +contentmanager. I'll read more about upnp and use t= he > > cybergarage sample to play around. After that I'll switch to felix upn= p. > > > > right now i'm able to have a media server shown on the ps3.. just not > able > > to stream data yet. > > > > in Felix upnp, how the streaming is done ? (I read that felix upnp was= a > > updated version of cyberdomo library, but is it possible to replace the > http > > request made within cyberlink with NIO (like Mina ? ) > > > > > > > > > > 2008/10/2 Francesco Furfari > > > >> well, trying to simulate a media server just changing the declared typ= es > >> could be unhelpful. If the CP on the PS3 do some deep check on the > device > >> description, it could decide to discard a non valid device. > >> > >> I forget to say that Intel Tool is for wWindows machines but if you ca= n > >> intall it then you can run the UPnp Ligth device and also UPnP sniffer > ... > >> it is limited but you can play with exchanged packets > >> > >> francesco > >> > >> > >> > >> Survivant 00 wrote: > >> > >>> thanks.. it's a clear answer. > >>> > >>> I'm modifying the sample of Felix to change the type for MediaServer > liek > >>> cyberlink Media Server. I'll see if the PS3 see it. I'm pretty sure > it's > >>> something like that. > >>> > >>> There is still the problem with google media server. > >>> > >>> I'll keep the thread in touch if modifying the config of the samples, > will > >>> appears on the ps3. > >>> > >>> > >>> 2008/10/1 Francesco Furfari > >>> > >>> If you refer to the UPnP Specification, yes it's true. > >>>> Usually talking bout physical device, when they are plugged on the > >>>> network > >>>> they should send an advertisement (multicast messages) about their > >>>> presence. > >>>> But in the UPnP Ecosystem there are also Control Points (CP)entities > that > >>>> are consumers of the services exposed by UPnP devices; CPs can be > develop > >>>> 1) > >>>> to work exactly with a specific type of device, for instance a CP > >>>> implementing a Light Control Panel would be interested to discover > only > >>>> devices implementing the UPnP Lighting profile, that's ignoring all > the > >>>> rest > >>>> of UPnP devices like media servers; 2) to listen every type of devic= e, > >>>> that's they are Generic Control Points (i.e. the Felix UPnP Tester > >>>> Bundle). > >>>> In latter case they are interested to receive every multicast messag= e > >>>> sent > >>>> by UPnP devices plugged on the network. The problem arise when a > Generic > >>>> Control Point is started/connected when other UpnP devices are alrea= dy > >>>> connected to the network, that 's they have loose the multicast > messages > >>>> sent previously. In this case the CP can issue a multicast search > request > >>>> (called M-SEARCH) specifying the kind of devices to which it is > >>>> interested > >>>> (e.g. all-devices, only root devices, a device type). If there are > UPnP > >>>> devices compatible with the Search Target field of the message then > they > >>>> will reply to the CP. > >>>> > >>>> So to summarize you should be sure that in your PS3 you are using a > >>>> generic > >>>> control point that is interested to see every kind of device not onl= y > one > >>>> type (.ie. media server) otherwise the UPnP samples that you start > with > >>>> Felix are not valid because they implement a particular device type. > May > >>>> be > >>>> for this reason Bruce has answered to you saying that you should > >>>> implement a > >>>> media server on Felix. As crosscheck, I suggested of launching the > Intel > >>>> Light Device ( > >>>> > >>>> > http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/tools/in= dex.htm > >>>> ). > >>>> If you are able to see the Intel device Light on th PS3 then I 'm > quite > >>>> sure > >>>> there is a problem with the Felix UPnp Implementation. As consequenc= e > of > >>>> this, (supposing UPnP impementation on Ps3 works fine) we have to > >>>> understand > >>>> if the problem is on the multicast announce od the devices or in the > >>>> response to the multicat search sent by the PS3 ... or in both :( > >>>> > >>>> hoping this clarify > >>>> regards, > >>>> francesco > >>>> > >>>> > >>>> > >>>> > >>>> ciao, > >>>> francesco > >>>> > >>>> > >>>> Survivant 00 wrote: > >>>> > >>>> :) > >>>>> > >>>>> I'll do the test tonight, I'm at work now. > >>>>> > >>>>> just to help me understand, I tough that a upnp device was > automaticaly > >>>>> availables it is true ? if not, do you have to specify certains > >>>>> settings > >>>>> ? > >>>>> > >>>>> > >>>>> > >>>>> 2008/9/30 Francesco Furfari > >>>>> > >>>>> yes S=E9bastien, I was thinking to the PS3 not a service pack 3 ;= -) > >>>>> > >>>>>> meanwhile you could tell me if the discovery fail in both the case= s > >>>>>> (changing the launching order) and of course if you have already > tested > >>>>>> the > >>>>>> PS3 with other simple devices like the Intel Light (this because I > >>>>>> don't > >>>>>> know PS3 and I would be sure that it searches for all the devices > and > >>>>>> not > >>>>>> only for certain device types like media server ... > >>>>>> > >>>>>> regards, > >>>>>> francesco > >>>>>> > >>>>>> > >>>>>> > >>>>>> Survivant 00 wrote: > >>>>>> > >>>>>> my name =3D S=E9bastien Dionne > >>>>>> > >>>>>>> just to be clear.. it's not SP3, but PS3 (Playstation 3). > >>>>>>> > >>>>>>> I'll wait for further instruction. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> 2008/9/30 Francesco Furfari > >>>>>>> > >>>>>>> Hi > >>>>>>> > >>>>>>> well give me some time to check the problems with Google Media > server > >>>>>>>> ( > >>>>>>>> i > >>>>>>>> will install all the stuff in the next days). > >>>>>>>> > >>>>>>>> Regarding the SP3 I need to know if launching first the Felix > samples > >>>>>>>> and > >>>>>>>> then SP3 and viceversa (first SP3 and then samples) the behaviou= r > is > >>>>>>>> the > >>>>>>>> same. > >>>>>>>> > >>>>>>>> thanks for the help I 'll be back to you ASAP, in these days I'm= a > >>>>>>>> bit > >>>>>>>> busy. > >>>>>>>> > >>>>>>>> ciao > >>>>>>>> francesco > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> Survivant 00 wrote: > >>>>>>>> > >>>>>>>> What I did is simple. > >>>>>>>> > >>>>>>>> I started the sample with the upnp.bat . > >>>>>>>>> > >>>>>>>>> I saw all the devices from the sample + the device TVersity tha= t > run > >>>>>>>>> on > >>>>>>>>> another computer. > >>>>>>>>> > >>>>>>>>> I was expected to see the samples on the PS3.. even if the PS3 > won't > >>>>>>>>> we > >>>>>>>>> able > >>>>>>>>> to do anything with it, but It should still shown on the PS3. > >>>>>>>>> > >>>>>>>>> + I didn't see my google media server on the devices list.. I s= ee > it > >>>>>>>>> perfectly on the PS3. > >>>>>>>>> > >>>>>>>>> I downloaded the cybergarage Cyberlink Media Server. > >>>>>>>>> > >>>>>>>>> and I'm able to see this device on the tester that came with th= e > >>>>>>>>> sample, > >>>>>>>>> and > >>>>>>>>> it's shown on the PS3, and I'm able to browse it too. > >>>>>>>>> > >>>>>>>>> I can help you to debug it if you tell me what I can do to help > you. > >>>>>>>>> > >>>>>>>>> just tell me the tools to use and the tests to run. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> and I know that felix is a newer version, but that's the point.= . > I > >>>>>>>>> was > >>>>>>>>> expecting the sample to shown on the PS3.. just shown is enough= .. > >>>>>>>>> I'll > >>>>>>>>> do > >>>>>>>>> the rest to create a media server.. but I just want a base to > start > >>>>>>>>> from. > >>>>>>>>> > >>>>>>>>> 2008/9/30 Francesco Furfari > >>>>>>>>> > >>>>>>>>> Hi, > >>>>>>>>> > >>>>>>>>> Bruce Jackson has opened a bug ( > >>>>>>>>> > >>>>>>>>>> http://issues.apache.org/jira/browse/FELIX-630) that could be > >>>>>>>>>> related > >>>>>>>>>> to > >>>>>>>>>> your, although it concerns Xbox 360. > >>>>>>>>>> However, supposing there is not a network problem, you may do > some > >>>>>>>>>> test > >>>>>>>>>> to > >>>>>>>>>> understand if the problem is related to either the M-SEARCH or > the > >>>>>>>>>> Announce > >>>>>>>>>> of the devices, or both :(. > >>>>>>>>>> > >>>>>>>>>> So when you start/stop a sample on the Felix platform an > announce > >>>>>>>>>> is > >>>>>>>>>> sent > >>>>>>>>>> to the already started UPnP Control Points (CPs). If they afte= r > a > >>>>>>>>>> while > >>>>>>>>>> do > >>>>>>>>>> not see the sample device it means that the announce is not we= ll > >>>>>>>>>> interpreted/received by the CPs. Then stop and restart the CPs= , > >>>>>>>>>> they > >>>>>>>>>> should > >>>>>>>>>> send an M-SEARCH packet to which the samples running on the > Felix > >>>>>>>>>> Platform > >>>>>>>>>> must reply. If the samples are not discovered then the problem > is > >>>>>>>>>> also > >>>>>>>>>> in > >>>>>>>>>> the M-Search response (e.g Felix-630). > >>>>>>>>>> > >>>>>>>>>> Try also to use some packet sniffer to see what really happen = on > >>>>>>>>>> the > >>>>>>>>>> network, I cannot help you because I haven't got a PS3 > >>>>>>>>>> > >>>>>>>>>> francesco > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Jackson, Bruce wrote: > >>>>>>>>>> > >>>>>>>>>> When you say that you're using the samples in felix, what do > you > >>>>>>>>>> mean? > >>>>>>>>>> > >>>>>>>>>> Cyberlink is a upnp media server application built on top of > the > >>>>>>>>>> > >>>>>>>>>>> upnp > >>>>>>>>>>> stack. > >>>>>>>>>>> You would need to build a similar media server on top of the > felix > >>>>>>>>>>> upnp > >>>>>>>>>>> stack in order for it to be seen by the ps3. Felix uses a new= er > >>>>>>>>>>> version > >>>>>>>>>>> of > >>>>>>>>>>> the same underlying upnp base driver as cyberlink. > >>>>>>>>>>> > >>>>>>>>>>> --- original message --- > >>>>>>>>>>> From: "Survivant 00" > >>>>>>>>>>> Subject: Re: upnp media server pure java > >>>>>>>>>>> Date: 29th September 2008 > >>>>>>>>>>> Time: 6:40:11 pm > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> I found the program Cyberlink media server and I'm able to se= e > it > >>>>>>>>>>> in > >>>>>>>>>>> my > >>>>>>>>>>> PS3. I think it use a old version of cyberlink upnp library. > >>>>>>>>>>> > >>>>>>>>>>> I want to try the same thing with Felix... I have plan to > >>>>>>>>>>> reverse-engineer > >>>>>>>>>>> it to understand the difference. > >>>>>>>>>>> > >>>>>>>>>>> did someone know what is missing in the sample to be able to = do > >>>>>>>>>>> the > >>>>>>>>>>> same > >>>>>>>>>>> thing ? > >>>>>>>>>>> > >>>>>>>>>>> 2008/9/29 Survivant 00 > >>>>>>>>>>> > >>>>>>>>>>> I want to do a media server using Felix upnp. I downloaded > and > >>>>>>>>>>> builded > >>>>>>>>>>> > >>>>>>>>>>> the > >>>>>>>>>>> > >>>>>>>>>>> source code. When I run the samples, I'm able to see them > within > >>>>>>>>>>>> the > >>>>>>>>>>>> tester. > >>>>>>>>>>>> > >>>>>>>>>>>> I even see my Tversity that run on another computer. > >>>>>>>>>>>> > >>>>>>>>>>>> but I don't see my Google media server and I don't see the > >>>>>>>>>>>> samples > >>>>>>>>>>>> on > >>>>>>>>>>>> my > >>>>>>>>>>>> Playstations 3. > >>>>>>>>>>>> > >>>>>>>>>>>> Is the Felix upnp is complete or there something missing to = be > >>>>>>>>>>>> able > >>>>>>>>>>>> to > >>>>>>>>>>>> reconized google media server and be seen on the PS3 ? > >>>>>>>>>>>> > >>>>>>>>>>>> my principale target will be the PS3. > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > > > > > > > ------=_Part_32700_24117444.1223297547324--