audio & video synchronization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, All


For pjsip v2.8:

* video stream is handled in clock_thread() thread.

* audio stream is handled in pb_thread_func() thread.


The clock thread calls pj_thread_sleep() to wait for the exact ticks.

But pb_thread_func() has no such wait operation. 


Would someone explain below questions with code snippet?

1) How does audio stream get its clock?

2) How do audio stream and video stream get synchronized?


Thanks very much!



Regards

Lei









_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux