-fix nullpointer
- fix webrtc context