new version of the adpater, changed the webrtc ready callback, removed use of trace, +++