# Do Transcoded Streams Have a Different Client

**URL:** <https://community.wowza.com/t/do-transcoded-streams-have-a-different-client/36133>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 18, 2014, 4:41pm UTC](https://community.wowza.com/t/do-transcoded-streams-have-a-different-client/36133 "2014-03-18T16:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Bailey](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@Simon\_Bailey](https://community.wowza.com/u/Simon_Bailey)\
**Post date:** [March 18, 2014, 4:41pm UTC](https://community.wowza.com/t/do-transcoded-streams-have-a-different-client/36133/1 "2014-03-18T16:41:56Z")

</div>

In a previous discussion I am advised about storing data on the client object: [Storing data for later retrieval](http://community.wowza.com/t/-/36126)

I am using the data on **client** within the onWriteComplete() handler, but have discovered this data is null when the onWriteComplete() is called for the transcoded file move. For transcoded streamed events the onWriteComplete() is called twice, once for the original rtmp stream and once for the transcoded stream.

Please could someone advise if the clients are indeed different between the stream created by a NetConnection and the transcoded stream which would explain why properties I am setting on the client are not reliable.

If I am correct then where or which object could I store data which will be available onWriteComplete for **all** streams e.g. transcoded also?

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [March 19, 2014, 10:19pm UTC](https://community.wowza.com/t/do-transcoded-streams-have-a-different-client/36133/2 "2014-03-19T22:19:36Z")

</div>

Hi,

The transcoded streams do not have a client object. You didn’t mention in your other thread about transcoded streams so I didn’t mention it.

The transcoded streams are only related to the original stream by the names.

What I would suggest is that when you grab the original data is to store that in a map or custom class in the module so it can be accessed later.

onWriteComplete should only be called once for each process that is recording the stream. If there are multiple recorders recording a stream then it will be called for each one.

Roger.
