NetStream.send() with datareliable=false

Does NetStream.send() and setting NetStream.datareliable = false make the flash player use UDP? Or does it just use TCP for 1 second and then stop?
Thanks

the dataReliable flag doesn't control whether you're using TCP or UDP. if you're using RTMP, you're using TCP because that's what RTMP goes over. if you're using RTMFP, you're using UDP because that's what RTMFP goes over.
if you're using RTMP, the videoReliable, audioReliable, and dataReliable flags have no effect because TCP is fully reliable all the time.
those flags only have meaning for RTMFP connections. when video/audio/dataReliable is set to true, RTMFP sends the corresponding message with full reliability, retransmitting it if necessary. if a reliable flag is false, RTMFP will not retransmit the corresponding message, and the message will only remain in the transmission queue for 1 second (so depending on network congestion/throughput, the message might not be transmitted at all).
messages of different types are sent with different priority in RTMFP. audio is highest priority, then NetStream.send() (data), then video. all RTMFP Groups modes (multicast, posting, directed routing, object replication) are lower priority than video.  priority matters when bandwidth is tight.

Similar Messages

  • NetStream.send not working in Flash Player 11.2 Beta with Cirrus, Please confirm if it is a bug

    Title
    NetStream.send not working in Flash Player 11.2 Beta with Cirrus, Please confirm if it is a bug or feature
    Description
    Problem Description:
    NetStream.send can not send data to peerstreams when using with cirrus. Conflict with documents.
    Sorry for tag the build as 11.0.1.3 while the bug is actually on 11.2 beta since the bug report system didn't have 11.2 beta yet.
    If you are not responsible for 11.2 beta bug fix, please help a hand to handle this bug to 11.2 team.
    This bug is "killing" to your application, so we really appreciate your help. Thanks.
    ==Publisher==
    nc.connect("rtmfp://");
    var ns:NetStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
    ns.publish("sendtest");
    ...//after connection success.
    ns.send("clientfunction", "ok"); // this line cannot reach subscribers. even if subscribers have client object correctly.
    ==Subscriber==
    nc.connect("rtmfp://");
    var ns:NetStream = new NetStream(nc, cirrusid);
    var client:Object = new Object();
    client.clientfunction = clientfunction; // target function
    ns.client = client;
    ns.play("sendtest");
    Steps to Reproduce:
    1. compile the code in the attachment to SendTestExample.swf (not be able to paste it here)
    2. run it under flash player 11.2.202.19 beta
    3. run it under flash player 11
    Actual Result:
    HeartBeat is:
    Start HeartBeat:
    send hello
    send hello
    send hello
    which means NetStream.send was not able to call "clientfunction" as expected.
    Expected Result:
    Start HeartBeat:
    send hello
    in client function: hello
    send hello
    in client function: hello
    send hello
    in client function: hello
    which can call into the clientfunction as flash player 11 did.
    Any Workarounds:
    I can not find it out since it's an api level bug. But this can be very important for lots of applications which rely on send to do rpc.
    Test Configuration
    IE8, Firefox under Windows 7
    Also have problem under Windows XP (but not well tested on this platform)
    App Language(s)
    ALL
    OS Language(s)
    ALL
    Platform(s)
    Windows 7
    Browser(s)
    Internet Explorer 8.0
    ==Attachment==
    package {
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.NetStatusEvent;
        import flash.events.TimerEvent;
        import flash.media.Video;
        import flash.net.NetConnection;
        import flash.net.NetStream;
        import flash.text.TextField;
        import flash.utils.Timer;
        import flash.utils.setTimeout;
        public class SendTestExample extends Sprite
            public static var statusArea:TextField;
            var ncServer:NetConnection = new NetConnection();
            var nsServer:NetStream;
            var ncClient:NetConnection = new NetConnection();
            var nsClient:NetStream;
            var timer:Timer = new Timer(1000);
            public function SendTestExample() {
                ncServer.addEventListener("netStatus", onNCStatusServer);
                ncServer.connect("rtmfp://p2p.rtmfp.net","99f72ccbed0948d7589dc38a-3ce1b2616680");
                statusArea = new TextField();
                status("status");
                statusArea.x = 0;
                statusArea.y = 0;
                statusArea.border = true;
                statusArea.width = 200;
                statusArea.height = 350;
                addChild(statusArea);
            function onNCStatusServer(event:NetStatusEvent):void {
                status("Step 1:");
                status("server: " + event.info.code);
                status("id: " + ncServer.nearID);
                switch (event.info.code) {
                    case "NetConnection.Connect.Success":
                        nsServer = new NetStream(ncServer, NetStream.DIRECT_CONNECTIONS);
                        nsServer.addEventListener(NetStatusEvent.NET_STATUS, onNSStatusServer);
                        nsServer.publish("sendtest");
                        ncServer.removeEventListener(NetStatusEvent.NET_STATUS, onNCStatusServer);
                        ncClient.connect("rtmfp://p2p.rtmfp.net","99f72ccbed0948d7589dc38a-3ce1b2616680");
                        ncClient.addEventListener("netStatus", onNCStatusClient);
                    case "NetStream.Publish.BadName":
                        //status("Please check the name of the publishing stream" );
                        break;
            function onNCStatusClient(event:NetStatusEvent):void {
                status("Step 2:");
                status("client: " + event.info.code);
                status("id: " + ncClient.nearID);
                switch (event.info.code) {
                    case "NetConnection.Connect.Success":
                        nsClient = new NetStream(ncClient, ncServer.nearID);
                        var c:Object = new Object();
                        c["clientfunction"] = clientfunction;
                        nsClient.client = c;
                        nsClient.play("sendtest");
                        ncClient.removeEventListener(NetStatusEvent.NET_STATUS, onNCStatusClient);
                        //setTimeout(sendHello, 5000);
                    case "NetStream.Publish.BadName":
                        //status("Please check the name of the publishing stream" );
                        break;
            protected function onNSStatusServer(event:NetStatusEvent):void {
                status("nsserver: " + event.info.code);
                if (event.info.code == "NetStream.Play.Start") {
                    status("Start HeartBeat:");
                    this.timer.addEventListener(TimerEvent.TIMER, function (e:Event):void {
                        sendHello();
                    this.timer.start();
            protected function sendHello():void {
                status("send hello");
                nsServer.send("clientfunction", "hello");
            protected function status(msg:String):void
                statusArea.appendText(msg + "\n");
                trace("ScriptDebug: " + msg);
            protected function clientfunction(event:Object):void {
                status("in client function: " + event);

    Thanks for reporting. I can reproduce the bug in house. We will investigate.
    Calise

  • Optimizing chunks size for filesending with NetStream.send() method

    Hi,
    I would like to implement a p2p filesending application. Unfortunately object replication is not the best solution for this so I need to implement it myself.
    The process is the following:
    Once the user has selected the file for sending, I load it to the memory. After it is completed I cut the file's data into chunks and send these chunks with the NetStream.send() method  - to get the progress of filesending -.
    How can I optimize the size of the chunks for the fastest filesending method or what is the best size for a chunk?

    Hi there
    Please submit a Wish Form to ask for some future version of Captivate to offer such a feature! (Link is in my sig)
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Netstream.send only text messages or any type?

    In Netstream.send() documentation it says: " ... arguments
    — Optional arguments that can be of any type."
    In the documentation to the Netstream class it says "You can
    also use NetStream objects to send text messages to all subscribed
    clients (see the NetStream.send() method)."
    I tried to send a Rectangle with Netstream.send:
    Code on Sender:
    var rect = new Rectangle(1,2,5,5);
    nc.call("serverShowRect",null, rect);
    Code on Flash Media Server: (FMS 2.0.4)
    STREAM_NAME = "myStream";
    Client.prototype.serverShowRect= function(msg)
    myStream = Stream.get(STREAM_NAME);
    myStream.send("@setDataFrame","onRectangle",msg);
    Code on Client:
    function onRectangle(infoObject:Object):void {
    trace ("Rectangle received.");
    trace ("tracing properties:");
    var key:String;
    for (key in infoObject) {
    trace(key + ": " + infoObject[key]);
    try {
    var rect:Rectangle = infoObject["rectangle"] as Rectangle;
    trace("Rect as rect:" +rect);
    catch (error:Error){
    trace(error.message);
    The function onRectangle() ist called ok. The infoObject's
    properties can be shown by trace. But I cannot convert infoObject
    into an Rectangle. var rect will be either null or I get an
    type-conversion error.
    Does anyone know how to send other data than Strings using
    Netstream.send()? Or can one actually only send Strings using FMS2

    You should receive an email receipt with every purchase that you make in iTunes on the computer or in iTunes, the App Store or the iBookstore on an iOS device. I always get a receipt via email. You are not getting them?
    If you are asking if Apple will send you a detailed purchase history, the answer to that is no since you can access that information in your account in iTunes on your computer. Click on Account under the Quick links on the right side of iTunes, enter your password at the prompt, and then click on "See all" to the right of Purchase History in the next window.

  • Xquery Sender with External event receiver

    Hi,
    I am using a Xquery sender with external event receiver automation plugin.
    I want to use following functions in the same XQuery,
    1. automator:getOrderAsDOM($automator)
    2. automator:setSetJMSMessageText($automator, fn:false())
    But both these functions belong to different namespaces,
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.*ScriptReceiverContextInvocation*";
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.*ScriptSenderContextInvocation*";
    How can I declare these above namespaces in the same Xquery for using the above mentioned functions?
    Please help.

    To add to c.w.'s comments note that starting in 7.0.3 we have added support for additional automation context API functions that accept/return DOM natively. This saves the hassle of having to manually write the code to parse the serialized XML order into a DOM and also offers some additional efficiencies performance wise.
    This means with 7.0.3 you can access the order as follows:
    let $order := context:getOrderAsDom($context)
    There are similar API's to update the order (updateOrderAsDom) and to make an API call (processXMLRequestDom).
    Regards,
    Brian.

  • Timing of NetStream.send() calls

    Hello,
    we use NetStream.send() calls to remote control clients
    subscribed to a live stream. We observed that the live video &
    audio stream can get out of sync with the remote calls sent via
    NetStream.send(). In bad cases the remote calls where executed 4
    seconds before the audio/video signal was shown.
    My idea is that NetStream.send() events are created when the
    stream "arrives" at the Flash Player, while the Audio/Video Data
    might be buffered. Can anybody confirm this implementation detail
    of FMS 3.0?
    Any help on this is greatly appreaciated,
    Juergen

    Thanks for reporting. I can reproduce the bug in house. We will investigate.
    Calise

  • Typed objects p2p through netstream.send()

    Can type information be preserved when sending objects using the netstream .send method? I notice when debuggin on the other side that all the objects come through as just that, instances of the object class.
    Could you have a custom object instance, say Person, and send that via rtmfp to the other side and preserve the fact that it is a Person?
    Sean

    Hello. Yes you can preserve the type of the objects when they are sent with NetStream.send(). Just add [RemoteClass] metadata to the class which type you want to preserve.
        [RemoteClass]
        public class NetStreamMessage
              public var id:Number;
              public var data:Object;
              public function NetStreamMessage(data:Object)
                   this.data = data;
        var message:NetStreamMessage = new NetStreamMessage("some message");
        publishNetStream.send("handleMessageReceived",message);

  • SOAP Axis sender with CSV file attachment

    Hi Experts,
    I have a requirement where I receive a CSV file attachment from a Web Service post ( i.e a SOAP sender with attachment). I decided to use SOAP with Servlet(Axis) protocol, since standard SOAP sender does not allow modules to be used.
    I am able to test this interface through SOAPUI with attachment to the point where I can get the attachment payload as my main payload in IE, but it fails in mapping since CSV needs to be converted to XML. I have following queries for proceeding ahead with this scenario:
    1. How do I convert the CSV attachment to XML inorder for mapping to be used in IE. Is there a standard axis handler available for this ???? Also where should this handler be called in the sequence of Axis modules ???
    2. Can I use MessageTransformationBean for converting plain to XML ??? If yes where should this module be called in the sequence of Axis modules. I tried using this module between the CallSapAdapter and the first AdapterBean but it returns exception in SOAPUI saying " Messaging exception: No Main"
    3. Is there a blog available which illustrates about using additional modules/handlers in Axis. I have had a look at the FAQ note of Axis but it just gives the overview.
    Thanks.
    Siddhesh S.Tawate

    Solved :).
    1     AF_Adapters/axis/HandlerBean                     Local Enterprise Bean                              xireq
    2     AF_Adapters/axis/AFAdapterBean                     Local Enterprise Bean                              afreq
    3     localejbs/AF_Modules/MessageTransformBean    Local Enterprise Bean                     Plain2XML
    4     CallSapAdapter                                          Local Enterprise Bean                              sap
    5     AF_Adapters/axis/AFAdapterBean                    Local Enterprise Bean                             afresp
    6     AF_Adapters/axis/HandlerBean                    Local Enterprise Bean                             xires
    Above sequence worked. I guess I was missing some parameter in content conversion earlier.
    Thanks.

  • Error while using Send With Document service

    Hi,
    I am using the send with document email service, and trying to pass an attachment (a text document). When i invoke the process using java component i get the following error:
    com.adobe.workflow.engine.PEUtil logFailedFaultRouting An exception was thrown with name com.adobe.idp.dsc.email.SendMailFailedException message:Failed to send email to mail server: null:25. Cause: null while invoking service EmailService and operation sendWithDocument and no fault routes were found to be configured.
    Can someone give me an idea of how to resolve this issue?
    Thanks..

    From the exception fragment it is complaining that your email properties are not set correctly. In this case the email server name is resolving to null. Make sure they are all set up correctly. The no fault routes just means you have no route in your workflow to handle any errors/exceptions.

  • File Sender with CC Error handling

    When using the file sender with content conversion we often receive
    Parsing errors in the AFW monitoring due to bad messages.
    Q: how can we monitor and e-mail this errors from the AFW,does the CCMS covers everything? Alert monitoring?.
    another Q: In higher SPs of  XI there is the option to archive error messages,is it possible to raise an alert for the parsing problem even though the file was removed by the Comm. channel to the archive folder.
    points will be rewarded.
    Regards,
    Nimrod.G

    hi,
    Q: how can we monitor and e-mail this errors from the AFW,does the CCMS covers everything? Alert monitoring?.
    yes it is possible thru CCMS
    check the below links
    Configuring scenario specific E-mail alerts in XI-CCMS: Part - 1,2,3
    /people/aravindh.prasanna/blog
    XI : Configuring CCMS Monitoring for XI- Part I                              
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i                              
    XI : GRMG Customizing for XI CCMS Heartbeat Monitoring Part II                                   
    /people/sap.user72/blog/2005/12/05/xi-grmg-customizing-for-xi-ccms-heartbeat-monitoring-part-ii                         
    regards'
    chandrakanth

  • File sender with content conversion and ignoreRecordsetName

    Him,
    I have an scenario with a compressed file sender with content conversion.
    In my sender cc i have:
    1     AF_Modules/PayloadZipBean     Local Enterprise Bean     unzip
    2     AF_Modules/MessageTransformBean     Local Enterprise Bean     transform
    3     CallSapAdapter     Local Enterprise Bean     2
    In module configuration, I have also added:
    xml.ignoreRecordsetName  --> true
    But RecordsetName is not removed from XML
    Why?
    thanks, in advance
    Carme

    Hi,
    No need to enter anything in module configuration. Just specify following Name-Value pair in the table provided on the Content Conversion tab of your file adapter.
    Add a row with Name = ignoreRecordsetName and Value = true (Both case-sensitive)
    For details, see [this link|http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm].
    [some more here|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/]
    Regards,
    Riyaz

  • Randomly, text messages I send with my new iPhone 4S are delivered as all squares instead of text.  Any idea how to fix this issue?

    Randomly, text messages I send with my new iPhone 4S are delivered to the recipients as all squares instead of regular characters.  I have heard other people complain about this too.  Any idea how to stop it or why it is happening?  Hardware issue?

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

  • Help! Files will send with zero bytes!

    I have been trying to send files (pdf mostly) through a dropbox server. Every time I try to, they send with zero bytes. Why is this? I have no idea on how to fix it!

    Hi,
    What do you have in the console log?
    Please, try with 1.1.
    Xavier

  • Mail Sending- with Unicode enabled text in the attachment

    hi,
    i have a specific requirement for JAPAN country. its as follows:
    i am retrieving delivery details into my program & i need to send them as in a mail attachment(as CSV file) to particular mail id.
    for sending mail, i am using the function module "SO_NEW_DOCUMENT_ATT_SEND_API1".
    here is my problem :
    as this program will be used by JAPAN people, some of the delivery details are stored in Japanese (text like Customer name,street address etc..)
    .so when i am trying to send it as attachment these japanese text is not appearing correctly in the mail attachment. its appearing as Junk characters.
    i observed here the problem is may be because these Texts are not sending with UNICODE format. may be the default format is ASCII, which can not
    interpret Japanese text properly.
    so pl let me know is there any new function module where we can mention the Encoding format like UNICODE ?? or can i use the
    same above mentioned function module with providing this UNICODE value somewhere....
    regards
    srikanth,Intelligroup.
    Message was edited by: Srikanth Kidambi

    Hi,
    Check the answer from xiaoming cai in this thread:
    Send mails with attachment to external email id
    Eddy

  • Mail from no sender with no topic and no message

    For the past month or so I have been getting messages from no sender, with no subject line and no content.
    Does anyone know what this is and how I can stop it?
    Thanks,
    Ivan

    Hi Ivan,
    It's some problem outside of your control most likely, I've seen a few myself as well as other reports of this. I get a few mails not even addressed to me.
    You can make a Rule that if From does not contain @, them move to trash.
    Still, if you think it may be an issue on your end, this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    One other possibility... did you show long Headers, is there any info there?

Maybe you are looking for

  • MRP area for running a sale order MRP

    Hello PP experts, I come across a scenario where , I need to do the  MRP run for sale order in a MRP area. I have checked , I can put PIR with respect to MRP AREA , but when I open MD50 screen for running MRP for sale order. I did not found the MRP A

  • "print quality diagnostic report"

    I have a HP Deskjet 3520 All-in-one printer and I just went to the "HP Deskjet 3520 series toolbox". Under the first tab (Device Services) is the button "Print Quality Diagnostics Page". I then clicked on that button and got the "Print Quality Diagno

  • How do I switch Itunes Libraries without losing my music?

    The majority of my music is on my old, slow computer and this is where I initially synced my Iphone 5s, but my primary computer (laptop) has some music and I would like to download music from this computer in the future. I can't get the music from my

  • Tremination while entering freight value

    {"We have created an outbound delivery for IG export by yesterday (Out bound delivery no : 80101383). We have got a termination error while generating the standard invoice. The same has been tested day before yesterday with out entering the freight v

  • My IMAC freezes just as I try to watch a video in FireFox

    My IMAC freezes just as I try to watch a video in FireFox. and every time I must force restart  to fix it... I would appreciate if somebody help me