> 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
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" -
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
> 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
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
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