# webrtc working but HLS not working for the samewebrtc working but

**URL:** <https://community.wowza.com/t/webrtc-working-but-hls-not-working-for-the-samewebrtc-working-but/49141>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2017, 6:25pm UTC](https://community.wowza.com/t/webrtc-working-but-hls-not-working-for-the-samewebrtc-working-but/49141 "2017-07-06T18:25:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shankar\_Thapa](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Shankar\_Thapa](https://community.wowza.com/u/Shankar_Thapa)\
**Post date:** [July 6, 2017, 6:25pm UTC](https://community.wowza.com/t/webrtc-working-but-hls-not-working-for-the-samewebrtc-working-but/49141/1 "2017-07-06T18:25:44Z")

</div>

I am using webrtc sample for testing

I am able to stream/view. but 2 issues

1. HLS is not working

2. Audio is missing in playing stream

Details

- I tested on “Wowza Streaming Engine 4.7”

- Streamed my Self from Chrome browser Os: Mac

- For Streaming i was using “[https://www.wowza.com/\_private/webrtc/4.7.0/publish/](https://www.wowza.com/_private/webrtc/4.7.0/publish/)”

- On Preview URL(“[https://www.wowza.com/\_private/webrtc/4.7.0/play/](https://www.wowza.com/_private/webrtc/4.7.0/play/)”) i was able to play stream on browser but no audio

- In wowza admin console log i can see HLS path is created, but stream was not playing.

Thanks

🙂 Shankar Thapa

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [July 19, 2017, 6:08pm UTC](https://community.wowza.com/t/webrtc-working-but-hls-not-working-for-the-samewebrtc-working-but/49141/2 "2017-07-19T18:08:48Z")

</div>

Hello @Shankar Thapa

To be able to play the stream back for HLS you will either need to set your WebRTC ‘webrtcPreferredCodecsVideo’ Property in your webrtc Application.xml to use H.264 or transcode the video to H.264.

For audio not playing back, you will need to transcode the Opus audio that WebRTC creates to a HLS supported codec AAC.

Then you will playback that transcoded rendition. e.g. myStream\_360p

Link to assist with Transcoder setup [LINK](https://www.wowza.com/docs/how-to-set-up-and-run-wowza-transcoder-for-live-streaming)

Regards,

JasonT
