try to provide simple APIs to using webrtc