The matter about sending audio and video over RTP.....

I have finished most of the video confference project,but now, I send the audio and video to the client over RTP with JMF2.1.1.the steps are:

1.creates a datasource for audio from capture.

2.creates a datasoruce for video from another capture device(1.0f~5.0f).

3.merge the datasource and create a processor.

4.configures the processor.

5.creates a RTPManager to interact with client.

....

At client,creates a separate session for each stream(audio and video and so on).

....

all the steps go well,that is to say,i can see the video and hear the audio from client.

BUT,the audio is NOT played continuously.and the video is slowwer than the before.what's more,

if i transfer the video only,the video is right in client.

what' s the matter?synchronization?

Can anyone give me some advice or some sample code?

thanks in advance.

mauvespan

[934 byte] By [mauvespan] at [2007-9-30 20:20:52]
# 1
There was an example in "JMF solutions", describing synchronization Audio+video stream.Maybe it could help you.
watergad at 2007-7-7 1:05:43 > top of Java-index,Security,Cryptography...
# 2
thanx watergad,perhaps the key is not the synchronization,the audio is NOT continueous,and the CPU usage is 35%.I think that is a the framerate about audio which is captured from HW.is it right?do you have any advice?mauvespan
mauvespan at 2007-7-7 1:05:43 > top of Java-index,Security,Cryptography...