When a new technology or an instrument appears on the market, it might not be reasonable to create your own framework or a library by utilizing this new tool to develop a product. Sometimes it is worth looking around and using a Software Development Kit (SDK) or a ready-to-use framework that implements all the technology's necessary features.
WebRTC is a very young technology that is under active development. We don't have a completed standard yet, only a draft. There are many third-party frameworks and libraries available that utilize WebRTC features and provide a nice API for a developer. To use such tools, it is not necessary to get deep into WebRTC and standards, but you can concentrate just on your product.
Tip
Most of the frameworks provide you with a complete set of tools. Therefore, you might need to use Google's adapter.js in addition to keep compatibility between multiple web browsers or their (browsers') versions.
Usually, such an SDK can make a developer's life easier...