locked
How to properly reconnect to media stream (ASF sink) RRS feed

  • Question

  • Hello,

    Just trying to figure out how to:

    Have ASF sink that produces IMFByteStream which implements simple HTTP server. In IMFByteStream topology executes Write(...

    as first step and I started to listen for incoming connection. As far As I understand Write receives ASF header as fist buffer that will be sent to client (VLC)

    So far so good, client gets connected and Async magic started (BeginWrite/Invoke/Endwrite) Then Client disconnected, Invoke receives some error code and.... Now the question, how to reinit ASF sink to get back to Write function and start listen on socket again ? Topology already has TEE and other part writing data to the file, so restart whole topology is not the solution.

    Regards

    Aleksey

    Monday, December 3, 2012 2:02 PM