<html><head><style type="text/css">body{font:12px Arial;margin:3px;overflow-y:auto;overflow-x:auto}p{margin:0px;}blockquote, ol, ul{margin-top:0px;margin-bottom:0px;}</style></head>
<body><div style="DISPLAY: block; FONT-SIZE: 12px; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ffffff"><P>Hi</P>
<P> </P>
<P>I'd like to use Livemedia to unicast just one frame of MPEG4 video at a time as a kind of on-demand push model.</P>
<P> </P>
<P>What I think I have to do is start with testMPEG4VideoStreamer and:</P>
<P> </P>
<P>- cut out the RTCP and RTSP stuff</P>
<P>- keep the two lines:</P><FONT size=2>
<P>Groupsock rtpGroupsock( *env, destinationAddress, rtpPort, TTL );</P>
<P>rtpGroupsock.multicastSendOnly(); </FONT><FONT color=#008000 size=2>// we're a SSM source</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>but make sure I use a unicast address instead of the randomly generated multicats address</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>- I assume that since I need the RTP transmission program to return I should put tline</FONT></P><FONT size=2><FONT size=2>
<P>env->taskScheduler().doEventLoop(); </FONT><FONT color=#008000 size=2>// does not return</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>in a seperate thread</FONT></P>
<P><FONT size=2></FONT> </P>
<P>Question 1: are my assumptions above correct?</P>
<P> </P>
<P>Question 2: what do I do with the following line? All I can pass the RTP transmission is a pointer to where the compressed MPEG4 ES frame is<FONT size=2></P>
<P> </P>
<P>videoSink->startPlaying(*videoSource, afterPlaying, videoSink);</P></FONT>
<P><FONT size=2></FONT> </P>
<P>How will the videoSink know that the frame has finished and it should return?</P>
<P> </P>
<P>Question 3: I suppose in my case my afterPlaying function will just be empty as it will get called after each frame is transmitted. </P>
<P> </P>
<P><FONT size=2>Question 4: there may be some variation in the period between frames, does the LiveMedia implementation cope with that by time stamping each frame properly?</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>Thanks in advance for your assistance.</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>Regards</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT color=#008000 size=2><FONT color=#000000>Graham</FONT></P></FONT></FONT></br><p style="margin-top:11px;padding-top:3px;background-image: url(http://mail.lycos.co.uk/Images/Mail/_content/dot.gif);background-repeat: repeat-x;background-position: 0px 0px;">Lycos email has now 300 Megabytes of free storage... Get it now at <a href="http://mail.lycos.co.uk">mail.lycos.co.uk</a></div></body></html>