Results 1 to 2 of 2

Thread: Do Transcoded Streams Have a Different Client

  1. #1

    Default Do Transcoded Streams Have a Different Client

    In a previous discussion I am advised about storing data on the client object: http://www.wowza.com/forums/showthre...ater-retrieval

    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?

  2. #2

    Default

    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.

Similar Threads

  1. out of sync transcoded and source streams
    By yaroslavv in forum Live Streaming and Encoders
    Replies: 5
    Last Post: 04-15-2014, 04:47 AM
  2. Obtaining bitrate of transcoded streams
    By ve1kyne in forum AddOn: Transcoder
    Replies: 4
    Last Post: 12-27-2013, 08:18 AM
  3. Replies: 4
    Last Post: 03-20-2012, 03:29 AM
  4. How to control the transcoded streams in the application
    By radiov in forum AddOn: Transcoder
    Replies: 1
    Last Post: 03-05-2012, 03:11 PM
  5. Record live transcoded streams
    By german in forum AddOn: Transcoder
    Replies: 1
    Last Post: 11-21-2011, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •