# WebRTC and Phaser

**URL:** <https://phaser.discourse.group/t/webrtc-and-phaser/6053>\
**Category:** Phaser 3\
**Created:** [April 23, 2020, 7:49pm UTC](https://phaser.discourse.group/t/webrtc-and-phaser/6053 "2020-04-23T19:49:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/paul/32/22_2.png) [@paul](https://phaser.discourse.group/u/paul)\
**Post date:** [April 23, 2020, 7:49pm UTC](https://phaser.discourse.group/t/webrtc-and-phaser/6053/1 "2020-04-23T19:49:50Z")

</div>

Anyone have examples of integrating WebRTC (video chat specifically) and Phaser? I’m wondering if the video game object could handle this.

---

<div class="post-metadata">

**Author:** ![paul](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/paul/32/22_2.png) [@paul](https://phaser.discourse.group/u/paul)\
**Post date:** [April 24, 2020, 6:42pm UTC](https://phaser.discourse.group/t/webrtc-and-phaser/6053/2 "2020-04-24T18:42:33Z")

</div>

Let me be more specific. Can we specify the srcObject of a video gameObject? I don’t see anything to allow that in the source code, but may be missing something.

---

<div class="post-metadata">

**Author:** ![UltimateProGrammer](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/ultimateprogrammer/32/3069_2.png) [@UltimateProGrammer](https://phaser.discourse.group/u/UltimateProGrammer)\
**Post date:** [April 24, 2020, 10:38pm UTC](https://phaser.discourse.group/t/webrtc-and-phaser/6053/3 "2020-04-24T22:38:03Z")

</div>

This PR might be interesting though I know very little about this topic:

> <https://github.com/photonstorm/phaser/pull/5074>

---

<div class="post-metadata">

**Author:** ![paul](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/paul/32/22_2.png) [@paul](https://phaser.discourse.group/u/paul)\
**Post date:** [April 25, 2020, 1:48pm UTC](https://phaser.discourse.group/t/webrtc-and-phaser/6053/4 "2020-04-25T13:48:58Z")

</div>

Thanks very much - I will check this out!
