Re: [Live-devel] SDP file of a multiple destination session

2007-07-12 Thread Ramon Martin de Pozuelo Genis
> Again, it sounds like you're trying to reinvent the wheel. The > "OnDemandServerMediaSubsession" class works just fine - you should > just use it (by defining your own subclass). Note the several > examples in the code. You should be using "testOnDemandRTSPServer" - > not "testMPEG4VideoStream

Re: [Live-devel] SDP file of a multiple destination session

2007-07-12 Thread Ross Finlayson
Again, it sounds like you're trying to reinvent the wheel. The "OnDemandServerMediaSubsession" class works just fine - you should just use it (by defining your own subclass). Note the several examples in the code. You should be using "testOnDemandRTSPServer" - not "testMPEG4VideoStreamer" -

Re: [Live-devel] SDP file of a multiple destination session

2007-07-12 Thread Ramon Martin de Pozuelo Genis
Sorry, I forgot ask you about SDP file. Now address is correct (0.0.0.0) but what about port? "m" line of SDP is still using port I specified when I create groupsock, could I change it? Should I change it? If the first description is sending broadcast in te same port it will cause a problem. Thank

Re: [Live-devel] SDP file of a multiple destination session

2007-07-12 Thread Ramon Martin de Pozuelo Genis
> You probably shouldn't be using "addDestination()" - that is a > specialized function used only to implement on-demend unicast > streaming to multiple clients from a single source. (Note that, for > unicast on-demand streams, the SDP description should contain the > special address 0.0.0.0, not

Re: [Live-devel] SDP file of a multiple destination session

2007-07-12 Thread Ross Finlayson
You probably shouldn't be using "addDestination()" - that is a specialized function used only to implement on-demend unicast streaming to multiple clients from a single source. (Note that, for unicast on-demand streams, the SDP description should contain the special address 0.0.0.0, not a spec

[Live-devel] SDP file of a multiple destination session

2007-07-12 Thread Ramon Martin de Pozuelo Genis
Hi all, I created a session with its respective rtpGroupsock & rtcpGroupsock and then I added another destination using: rtpPort= new Port(newPort); rtcpPort= new Port(newPort+1); destinationAddress.s_addr = inet_addr((char*)newIP); rtpGroupsock->addDestination(destinationAddress,*rtpPort); rtcpGr