# Transcoded stream not available after multiple Start \<-\> Stop loops in mobile Safari \[WebRTC\]

**URL:** <https://community.wowza.com/t/transcoded-stream-not-available-after-multiple-start-stop-loops-in-mobile-safari-webrtc/51739>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [August 3, 2018, 4:12pm UTC](https://community.wowza.com/t/transcoded-stream-not-available-after-multiple-start-stop-loops-in-mobile-safari-webrtc/51739 "2018-08-03T16:12:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_Chernetskyi](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@Alexey\_Chernetskyi](https://community.wowza.com/u/Alexey_Chernetskyi)\
**Post date:** [August 3, 2018, 4:12pm UTC](https://community.wowza.com/t/transcoded-stream-not-available-after-multiple-start-stop-loops-in-mobile-safari-webrtc/51739/1 "2018-08-03T16:12:39Z")

</div>

```auto

```

**What steps will reproduce the problem?**

1. Start publish video with client without audio. (Press `Publish` button)
2. Stop publishing (Press `Stop` button)
3. Repeat steps 1 and 2 multiple times

**What is the expected result?**

Transcoded video becomes available when video is published again almost immediately.

**What do you see instead?**

Transcoded video becomes available much more then 10 seconds or even won’t available.

**Client without audio:**

1. I took original Wowza sample code: [https://www.wowza.com/downloads/forums/webrtc/WebRTC.zip](https://www.wowza.com/downloads/forums/webrtc/WebRTC.zip) (html/publish)

2. Changed media constraints to: constraints = {video: true, audio: false};

3. in file webrtc.js (html/publish/webrtc.js) commented line 472 (in other case got error “Can’t set local SDP” )

**Original client (with audio)** - no problem with transcoded stream

**Client without audio** - transcoded stream sometimes not available, or delayed for 30

**Reproduced** on iPhone 6S, Safari

On Android problem can’t be reproduced

I can assume that the problem in bad SDP

**Question** : _How to prepare valid SDP for streaming only video from browser to Wowza through WebRTC?_
