Skip to main content
Inspiring
November 23, 2010
Question

Does NetStream.send work with RTMFP

  • November 23, 2010
  • 1 reply
  • 1557 views

Hi, I have application that uses the send functionally in the NetStream on the server-side. When a connect to the app using rtmp I am able to see the send come thru but if the app uses rtmfp it does not.

I gone thru all the examples in setting up a mutlicast app and I know the app works because when I publish a video out everyone in the group sees the video. The only thing not working is send. I've also set dataReliable to true.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    November 23, 2010

    You can use NetGroup.post for that.

    Barr4476Author
    Inspiring
    November 23, 2010

    The reason I'm using NetStream.send is because I want the data messages to be in line with the potential video/audio that the NetStream could also contain. NetGroup.post is my backup solution, but I would preferred to figure out why the Reference pages say that NetStream.send work with RTMFP. Link: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#dataReliable

    Barr4476Author
    Inspiring
    November 29, 2010

    I found the solution. Doing some testing I found that using Stream.send("@setDataFrame", "onStreamData", oData) didn't work with RTMFP but using Stream.send("onStreamData", oData) work as expected.