Bug? RTMFP publishing stream order within NetConnection causes DIRECT_CONNECTIONS to unpublish

The following is from my post at: http://forums.adobe.com/thread/998333
Using RTMFP, I make a connection to the server with NetConnection.
I publish NetStream A directly to the server (like you would for RTMP).
I publish NetStream A_direct so that RTMFP P2P can play it after publishing with DIRECT_CONNECTIONS.
These NetStreams share the same NET_STATUS handler function.
I tried this with debug Flash player for 10.3, 11.0, and 11.2.
One thing I tried was flipping the order of publishing A and A_direct. If I publish A_direct first instead, publishing A unpublishes it and event.target is set to the proper stream when A connects.
Is that expected behavior? I didn't see anything in the docs about that.

bump.
Any one?
thanks
Matt

Similar Messages

  • Question about when subscribing to a directly published stream

    Hi,
    In the article there : http://www.adobe.com/devnet/flashmediaserver/articles/real-time-collaboration.html#article contentAdobe_numberedheader_1
    We can see this under 'User lookup'
    RTMFP assigns a peer ID to each participant. These peer IDs are 256 bits long and are non-forgeable. When you want to subscribe to a directly published stream, you must specify the publisher's peer ID:
    var receiveStream:NetStream = new NetStream(netConnection, id_of_publishing_client);
    receiveStream.play("media");
    In another thread, Michael said :
    i believe the problem is that you are attempting to make a P2P connection to the server's peer ID; that is, something like" 
       var ns:NetStream = new NetStream(netConnection, netConnection.farID);
       ns.play(...);
    under the covers, this will open a new RTMFP flow to the server that will appear to the server as a new incoming client, but the initial handshake will be incorrect (the first/only command message is "play" instead of "connect").  i see this on Cirrus all the time.
    Is it an error in the article or is it right considering the scenario?
    Thanks

    you specify the peer ID of the publisher for 1:1 P2P communication.  in particular, you specify the peer ID of a peer that is publishing a stream on a P2P publishing NetStream -- one created with ns = new NetStream(netConnection, NetStream.DIRECT_CONNECTIONS).
    Flash Media Server does not publish streams in this fashion.  it publishes streams in the traditional client-server fashion.  to subscribe to a stream from the server, you just use ns = new NetStream(netConnection) and do not specify a peer ID or other special token (well, there is a special token, but it's the default -- the previous call is equivalent to ns = new NetStream(netConnection, NetStream.CONNECT_TO_FMS)).
    as i explained earlier, if you try to subscribe to an FMS stream using the DIRECT_CONNECTIONS P2P method, it will not work because the handshake is different.  the server end of your NetConnection is not a peer and it will not behave like a peer.  a server-side NetConnection is a peer and will have its own distinct peer ID; however, i don't believe any of the 1:1 P2P functions will work with it, only group stuff (multicast NetStreams and NetGroups).

  • Playing published streams through an administrator connection? (:1111)

    Hi all,
    I am building a custom administration application which has to review streams published to our FMS application. This is to ban clients publishing inappropriate content. I am wondering if I have to make a connection to the application, as normal users do, in order to play the published streams? I am getting the list of streams using another connection, to rtmp://domain:1111/admin, like outlined in Administration API, and issuing the 'getLiveStreams' call.
    The reason I am asking is because firstly, I remember that the Administration Console can play streams published to the server, but I don't recall it incrementing the connection count which shows amount of user clients connected to an application. Maybe I have missed however, but if I am right and it indeed can play streams without connecting to the application (which actually DOES sound a bit unlikely, given how the stream names are local to an app.), then maybe I can do it too? Secondly, I presently have to differentiate users and administrators in my 'onConnect' script, because are perform completely different roles. If I could relieve my admin. app from connecting to the application, I could also dump the role switching.
    I am not sure what is the best thing to do here, frankly...

    I am not sure how your linked post should help me. I have no problem connecting as an administrator to our own service.
    My question is can I play streams through this administrator connection on port 1111, or like now, I have to keep a separate connection to the application in order to play application's streams?
    I do NOT want to connect to the application, because I then am forced to become one of its "users", even though I am not - I am an admin. Even though I have implemented roles with my application server side script, whereas users connect with a bunch of parameters, I can connect with another role - as an admin, without parameters (because they do not apply to me since I only use the service for playing streams). Another reason is actually pretty annoying - even though I explicitly specify video sample access permission for both myself and any user that connects (in order to be able to take snapshots of the videos) using the "videoSampleAccess = '/'" expression, occasionally I STILL get security errors. I imagine if I somehow can bypass the security altogether. After all it is our server, and our users know that we need to monitor for unsuitable content. FMS makes it pretty hard to do so with the error listed above. The error is sporadic.
    So I will ask again - can I play any stream I want of any application on my server, without connecting to the application instance as a regular user bound to security rules? I need some form of video administration, and I am NOT using Administration console, but a custom admin. application which does more than Admin console does, in particular kick out bad people.

  • How to send data back to publishing stream

    Hi,
    Environment: ActionScript3.0, FMS, Flash Project created in Flash Develop
    How to send data back to publishing stream? I need to send data back to publishing stream.
    Using NetStream.send() we can send data to subscribers but is it possible to send data from subscriber back to publisher using any NetStream method.
    One other solution to this is remoteSharedObject, but if it is possible with NetStream class then let me know.
    Thanks

    There are a number of ways to extract data from CRM On Demand including:
    * Export - manual process, generate CSV file containing CRM On Demand data
    * List/Analytics - manual process, export the contents of a report of list to a CSV
    * Web Services - programmatic, develop an application that queries for data within CRMOD
    * Integration Events - programmatic, use workflow to trigger event creation and then poll for events to know when an operation occurs on a record (i.e. Insert of new Account record)
    As for getting that data into another system, that will depend on the system and the methods available for inserting data that it makes available.
    Hope this helps.
    Thanks,
    Sean

  • Scheduling orders within 180 days

    Hi, I'm setting up a working environment using CDP and block schedule.
    I have the master data set, orders are created correctly but I'm not being able to schedule orders within a period shorter than 180 days. I have tried this in block scheduled and not block scheduled resources and same thing happened in both.
    Even if I try to schedule a single order in the whole resource the same thing happens. Resource don't have shuts or things like that defined.
    I though the 180 days referred to the planning parameters set up in the resource but if I change this nothing happens.
    Any help is welcomed.
    Many thanks,
    Diego

    Hi Diego,
    Check the factory calendar assigned the time streams maintained for resources and re-generate the time stream in the resource. Also check if there is inbound resource (IBR) assigned in the location master. if IBR assigned, check and re-generate the time stream assigned to it.
    It should work.
    Regards
    Venkat DR

  • How can I manipulate Albums to alpha order within Keynote?

    Trying to manipulate Iphoto Albums to alpha order within Keynote.  It works within iphoto but when I bring up photos to add into keynote, the order shuffles.  I have some 1800 pics to draw from on my presentations.  I need to be able to find what im looking for quickly.  Any thoughts?

    Load your backup? What caused this?
    LN

  • [svn:cairngorm3:] 17872: Popup: Exposed set accessor of open for view state usage and fixed bug when closing from model within popup .

    Revision: 17872
    Revision: 17872
    Author:   [email protected]
    Date:     2010-09-27 08:04:40 -0700 (Mon, 27 Sep 2010)
    Log Message:
    Popup: Exposed set accessor of open for view state usage and fixed bug when closing from model within popup. http://www.spicefactory.org/forum/viewtopic.php?p=3932. Added new sample to show model and view state interactions.
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpFactory.as
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpWrapper.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopup.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/PopUpPM.as
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/src/PopUpModelExample.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopupWithModel.mxml

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • How to - correct episode order within the Remote App

    Recently I found that when i was using the Remote App to control my iTunes Library, all my TV Show episodes where in alphabetical order instead of episode number order.
    after searching on how to solve this and speaking with Apple Support (who couldn't figure out why this was happening) i couldn't find the answer and noticed that many people were having this same issue and were in the same boat as me.
    i managed to solve the issue and wanted to share. sorry if i have posted this in the wrong area, first time giving advise on here.
    ill run through this using The Walking Dead - Season 1 as an example, but this can obviously be done with any TV Show.
    Even with the correct episode numbers, iTunes displays the episode in the correct order -
    but in alphabetical order within your library on the remote app -
    in iTunes - highlight all episodes and get info
         2. under the Options Tab, change the Media Kind to Music Video and click OK at the bottom
         3. Then head over to where you Music Videos are stored
         4. select each of the episodes, get info
         5. under the Details Tab, you will now have more options to select
         6. scroll to the bottom of the Details Tab, and within the Album Artist section, type in "The Walking Dead"
         7. in the Disc Number section, you want to add which season of how many seasons there are. example - I have 4 seasons of The Walking Dead within my library, and as this is season 1, i will enter 1 of 4
         8. next, in the Track section, you want to add which episode of how may episodes in that season. example - this is episode 1 of 6 in the season
         9. next go into the Options Tab, and change the Media Kind back to TV Show
         10. click OK at the bottom
         11. once you have done this for each episode, head back into your TV Shows
         12. when you now get info for each of the episodes, the Album Artist, Disc Number and Track sections should be at the bottom of the Details Tab (if they were not there before)
         13. if this has been done correctly - all episodes should be correctly listed within the remote app by episode order
    Hopefully this has helped somebody out there!

    Gotcha - came up with a workaround... since the photos were living in the Photo Library packaged itself, and not simply in another regular folder, I right clicked on the library and said show packaged content, then search for what folders the files lived in, then copied the files out of the packaged library into a folder. Then I was able to give the Photos Library access to the new folder with the files.
    With all my files now references, I enabled iCloud Photo Library and am uploading now.
    Hopefully my new local Photo Library will be smart enough to optimize local images and shrink to give me more space.
    Thanks.

  • Issue services with different Internal Orders within a Plant from one PO?

    Hiii... Please advice me of issuing services through one purchase order (one vendor comes and do the service to different machines of different internal orders in a plant) to different  internal orders within a plant.
    Thanks
    Manoj

    what is the problem?  you can have Multiple Line Items in a PO  (one for each internal Order).
    And within one Line item you can add multiple service lines.

  • Changing page order within a file

    Just suscribed to PDF Pack, can I change page order within a file?  TIA

    Hi realestateguy,
    If you're using the Combine Files functionality in PDF Pack to combine multiple files into a single PDF, you can determine which order the files appear in the PDF. (Just select the files to combine, and then drag them into the order you want them to appear in the PDF.) However, if you're creating a single PDF, you need Acrobat to reorder the pages.
    I hope this helps.
    Best,
    Sara

  • Change the order within the navigation panel

    Hi everybody,
    within my navigation panel i have two iview, the detail navigation and an own iView (Web Dynpro within the dynamic navigation of a page). Until now the detail navigation appears at the first position in the navigation panel. How can i change the order within the navigation panel so that my own iView will be shown at the first position?
    regards,
    Sid

    Hi Raji,
    iviews can be ordered alphabetical. You can set this function in Systemadministration -> Service-Konfiguration -> Applications -> com.sap.portal.ivs.iviewservice -> iViewsSrv. Then you can set this value to ture (sorting true).
    You can also change the sort-priority value in the property of each iview to 0..n.
    I hope this will help you.
    regards,
    Sid

  • How to prevent user publish stream to FMS

    Hi all,
    I've installed Flash Media Server and send stream to it use Flash Media Live Encoder via rtmp://mydomain.com/live. And on my website, I've embed code to play this live stream via rtmp://mydomain.com/live. All ok!
    But, any user can install Flash Media Live Encoder and connect to my FMS, publish his/her stream (because url to publish and view is same)
    My question is: how to prevent end-user publish stream to my FMS, only allow end-user view my live stream?

    From the Flash Media Live Encoder FAQ:
    How can I enable authentication on Flash Media Server?
    Download the Authentication add-in and install it on Flash Media Server.

  • Change Published Replenishment Order

    Hi,
    I'm implementing SMI scenario with SAP SNC 5.1. I was traying to change a Published Replenishment Order, to do this i have:
    Created and published a Replenishment Order in SNC Web UI -> The Purchase Order is correctly created in customer Backend system (ECC).
    Allowed supplier to change published ROs
    Changed and re-published the Replenishment Order in SNC Web UI -> The idoc incoming in Customer Backend system, to change the PO, is in error:
    The material number for item 000001 could not be identified
    For the PO changes, SNC send to PI the VendorGeneratedOrderNotification.XML, PI converts it in to the ORDRCHG.ORDERS05.
    In customer backend system (ECC) I've set the Inbound parameters as follow:
    Message type: ORDCHG
    Message Code: SMI
    Process Code: ORDC
    I've tried also with Message Code "EF" or blank but these cases the error will be:
    EDI: Partner profile inbound not available
    Am I doing wrong something? Where I did a mistake?
    Thank you in advance for your support.
    Edited by: PTP Team Consultants on Jan 24, 2012 11:42 AM

    Hi PTP
    First of all Process Code: ORDC is to change sales order
    Secondly, Why the business allows supplier to change published RO?
    If there is a change that is always performed by supplier, then please do not publish VGON xml to customer system. Wait for confirmation of Sales order from Supplier and then trigger VGON xml to customer system, that would be the best practise to follow
    I do not know how this works, have you tried not maintaining any ORDCHG MESSAGE TYPE
    Like you were saying
    Created and published a Replenishment Order in SNC Web UI -> The Purchase Order is correctly created in customer Backend system (ECC).
    This is taken care by inbound parameter
    Message type: ORDRSP
    Message Code: SMI
    Process Code: ORDS
    Is it not taking care for the changed xml?
    Regards
    Vinod

  • Order within in Groups - Urgent please

    Hi,
    Please let me know how can I achieve the following output.
    I have following four tables,
    COUNTRY_MASTER table contains SL_NO, COUNTRY_CODE, COUNTRY_NAME, .... columns.
    STATE_MASTER table contains SL_NO, STATE_CODE, STATE_NAME, ... columns.
    COUNTY_MASTER table contains SL_NO, COUNTY_CODE, COUNTY_NAME, ... columns.
    CITY_MASTER table contains SL_NO, CITY_CODE, CITY_NAME, ... columns.
    I have another mapping table,
    MAPPING_TABLE table contains SL_NO, COUNTRY_SL_NO, STATE_SL_NO, COUNTY_SL_NO, CITY_SL_NO, ... columns.
    I want output like this -
    first column is LEVEL which contains 1 for Country, 2 for State, 3 for Country and 4 for City.
    second column contains all countries, states, counties and cities (all should be in one column) ORDERED within groups for the second column.
    There some other columns from other tables.
    1 USA
    2 MI
    3 MONROE
    4 MONROE
    3 WAYNE
    4 INKSTER
    4 WAYNE
    2 VA
    3 HENRICO
    4 RICHMOND
    1 WEST INDIES
    2 ...
    I am working on Oracle 9i Release 2. Please help.
    Thanks.

    A cursor would be one way to handle this...loop through the rows or you could use decode like so:
    select level, decode(level, 1, nvl(cr.country_name, 'NULL'),
                                2, nvl(st.state_name, 'NULL'),
                                3, nvl(ct.county_name, 'NULL'),
                                   nvl(ci.city_name, 'NULL'))
      from country_master cr, state_master st, county_master ct, city_master ci
           ((select 1 level, t_country_sl_no, 0 t_state_sl_no, 0 t_county_sl_no, 0 t_city_sl_no
              from mapping_table
             group by country_sl_no)
            union all
            (select 2 level, t_country_sl_no, t_state_sl_no, 0 t_county_sl_no, 0 t_city_sl_no
              from mapping_table
             group by country_sl_no, state_sl_no)
            union all
            (select 3 level, t_country_sl_no, t_state_sl_no, t_county_sl_no, 0 t_city_sl_no
              from mapping_table
             group by country_sl_no, state_sl_no, county_sl_no)
            union all
            (select 4 level, t_country_sl_no, t_state_sl_no, t_county_sl_no, t_city_sl_no
              from mapping_table))
    where t_country_sl_no = cr.country_sl_no
       and t_state_sl_no = st.state_sl_no (+)
       and t_county_sl_no = ct.county_sl_no (+)
       and t_city_sl_no = ci.city_sl_no (+)
    order by cr.country_name, st.state_name, ct.county_name, ci.city_name;

  • Stoping a client live published stream, server side

    Hello buddies,
    I have a very very important and urgent question.
    Suppose in some client a stream is being published live with
    the name 'A'. now, if some other client should and tries to publish
    with the same name ('A'), it will encounter a 'NetStream.BadName'
    status error code, to avoid that I think there should be some way
    to stop the stream('A') server side, and then let the 2nd client
    starts publishing with name 'A'. if so, how can I stop 'A' stream
    on server?
    Thank you so much for any help

    Let your server call a function (on the first client that
    publishes the stream A) that stops the publishing and shows show
    local message to that client e.g. "another client has started to
    publish a stream with the same name".
    It's unclear why you want such a system because you don't fix
    the problem ; you fix the symptoms. If you let clients publish a
    stream related to their loginname for example you will always have
    unique streams on your server.
    If you let them connect to an unique instance of your
    application you don't even have the problem of non-unique
    stream-names because inside every instance you can publish stream A
    again.
    Viewing clients would connect to each instance if they want
    to see that particular stream, like
    rtmp://yourserver.com/appnameXYZ/instancenameABC/A
    where A is the name of your published stream in instance
    "instancenameABC" , which is a child of application called
    "appnameXYZ".

Maybe you are looking for

  • Link icons missing after updating to 18.1.0 Illustrator

    Hi, After updating to 18.1.0 of Illustrator CC, I the link icons to assets in a file are now longer visible in the links palette, whether embedded or linked.  Is this a bug or something I can fix? Thanks!

  • SPAM from our email server

    I received an email from [email protected] Subject: Email Feedback Report for IP (our email server's IP address) This is an email abuse report for an email message with the message-id of F07FB3A7-2B7C-4DD7-BD3B-D976E24D398D@(ourdomain).com received f

  • Getting music from your iPod onto your hard drive?

    Hey, I am trying to transfer some music files from my iPod on to my hard drive. I have tried dragging them on to the hard drive and I went through all the options and configurations and yet I can't seem to figure it out. Can someone please help me ou

  • Hide a row or field in adobe form

    Hi guys, Can any one suggest me how to hide a field in adobe form. My scenario is: Using control levels for deliveries with item data, if the item line is only one, then I should not display any subtotal field, if item lines are more than one, only t

  • OraOLEDB.Oracle.1 and CDynamicAccessor

    By using OraOLEDB.Oracle.1 with a CDynamicAccessor, under VC++, and with MDAC v2.8, we are getting the following crash on the MoveFirst method: Unhandled exception in xxx (ORAOLEDB.DLL): 0x000001D: Illegal instruction. The same code runs well with th