using netStream.time on rtmp live stream(broadcaster!=receiver)

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default using netStream.time on rtmp live stream(broadcaster!=receiver)

    I am trying to synchronize a live stream (which is broadcasted from the flash
    player plugin) with some scripted actions. The problem is, that the displayed
    frames of the rtmp stream do not correlate to the netStream.time property on
    the receiver side. In fact, i do not understand at all, how the property is
    rendered on the receiver, since i can not recognize any dependencies to e.g.
    bufferLength.
    Does anybody now, how it is calculated? I tried with Red5 and Wowza and they
    seem to behave similar. I guess, FMS would not make any difference (if so:
    lease let me know!), since i assume that the property is rendered during the
    encoding process i.e. by the plugin.

    *_leif_* Guest

  2. Similar Questions and Discussions

    1. NetStream.time inaccurate
      I am doing a playlist kind of thing and I know how long a stream will be so I checking the stream.time to provide a progress indicator. None of...
    2. Embed live cue data in live stream?
      I am currently using the new FME to encode live to a FMS. Both applicatioins are running on the same machine. Is there a way to embed live cue and...
    3. Problem trying to publish live stream to RTMP
      We are having a rather silly problem, I know its probably very easy to resolve but still it is giving us a headache. We have an FMS that takes...
    4. progressive stream (RTMP)
      Hi everyone, glad to be back into flash programming, was side tracked for quite awhile. I'm currently trying to stream a simple mp3. here's...
    5. stream an external flv via rtmp
      hi. i want to stream external flvs with fcs, but it is not possilbe for me to tell fcs where to get these external flvs. running external flvs...
  3. #2

    Default Re: using netStream.time on rtmp live stream(broadcaster!=receiver)

    I'm not entirely sure I understand the question, but it seems that what you
    want to do is trigger actionscript events at certain times in the live stream.

    Typically, I would use NetStream.send() for this sort of thing, but since I
    don't know how you have your application set up, I can't say for sure whether
    that's the best solution for you.

    Can you describe things in a little more detail? When you say that the
    netstream.time property and the "displayed frames" do not correlate, what do
    you mean?


    JayCharles Guest

  4. #3

    Default Re: using netStream.time on rtmp live stream(broadcaster!=receiver)

    Hello Jay,

    thank you for your answer! NetStream.send() seems to be at least a possibility
    to solve my problem with a workaround.

    I just want to synchronize the time information of the up- and downstream:
    both should have the same time information when they show the same visual
    content (which i called "frame" in the former post).
    What i would suppose the netstream.time to be is that if i shake my camera on
    upstream.time=10.0 then downstream.time should equal 10.0 when this camera
    shaking is played back. This is the behaviour that i am used to from streaming
    prerecorded FLVs. But with live streams things work out diffferently.
    In fact my downstream.time is bigger than upstream.time. And i can not imagine
    how this can be. If i streamed up for let's say 20 seconds and i start the
    downstream after about 10 seconds, i would expect my downstream.time to start
    with 10 seconds and then increase continually. But against this, my
    downstream.time starts with something above 20. How can this be? Or back to my
    initial question: how is the downstream.time rendered?
    This behaviour seems not to be dependent on the downstream.bufferTime.

    With netStream.send() i could send the upstream.time information via the
    upstream to render an offset for downstream.time on receiver side. This should
    work (have to check it), but is a workaround, no "clean" solution.

    *_leif_* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139