For both streams to be synchronized, u need to ensure that you set the presentationTime for each packet of either audio or video - that is the only way a receiver can synchronize what otherwise would seem to be asynchronously transmitted streams. This can be done by getting it from the input stream, or by manually calculating it using increments of the frame time, etc. The latter method is however prone to drift, and might not be applicable in all codec scenarios (variable time encoded frames). The drift might also cause VLC/Quicktime to lose sync after a while
As for your video/audio streams playing back, VLC will play them back at the same time by default, unless you have disabled it manually (go to the Video-> and Audio-> tabs to see if your stream is active, you can disable it there too and that might have been what you did) Hope it helps, Jerry
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
