# Access websocket httpprovider from module within onRTPSessionCreate

**URL:** <https://community.wowza.com/t/access-websocket-httpprovider-from-module-within-onrtpsessioncreate/55732>\
**Category:** Wowza Streaming Engine\
**Created:** [August 20, 2020, 6:30pm UTC](https://community.wowza.com/t/access-websocket-httpprovider-from-module-within-onrtpsessioncreate/55732 "2020-08-20T18:30:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Rossi](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Daniel\_Rossi](https://community.wowza.com/u/Daniel_Rossi)\
**Post date:** [August 20, 2020, 6:30pm UTC](https://community.wowza.com/t/access-websocket-httpprovider-from-module-within-onrtpsessioncreate/55732/1 "2020-08-20T18:30:52Z")

</div>

I’m trying to test the ability of turning one to many webrtc into a conferencing option. I just read the client should play the available streams as HLS instead of many peer connection subscribe streams,

I need the ability to broadcast to websocket connections when an RTP session is created or destroyed to update the clients when a stream has started for that instance. Instead of polling the available streams from the client side.

I’ve got this, I need to access the specific custom websocket httpprovider with a message of the stream name to subscribe to.

public void onRTPSessionCreate(RTPSession rtpSession)

{

if (rtpSession.isWebRTC())

{

}

}

---

_[View the full topic](https://community.wowza.com/t/access-websocket-httpprovider-from-module-within-onrtpsessioncreate/55732)._
