# How to Enable the WebRTC features in the live Application through RestAPI

**URL:** <https://community.wowza.com/t/how-to-enable-the-webrtc-features-in-the-live-application-through-restapi/55769>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [August 25, 2020, 8:28pm UTC](https://community.wowza.com/t/how-to-enable-the-webrtc-features-in-the-live-application-through-restapi/55769 "2020-08-25T20:28:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fahad\_Rehman5](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fahad\_Rehman5](https://community.wowza.com/u/Fahad_Rehman5)\
**Post date:** [August 25, 2020, 8:28pm UTC](https://community.wowza.com/t/how-to-enable-the-webrtc-features-in-the-live-application-through-restapi/55769/1 "2020-08-25T20:28:49Z")

</div>

I wanted to Enable the WebRTC features in the Live Application through the Rest API, can anybody provide me the sample code how I can accomplish it

---

<div class="post-metadata">

**Author:** ![Amara\_Graham](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/amara_graham/32/381_2.png) [@Amara\_Graham](https://community.wowza.com/u/Amara_Graham)\
**Post date:** [August 25, 2020, 9:03pm UTC](https://community.wowza.com/t/how-to-enable-the-webrtc-features-in-the-live-application-through-restapi/55769/2 "2020-08-25T21:03:11Z")

</div>

```auto
POST http://localhost:8087/v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName} 

```

Send your XML body to include

```auto
<WebRTCConfig serverName="{serverName}">
        <EnablePublish>true</EnablePublish>
        <EnablePlay>true</EnablePlay>
        <EnableQuery>true</EnableQuery>
</WebRTCConfig>

```

---

<div class="post-metadata">

**Author:** ![vshabrov](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@vshabrov](https://community.wowza.com/u/vshabrov)\
**Post date:** [August 26, 2020, 11:33am UTC](https://community.wowza.com/t/how-to-enable-the-webrtc-features-in-the-live-application-through-restapi/55769/3 "2020-08-26T11:33:43Z")

</div>

hi.

i’m try UP WebRTC

my server have apache (80, 443 /SSL/ ) - many site

centos 6

i’m up wowza

ip – 12.12.12.12 (example) == [site.net](http://site.net)

how UP WebRTC
