[Live-devel] How to combine live H.264 source and AAC source

Ross Finlayson finlayson at live555.com
Thu Jul 24 17:43:54 PDT 2014


>   My problem is that streaming either of them is Ok

That's good, because it suggests that there's not much wrong with your application.


> , but how can I stream them together?

The most important thing here is that the "presentation time" values for both audio and video need to be accurate: Synchronized with each other, and aligned with 'wall clock' time - i.e., the times that you'd get by calling "gettimeofday()".

Also, the port numbers that you use for audio and video RTP should be different.  (The multicast address can be the same for both, but if so, the port numbers must be different.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140724/d22f4779/attachment.html>


More information about the live-devel mailing list