> Please, see file OnDemandServerMediaSubsession.cpp > > if (clientRTCPPort.num() == 0) { > // We're streaming raw UDP (not RTP). Create a single groupsock: > NoReuse dummy; // ensures that we skip over ports that are already in > use > for (serverPortNum = fInitialPortNum; ; ++serverPortNum) { > struct in_addr dummyAddr; dummyAddr.s_addr = 0; > > if the second port number was specified, you answer to client - Transport: > RAW/RAW/UDP etc, but create RTPSink instead BasicUDPSink. > Server create BasicUDPSink _only_ if transport raw-udp requested and _one_ > port specified.
OK, I understand now what you're asking for. I find it strange, however, that a client would ask for "RAW/RAW/UDP", but also specify two port numbers in the "client_port=" part of the header. However, to support clients like this, please change line 714 of "liveMedia/RTSPServer.cpp" from clientRTCPPortNum = p2; to clientRTCPPortNum = streamingMode == RAW_UDP ? 0 : p2; This change will be included in the next version of the software. Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel