# Refactoring Erizo Client!

**URL:** <https://discourse.lynckia.com/t/refactoring-erizo-client/520>\
**Category:** Features\
**Created:** [June 26, 2017, 9:46am UTC](https://discourse.lynckia.com/t/refactoring-erizo-client/520 "2017-06-26T09:46:25Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![miyagi\_goku](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@miyagi\_goku](https://discourse.lynckia.com/u/miyagi_goku)\
**Post date:** [July 3, 2017, 7:04am UTC](https://discourse.lynckia.com/t/refactoring-erizo-client/520/17 "2017-07-03T07:04:40Z")

</div>

Would it be possible to add an API in erizoClient for establishing `RTCDataChannel` between two room participants? This would be super helpful in solving a [problem I posted](http://discourse.lynckia.com/t/stream-data-is-not-sent-peer-to-peer-and-uses-erizocontroller-instead/509) earlier.

Also, consider publishing an npm package for ease of use

Cheers

---

_[View the full topic](https://discourse.lynckia.com/t/refactoring-erizo-client/520)._
