1. Structure
2. Directory Analyze
Directory | Remarks |
---|---|
api | native api, support for app or web browser. Note medianinterface.h and peerconnectioninterface.h |
pc | 1.hannel manager; 2.peerconnecction, mediastream manage; 3.RTP receive/send |
audio | audio receive/send |
video | 1.video receive/send; 2.video encoder; 3.handle synchronize, quality |
common audio | 1.audio converter; 2.channel buffer; 3.smoothing filter; 4.handle wav file |
common video | 1.h264, libyuv; 2.bitrate control; 3.video frame, video render frame |
call | provide base class for audio and video |
media | Audio and Video will be AddStreams as track. 1.webrtc general video handle; 2.sctp.(Session Description Transport Protocol) |
stats | reference counter |
modules | 1.audio (coding, device, mixer, processing); 2.bitrate controller; 3.video(capture, coding) |
p2p | 1.port, session, stun(server, port); 2.stunprober |
rtc_base | base class. 1.bind, network, socket; 2.crc32, md5, openssl; 3.(bit, byte)buffer, memory; 4.task, thread |
systerm_wrapper | 1.clock; 2.event; 3.rw_lock |