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?