Real-time communication (RTC) is a new standard and industry-wide effort that expand the web browsing model, allowing access to information in areas like social media, chat, video conferencing, and television over the internet, and unified communication. Users of these systems can view, record, remark, or edit video and audio content flows using time critical cloud infrastructures that enforce quality of services. However, there are many proprietary protocols and codecs available which are not easily interoperale and scalable to implement multipoint video-conference systems. WebRTC (Web real-time communication) is a state of the art open technology that makes real-time communication capabilities in audio, video and data transmission possible in real time communication through web browsers using JavaScript APIs (Application Programming Interface) without the plug-in. Furthermore, peer-to-peer (P2P) communication enables more efficient bandwidth usage and resilience against network errors, as E-Learning multimedia data must be streamed in real-time with the highest possible level of video quality to be easily understood by students. In this paper, we have proposed a web-based peer-to-peer real-time communication system using the Mozilla Firefox together with the Scaledrone service that enables users to communicate with high-speed data transmission over the communication channel using WebRTC technology, HTML5 and use Node.js server address. Moreover, the system can be used for massive open online courses, enabling presenters to have P2P multipoint video-conference with their auditorium. The result shows that the system is stable, fully functional, safe, and can be used in a practical network to transmit and receive multimedia data in real time between users. Furthermore, by using the video conference system, students can do better collaborative learning by sharing the knowledge between them and exchange different ideas about course activities, and after that, resolve the tasks received from the teachers. Cognitive analysis and understanding of the tasks and lessons from a class are increasing with the development of social skills.