Using peer-assisted networking popup programatically

Hi,
Our application is a multiplayer game that uses peer-to-peer networking for communication between players.
when the game launches, the user is promped with the "Peer-Assisted Networking" popup. But in order to have a user friendly experience, we would like to inform the user that he needs to accept this popup in order to play a network game.
Question:
- Is there a way to know that the current Flash application is allowed to user peer-to-peer networking (like if the user has previously refused or accepted peer-to-peer)
- Is there a way to programatically display the "Peer-Assisted Networking" popup, like in the case where the user has refuse p2p previously.
We are also using local storage and the same questions apply to the local storage popup...
Thanks
Guillaume

the peer assisted networking popup will come up when you first make a new NetGroup or group NetStream.  there is no way to know if the user has previously accepted the dialog, unless you record that information yourself in local storage.  there is no way to tell if the user selected "remember my choice", so even knowing that the user accepted before doesn't guarantee that the popup won't come up next time.
the user won't be prompted again for the P2P popup in the same run of that SWF, so if the user denies the request, you must reload to ask the user again.
personally as a user i never say "remember my choice" -- i always like being notified that P2P groups are being used.

Similar Messages

  • Peer Assisted Networking popup window allow button issue

    I can't press allow button from the first click, only after 2-4 clicks. It's a bug? It's like allow button is not active(no press animation is happening). If i wait around 2-5 seconds it's working from first click. Any fix available?

    hallo
    ubuntu have an bug in ubity see https://bugs.launchpad.net/ubuntu/+source/unity/+bug/874897
    gnome-shell or other desktops works fine!
    on android browser best is to set wmode=""  and on flash player >=11 wmode="direct"
    @KevinTUDeft on what side do you use cirrus?
    best regards

  • How do you remove the "Peer Assisted Networking" pop up message?

    I am a newbie to Adobe Flex. I am using the NetGroup / GroupSpecifier API. But the pop up message "<URL> may user peer assisted networking. Do you want to allow access to upload bandwidth?" keeps showing. How do I prevent this message from showing to the user? thanks.

    See this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    Try to reset some preferences to the default with the SearchReset extension:
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
    If you do not keep changes after a restart then see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Difference between Application-level multicast and peer-assisted network?

    The simplest application level multicast is done through
    someone.publish("xxx") to a netGroup -----> FMS rtmfp url -----> all players connected to the same netGroup and play from a netstream
    In peer-assisted networking,
    they ask for wantObjects and addHaveObjects. I wonder if in app. level multicast, these peers also ask for Objects?
    If so, how do they know the index of Objects?
    A live streaming from webcam doesn't have an ending index.
    Do they just keep asking for all objects starting from 0 ~ MAX_VALUE?

    "peer-assisted networking" refers to all P2P modes of RTMFP Groups (P2P multicast, object replication, directed routing, and posting).
    NetStream.publish()/play() on a group NetStream is the P2P multicast mode.  under the covers quite a lot of fancy advertising, fetching, pushing, and tuning is going on all automatically.  multicast is always for live, continuous content, and all members of the group share approximately the same sliding window of stream fragments at any instant of time.  the size of the window is controlled by NetStream.multicastWindowDuration.  each member tries to get all the fragments in the current window.  members share information about the fragments in the window with each other.  P2P multicast is designed and optimized for a small number of publishers in a group sending continuous-form live media to all members in a limited amount of time.
    the wantObjects/haveObjects NetGroup calls are for the "object replication" mode.  here the objects and index numbers are under direct ActionScript control, and the intent is that each member should eventually have every object, no matter how long that takes.  object replication is designed for mesh-wide reliable consensus on a set of objects with all semantics of content and origin left to the ActionScript developer.
    posting is kind of like a multicast of a single message.  it is designed and optimized for a large number of senders infrequently sending single messages to all members.
    directed routing can be used for, among other things, creating distributed hash tables (DHTs) and is a complex subject.
    Matthew Kaufman described all of these modes in his talk at MAX 2009; the presentation is available on Adobe TV:
       http://tv.adobe.com/watch/max-2009-develop/p2p-on-the-flash-platform-with-rtmfp/

  • Variable if swf has peer assisted networking?

    boolean var if swf has peer assisted networking? 
    Is there a boolean value that says if p2p is allowed in the swf?
    I don't want to try to connect and see if a get a "NetGroup.Connect.Rejected".
    Today, 11:36 PM
      #2
    springframework 
    Senior Member
    Join Date: Mar 2006 
    Posts: 450
    Is there anyway to determine if the user has "Remember" checked after they clicked allow on the "Peer Assisted Networking" security panel.
    Or is there a way to determine if the current domain is listed athttp://www.macromedia.com/support/do...manager09.html and what permissions it has.

    Michael, don't you think it's inconvenient for developers? If I create a service where RTMFPGroups are required, I can't force user to allow this without reloading the Flash movie. Why not to use the same model you have with mic/cam access?

  • Variable if swf has access to peer assisted networking?

    boolean var if swf has peer assisted networking? 
    Is there a boolean value that says if p2p is allowed in the swf?
    I don't want to try to connect and see if a get a "NetGroup.Connect.Rejected".
    Today, 11:36 PM
      #2
    springframework 
    Senior Member
    Join Date: Mar 2006 
    Posts: 450
    Is there anyway to determine if the user has "Remember" checked after they clicked allow on the "Peer Assisted Networking" security panel.
    Or is there a way to determine if the current domain is listed athttp://www.macromedia.com/support/do...manager09.html and what permissions it has.

    Michael, don't you think it's inconvenient for developers? If I create a service where RTMFPGroups are required, I can't force user to allow this without reloading the Flash movie. Why not to use the same model you have with mic/cam access?

  • About peer-assisted network NetStream.MulticastStream.Reset

    Hi,
    I am developing a video system using the  peer-assisted networking of FMS.
    but when I have published video successed, I can't receive the video at some endpoint.
    Here is the log that can receive the video,
    NetStream.MulticastStream.Reset
    =================
    NetStream.Play.Start
    =================
    NetStream.Play.Reset
    =================
    NetStream.Connect.Success
    =================
    NetGroup.MulticastStream.PublishNotify
    =================
    NetGroup.Neighbor.Connect
    =================
    Connected - Stratus ID:
    =================
    NetConnection.Connect.Success
    =================
    and follow is the log that can't receive the video,
    =================
    NetStream.Play.Start
    =================
    NetStream.Play.Reset
    =================
    NetStream.Connect.Success
    =================
    NetGroup.Neighbor.Connect
    ================
    NetGroup.Connect.Success
    =================
    NetConnection.Connect.Success
    the diffent is that i can see is that the [NetStream.MulticastStream.Reset and NetGroup.MulticastStream.PublishNotify] events.
    Any suggestions?

    Hi,
    When you are using Stratus/Cirrus for P2P, it takes care of creating the mesh between the clients automatically and now, all clients should be able to recieve the data/video. Can you please confirm if the second client is also properly connected to Stratus ?
    Thank you !

  • Disable peer-assisted networking

    Hi all,
    I am in the process of getting Flash 10.3 deployed to all machines within our organisation via SCCM.
    I need to disable the peer-assisted networking option [Block all sites] and was wondering if anyone knows the best way to do this.
    Can this be done via a registry change for example?
    I've also read that a .sol file holds setting for Flash which lives in the following directory: c:\documents and settings\USERNAME\application data\macromedia\flashplayer\macromedia.com\support\flashplayer\sys - which once i've configured Flash, i can then copy to other machines - does anyone have any experience with this?
    Any help is much appreciated.
    Many thanks,
    Jay.

    Correction: the reset happens after each install of an update, either Flash or Shockwave. Seems to be independent from restart.
    Default should be that everything is disabled, not enabled.
    Anybody???

  • Peer-Assisted Networking panel

    hi.on ubuntu13.04,firefox 26, the window "Peer-Assisted Networking panel" not showing the tv site visited "schoener fernsehen" and on firefox the window " adobe flash playing settings " is not accepting the "allow" from tab.any idea?thank you,roland.

    if this happens with 10.2 but not with 10.1 (no code changes in your SWF), then the culprit is probably a known bug related to the new Stage Video feature.  in particular, if you set wmode="direct" in the HTML wrapper for your SWF, the P2P dialog, camera/microphone dialog, and settings panel will not be displayed.  if the P2P permission panel can't be displayed, the behavior will be as if you clicked "Deny".
    to see if this is the problem, check to see if wmode is set to "direct".  if it is, try changing it to a different mode, like "opaque", "transparent", or "window".  if that makes a difference, then it's this bug.  this unfortunate bug will be fixed in a future release of Flash Player.
    if that doesn't make a difference, then perhaps something changed in your SWF?  if you access any method or property of NetGroup or NetStream (other than adding an event listener) before the user clicks "Accept" in the P2P dialog, an exception will be raised, and depending on the execution context, that could withdraw the dialog box and make it behave as though "Deny" was clicked.

  • Unexpected "Peer-assisted networking pop-up question"

    Hi,
    I disabled peer to peer communications in ly LCCS room,
    but i still get "Peer-assisted networking pop-up question" when i connect to it.
    Please could you tell me what can cause this, and how can i fix it?
    if you need the info, my room url is: https://collaboration.adobelivecycle.com/taloshealthsolutions/officialhwe6
    Thanks a lot,
    Regards,
    Seb

    Look for the following:
    -on NetConnection's NetStatusEvent.NET_STATUS listener:
    "NetConnection.Connect.Success" - only create the netgroup after this
    -on NetGroup's NetStatusEvent.NET_STATUS listener:
    "NetGroup.Connect.Failed" - something bad must have happened, never had this over an open NetConnection
    "NetGroup.Connect.Rejected" - "Deny" was clicked, now or earlier with "Remember" checked

  • Peer-Assisted Networking panel not showing

    Using flash player 10.2, the p2p settings window is not popping up asking me to allow networking anymore. When clearing all sites from the networking panel then refresh my site I can see it being added and set to "always ask" but no window ever pops up and the networking fails (can't connect to netgroup)
    anyone know how to show this popup?

    if this happens with 10.2 but not with 10.1 (no code changes in your SWF), then the culprit is probably a known bug related to the new Stage Video feature.  in particular, if you set wmode="direct" in the HTML wrapper for your SWF, the P2P dialog, camera/microphone dialog, and settings panel will not be displayed.  if the P2P permission panel can't be displayed, the behavior will be as if you clicked "Deny".
    to see if this is the problem, check to see if wmode is set to "direct".  if it is, try changing it to a different mode, like "opaque", "transparent", or "window".  if that makes a difference, then it's this bug.  this unfortunate bug will be fixed in a future release of Flash Player.
    if that doesn't make a difference, then perhaps something changed in your SWF?  if you access any method or property of NetGroup or NetStream (other than adding an event listener) before the user clicks "Accept" in the P2P dialog, an exception will be raised, and depending on the execution context, that could withdraw the dialog box and make it behave as though "Deny" was clicked.

  • Peer assisted networking question?

    I keep getting a window pop up asking for permission to store information on my computer sent from Adobe Flash but really from the owner of the game I guess that needs room?
    I hit Deny but now I'm denied playing the game of course.
    My concern is any party accessing my computer!
    Has anyone else run into this?
    Thanks..

    Look for the following:
    -on NetConnection's NetStatusEvent.NET_STATUS listener:
    "NetConnection.Connect.Success" - only create the netgroup after this
    -on NetGroup's NetStatusEvent.NET_STATUS listener:
    "NetGroup.Connect.Failed" - something bad must have happened, never had this over an open NetConnection
    "NetGroup.Connect.Rejected" - "Deny" was clicked, now or earlier with "Remember" checked

  • Prevent Peer-Assist Popup with mms.cfg?

    Hi,
    Is there something you can put into mms.cfg to prevent the "accept/deny" dialog box from popping up when using peer-assisted multicast.
    This is useful for load testing peer-assisted multicast as well as for large companies to pre-configure their systems to automatically allow peer-assist from certain domains.
    Sicnerely,
    -Greg Pulier

    I've asked around and there doesn't appear to be any property that would allow you to suppress this.  You could open a feature request (bugbase.adobe.com) but it might be easier to do this with another utility that would allow you to automate UI (for example, http://www.sikuli.org/).
    Adobe offers some multicast-only viewing options for some of the company meetings and things (usually as an alternative to the main connect feed).  If you're interested in an end-to-end solution that maximizes peer-to-peer adoption, please let me know.

  • I am having trouble transferring files from an old MacBook (2007) to a MacBook Air over a wireless network.  The connection was interrupted and the time was over 24 hours.  Is there a better way to do this?  I'm using Migration assistant.

    I am having trouble transferring files from an old MacBook (2007) to a MacBook Air over a wireless network.  The connection was interrupted and the time was over 24 hours.  Is there a better way to do this?  I'm using Migration assistant.  The lack of an ethernet port on MacBook air does not help.

    William ..
    Alternative data transfer methods suggested here > OS X: How to migrate data from another Mac using Mavericks

  • I'm trying to use migration assistant to transfer applications from my imac to macbook. Using either a firewire or network, as I'm waiting to select items to migrate, I receive an error message that "the application quit unexpectedly". My imac is newer.

    I'm trying to use migration assistant to transfer applications from my newer imac to an older macbook (10.5.8).  I keep getting an error message "application quit unexpectedly" as I'm waiting to select the items to migrate.  I've tried using a firewire cable as well as just a network connection.
    Thank you.

    Here is some information:
    http://support.apple.com/kb/HT4889
    It mentions that migration is not supported with 10.4; now you said you have 10.5 - it may be the same problem. Besides, migration assistant will recognize an older system and move apps etc. over to a newer system - I'm not sure it will do the same thing in reverse.
    And, there are a couple more problems: one is that your newer versions may not be backwards compatible with the old 10.5 and the second is that is you are trying to copy apps so you can use them on both, it most likely violates the SLA (unless you purchased them on MAS).
    So, if none of those two apply, I'd simply try target disk mode (without the assistant) and drag over the apps.

Maybe you are looking for