Problem trying to publish live stream to RTMP

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

  1. #1

    Default 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 live feeds from webcams and plays them back through
    a webpage using the following code:

    nc = new NetConnection();
    nc.onStatus = function(info) {
    trace('I:'+info.code);
    if (info.code == 'NetConnection.Connect.Success') {
    ns = new NetStream(nc);
    video.attachVideo(ns);
    ns.play('channel12');
    }
    };
    nc.connect('rtmp://FMSIP/shopVideo/_definst_');

    We would now need to push this feed over to another FMS by publishing the feed
    on an RTMP address.

    We were under the impression that the following should work:

    rtmp://FMSIP/shopVideo/_definst_/channel12

    but is does not work, even if we try it from our own FMS. Checked firewall and
    stuff that does not seem to be a problem. Are we missing something painfully
    basic? Please advise any help is greatly appreciated.

    graphite12 Guest

  2. Similar Questions and Discussions

    1. publish H.264 live stream
      Hi all, I'm currently trying Flash Media Server 3.0 with CS3 and Flash Player 9.0.115. Our goal is to implement a videoconferencing application...
    2. 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...
    3. Problem with recording a live-stream
      Hello Adobe communtiy, we are developing an online application where our users can send the output of their videocard live into the internet....
    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: Problem trying to publish live stream to RTMP

    If I'm understanding you correctly, you want to take a stream that resides on
    server "A", and publish it to server "B".

    If that's the case, you need to make a netconnection to server "A" in the .asc
    on server "B", just like you would in client side actionscript.





    JayCharles Guest

  4. #3

    Default Re: Problem trying to publish live stream to RTMP

    Thanks for the advice. This solution would work for us as well but
    unfortunately the operator of server B wants to get an rtmp link the asc
    solution does not work. They need to solve this by doing a simple RTMP request
    using the FLV playback component.

    But for some reason we are unable to get the RTMP link working only the asc
    solution seems to work. Im wondering what should we do different to get the
    rtmp work as the asc works now. If you have any ideas please do not hold it
    back. Thanks!

    graphite12 Guest

  5. #4

    Default Re: Problem trying to publish live stream to RTMP

    That is because the server who is trying to pull needs to be the subscriber of
    second server the quickest way to do that is the RTMP string. I am trying to
    use your code now to subscribe to the stream Gyula maybe it would help if we
    use a test stream that has a constant feed one that you can send me the link on
    your site so I know its up.

    James

    jrulison 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