<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>Hi everybody,</FONT></DIV>
<DIV><FONT face=Calibri>I developed an embedded application that creates one MP4
stream + one PCM stream from a camera and a microphone. I need to send
them over the network using RTP. My application writes the 2 streams to 2
separate linux fifos, /fifo_video and /fifo_audio, so I simply modified the
testMPEG4VideoStreamer and testWAVAudioStreamer to read from the fifos instead
of the "test.*" files.</FONT></DIV>
<DIV><FONT face=Calibri>Then I use vlc with an sdp file to receive the streams,
but I only get a few random video and audio frames, with long periods with no
video or audio.</FONT></DIV>
<DIV><FONT face=Calibri>Moreover, If I modify the sdp file to
receive only one stream, either the video or the audio one, everything
works perfectly, no frame loss.</FONT></DIV>
<DIV><FONT face=Calibri>So I suspected it could be a problem of audio -
video synchronization, and tried to remove the rtpc creation from the
test*Streamer applications (commented the RTCPInstance::createNew calls) and
this way I can play both audio and video streams together in vlc
without any problem (apart from the fact that of course they are 1-2 seconds out
of sync).</FONT></DIV>
<DIV><FONT face=Calibri>So the questions are:</FONT></DIV>
<DIV><FONT face=Calibri>1) is my setup ok or do I miss something?</FONT></DIV>
<DIV><FONT face=Calibri>2) Any idea about why the presence of the rtcp messages
modify the vlc behavior in such a way that it can't play the
video and audio streams?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Andrea</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV></BODY></HTML>