# How to do video conference?

**URL:** https://forum.kirupa.com/t/how-to-do-video-conference/638970
**Category:** web dev
**Created:** [November 17, 2018, 11:10am UTC](https://forum.kirupa.com/t/how-to-do-video-conference/638970 "2018-11-17T11:10:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MrBusty](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@MrBusty](https://forum.kirupa.com/u/MrBusty)
#### Post date: [November 17, 2018, 11:10am UTC](https://forum.kirupa.com/t/how-to-do-video-conference/638970/1 "2018-11-17T11:10:42Z")

</div>

Hi, I did find following tutorial:

> **[Accessing Your Webcam in HTML5](https://www.kirupa.com/html5/accessing_your_webcam_in_html5.htm)**
>
> Learn how the video element combined with the getUserMedia function can help you display your webcam's video stream in the browser.

  
Creating and showing the stream locally is indeed pretty easy, but how can I exchange the stream between two computers? Is it better to go for a p2p or a server based solution? Can anyone give me some helpful hints or a code snipped please? Thank you in advance!

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [November 17, 2018, 7:20pm UTC](https://forum.kirupa.com/t/how-to-do-video-conference/638970/2 "2018-11-17T19:20:10Z")

</div>

You will need some sort of a server-based arrangement. This tutorial explains one common architecture for doing that: [https://www.kirupa.com/html5/simple\_video\_chat\_with\_webrtc.htm](https://www.kirupa.com/html5/simple_video_chat_with_webrtc.htm) 🙂
