[Live-devel] OnDemandServerMediaSubsession specific RTP/RTCP Port

pierre.lhussiez pierre.lhussiez at laposte.net
Mon Sep 26 17:51:12 PDT 2005


Hi ross,
 
I wonder if is it possible to choose the RTP port used to create the rtp GroupSock in OnDemandServerMediaSubsession::getStreamParameters 
 
For now, I have done this by modifying live code (like a pig)
live code:
rtpGroupsock = new Groupsock(envir(), dummyAddr, 0, 255);
my Code:
rtpGroupsock = new Groupsock(envir(), dummyAddr, fPortNumForSDP, 255);

i have also tryed to create a new class deriving from OnDemandServerMediaSubsession and to rewrite the virtual function getStreamParameters() but it use some private members (like fDestinationsHashTable) that i can't acced to.

How can i Simply make OnDemandServerMediaSubsession use fPortNumForSDP as port number while creating rtpGroupsocks ?

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20050926/ea147451/attachment.html


More information about the live-devel mailing list