Skip to main content
calmchessplayer
Inspiring
Jan 27, 2010 3:43 PM UTC
Answered

reset netStream.time

how do i reset netStream.time for a streaming .flv that was intiatied on the server side? It just keeps incrementing on me even after the streaming .flv is done playing.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer
    Jan 27, 2010 4:27 PM UTC

    You can't kill it... you can just abandon it. Null any server side references to it, and disconnect subscribers from the client side by nulling the reference. After a while, FMS will garbage collect the stream for you.

    4 replies

    Jan 27, 2010 4:13 PM UTC

    Do you mean a server side stream that you're playing an flv on? In that case, I don't think you can reset it... AFAIK you'll need to abandon that stream and create a new one if you want to restart the clock.

    Translate
    calmchessplayer
    Inspiring
    Jan 27, 2010 4:22 PM UTC

    whats the best way to shutdown the stream that i want to destroy?

    Translate
    Correct answer
    Jan 27, 2010 4:27 PM UTC

    You can't kill it... you can just abandon it. Null any server side references to it, and disconnect subscribers from the client side by nulling the reference. After a while, FMS will garbage collect the stream for you.

    Translate