baselib

copy from webrtc source code(2016/6/22)