TPEPlatform/WebRTC B2G: Difference between revisions

Jump to navigation Jump to search
Line 104: Line 104:
# process thread (worker thread in GIPS): doing many other tasks. Process thread has a task queue for client to inject tasks into.  
# process thread (worker thread in GIPS): doing many other tasks. Process thread has a task queue for client to inject tasks into.  
Basically, we may divide these threads into three categories.  
Basically, we may divide these threads into three categories.  
*encode path
*'''encode path'''
**Encode path start from capture(getUserMedia).
**Encode path start from capture(getUserMedia).
** MediaPipelineListner listen update notification(NotifyQueueTrackChanges) from MSG Run Thread and
**MediaPipelineListner listen update notification(NotifyQueueTrackChanges) from MSG Run Thread and
*** Encode audio chunks in MSG Run Thread.
***Encode audio chunks in MSG Run Thread.
*** Encode video chunks in another thread(ViECapter Thread).
***Encode video chunks in another thread(ViECapter Thread).
**** Put Encoded media data into Transport Service Thread to network
****Put Encoded media data into Transport Service Thread to network
<gallery>
<gallery>
FIle:Camera_cap_.jpg|Camera capture
FIle:Camera_cap_.jpg|Camera capture
File:MicCapture_.jpg|Mic capture
File:MicCapture_.jpg|Mic capture
</gallery>
</gallery>
*decode path
*'''decode path'''
** ''Steven, please update whole story from network/ jitter buffer to renderer.''
**''Steven, please update whole story from network/ jitter buffer to renderer.''
<gallery>
<gallery>
File:AudioDecode_.jpg|Audio decode
File:AudioDecode_.jpg|Audio decode
Line 121: Line 121:
File:ReceiveRTPPakcets_.jpg|RTP receive  
File:ReceiveRTPPakcets_.jpg|RTP receive  
</gallery>
</gallery>
*Process dispatcher threads
*'''Process dispatcher threads'''
RTCP - NACK/ Statistic  
**RTCP - NACK/ Statistic  
<gallery>
<gallery>
File:ProcessThread_.jpg|Process threads
File:ProcessThread_.jpg|Process threads
</gallery>
</gallery>
Confirmed users
1,643

edits

Navigation menu