Share NetConnection / provide parameters to NetConnection

Hi,
in a recent Flex project I need to build the following:
- a video player (for live video)
- a userlist
- a chatpod
for the video player I want to use OSMF/SMP of course. The application connects against FMS with some custom authentication logic implemented in SSAS on the FMS. This works like this:
- user request HTML page that embeds Flex app / SWF
- server serves HTML page and adds token and IDs to the HTML page (FlashVars for the SWF)
- the Flex app reads those params in 
Next, I need to create a custom NetConnection and pass over the token and the IDs. These get checked on the FMS server by issueing a remoting call to a backend system. If the check is positive, FMS calls application.acceptConnection(client), otherwise the client is rejected. This works fine with a vanilla NetConnection.
Now, as I also have some FMS logic in place which refuses new clients to connect based on a configuration parameter (e.g. max number of concurrent clients) I really need to reuse the same NetConnection for all 3 UI elements: the video player, the user list and the chat pod. So I think I have two options here:
1) setup the NetConnection by hand and make OSMF/SMP use it (by injection or whatever - but I have no clue what would be the correct hook for it)
2) adjust the corresponding code / monkey patch OSMF/SMP which sets up the NetConnection (again - where should I do that)
I would really like to take adantage of the built-in connection manager in OSMF which by itself figures out how to connect and tries all the different protocols and ports. What I did so far is that I tried just pass the parameters by using a StreamingURLResource (as discussed here: http://forums.adobe.com/message/2652556). This allows for passing parameters to FMS but I found that these parameters are not reapplied when the Player looses its connection and tries to reconnect... so these parameters are not "persistent"
Btw, current config is Flex SDK 4.1 and OSMF 1.5 targeting FP 10.1
Thanks,
Dirk

We currently don't have a good solution for this (you'd have to provide your own NetNegotiatior subclass with a lot of duplicate code), but there's a bug filed here:
https://bugs.adobe.com/jira/browse/FM-157
And a related forum post here:
http://forums.adobe.com/message/2325732#2325732

Similar Messages

  • Hold variable values while changing data provider parameters in a template

    Dear experts,
    I have a problem in WAD. I have about 7 reports with 2 Queries each. Because of lower maintenance expenditure i would like to use only one web template. I created a dropdown item with a fixed option list. Every option represents one report and has two Set-Data-Provider Paramters commands which change the queries. It works fine but it can't hold the variables values. Example: every query contains the same variable (with suggestion value). If i insert a value into variable screen at the beginning and then use the dropdown-item to select another report, the next report is always calculated with the suggestion value of the variable (not with the typed in value at variable screen). How could i hand over this value to the next report/queries?
    If there is any solution whitout ABAP-programming i would prefer it.
    Kind regards
    Doris

    Dear experts,
    I have a problem in WAD. I have about 7 reports with 2 Queries each. Because of lower maintenance expenditure i would like to use only one web template. I created a dropdown item with a fixed option list. Every option represents one report and has two Set-Data-Provider Paramters commands which change the queries. It works fine but it can't hold the variables values. Example: every query contains the same variable (with suggestion value). If i insert a value into variable screen at the beginning and then use the dropdown-item to select another report, the next report is always calculated with the suggestion value of the variable (not with the typed in value at variable screen). How could i hand over this value to the next report/queries?
    If there is any solution whitout ABAP-programming i would prefer it.
    Kind regards
    Doris

  • I HAVE A C COMMAND LINE TOOL - HOW CAN I PROVIDE PARAMETERS TO MAIN?

    HI,
    Starting debugging I need to supply parameters to be received by the main() function. How or where do I do this?
    Thanks,
    Juan

    In the "Arguments" panel of the Inspector window for the executable.

  • Does video chat on the new Messager on Mac allow screen share or multiple people?

    does video chat on the new Messager on Mac allow screen share or multiple people?
    i noticed they said that facetime will basically be taking over video calls on the mac and that Messager will take over ichat, but i'm worried they're going to drop all the nice features they had on ichat, like being able to share screens while video chatting with someone. or being able to chat with 2 people at once on a video call.
    has anyone downloaded the beta of this yet and tried it out? i'm very curious

    Hi,
    You can start a Video chat with one Buddy and then chose Screen Share and providing you and the Buddy are using UPnP to open ports it will instantly convert to a Screen Share.
    A Screen Share is only 1-1 and is technically an Audio Chat +
    The Plus bit is an VNC connection alongside the Audio Chat.
    This VNC connection uses a random port - hence the need to use UPnP to open the ports in the router (Or Port Mapping Protocol) in  Apple Base Station.
    There used to be Add-ons that allowed the Desktop as Video Feed which would have been a sort of Screen Share but none of these have been updated for Lion.
    An Example is iUSBCam  (ShowMacster was another - My link no longer works)
    CamCamX maybe a possibility if it works in Lion  (It does say it neess iUSBCam for iChat)
    10:56 PM      Thursday; February 16, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Passing parameters to oracle query

    Hi Everyone,
    I'm a newbie to oracle and need help passing parameters to an oracle query. For example, I need to show all the employees in a certain department.So a list of "DEPT_CODE"'s will be displayed on a webpage and then the selected value will be passed to the query. I currently have this query in MS Access and use the bracket for user input ("[Dept]"). But how can this be done in oracle?
    I am using ASP.NET 2.0 and Crystal Reports XI. Basically I have a webform where users can select the date range and department from a listbox. When the submit button is clicked, the values are passed to the query in crystal reports. For example, I have a query with "DEPT" as a parameter. So I pass the value of the selected listbox item from the webform to the crystal report. But now I have to select data from an oracle database and provide parameters. This is where I need help.
    Thanks in advance
    -Sam

    Duplicate post.
    Refer to this thread
    Passing parameters to oracle query

  • Sample for use of parameters in Forms

    Problem: database has data for several years. i want to select a year to calculate data. the year must be a parameter, the calculation is a program unit. can anayone send me an example how to pass the paramnter (year).
    i'll be glad too with a description "how to solve".

    Hi John & Luis,
    The standard solution is the <i>Application Integrator</i> :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/the application integrator in ep 6.0
    A flexible way of providing parameters to it (if the standard options described in the above document are not enough) is to write a <i>Customer Parameter Provider</i> :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how to start transaction iviews with a dynamically computed language.pdf
    Hope that helps,
    Yoav.

  • Use of Parameters in URL iViews

    I'm looking for information/documentation/examples of using parameters in URL iViews.  In particular, I'm hoping that we can pick up some portal runtime info to include as parameters in the URL  for a URL iView.
    For example, here at my customer, Kodak, we plan to have country specific roles.  The US Role will have a US specific Welcome Page which has a URL iView that points to a Content Management document for the US Welcome Page.  The problem is that I could have one US user who's preferred language (and Portal Language Preference) is English and another who's preference is Spanish.  Thus, I would need to point to the correct language version for the user.  To do this, I would like to be able to pick up the language preference in the current Portal session and include it in the URL.
    Is this possible?  Is it standard stuff? What types of user or session context information or parameters can we pick up to use in the target URL of a URL iView and how would I use or code it in the iView.
    Thanks for you help.

    Hi John & Luis,
    The standard solution is the <i>Application Integrator</i> :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/the application integrator in ep 6.0
    A flexible way of providing parameters to it (if the standard options described in the above document are not enough) is to write a <i>Customer Parameter Provider</i> :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how to start transaction iviews with a dynamically computed language.pdf
    Hope that helps,
    Yoav.

  • Parameters of NFS in Solaris 10 and Oracle Linux 6 with ZFS Storage 7420 in cluster without database

    Hello,
    I have ZFS 7420 in cluster and OS Solaris 10 and Oracle Linux 6 without DB and I need mount share NFS in this OS and I do not know which parameters are the best for this.
    Wich are the best parameters to mount share NFS in Solaris 10 or Oracle Linux 6?
    Thanks
    Best regards.

    Hi Pascal,
    My question is because when We mount share NFS in some servers for example Exadata Database Machine or Super Cluster  for best performance we need mount this shares with specific parameters, for example.
    Exadata
    192.168.36.200:/export/dbname/backup1 /zfssa/dbname/backup1 nfs rw,bg,hard,nointr,rsize=131072,wsize=1048576,tcp,nfsvers=3,timeo=600 0 0
    Super Cluster
    sscsn1-stor:/export/ssc-shares/share1      -       /export/share1     nfs     -       yes     rw,bg,hard,nointr,rsize=131072,wsize=131072,proto=tcp,vers=3
    Now,
    My network is 10GBE
    What happen with normal servers only with OS (Solaris and Linux)?
    Which parameters I need use for best performance?
    or are not necessary specific parameters.
    Thanks.
    Best regards.

  • Failure of ACL setting for CIFS share resource on Windows client logined with administrator account

    Hi,
      We accounter a puzzle of ACL setting for a CIFS share resource. In our application, we use the
    administrator account to login a Windows 7 OS which is used as the CIFS client. We can access the share resource by "\\server_ip" on  this CIFS client,  but we can't add
    a new ACE to the ACL of a CIFS share resource provided by a CIFS server.
    Why dose this hanppen? Note that the CIFS server maybe a Windows OS or a self-developed CIFS server. 
      The operation details as followed:
    1.Access the share resource by "\\server_ip", login the CIFS server by a valid account on the CIFS server.
    2.On the Windows client, select the "Security" panel in the mouse-right-button properties dialog of a cifs share resource.
    3.To add a new ACE for someone eg. user0, we input "user0" in the "Select Users ans Groups" dialog popped up.
    4.Click OK, but the Windows client will not get the user information for user0 from the CIFS server.
    WHY?
    5.By wireshare network trace, we find the Windows client didn't send any SAMR requests to the CIFS server.
    6.Restart the Windows client OS and login again with another account except administrator, carry out the above operations. We find that the Windows client can get the user information, opposite with the step 4 above.
    WHY?
    7.By wireshare network trace, we find that the Windows client has sent SAMR requests to the CIFS server to get user informations. But that is different from step 5,  WHY?
    If the Windows client OS is login with administrator account, is there any configuration on Windows client to decide whether request user information on CIFS server when setting ACL for CIFS share resource?
    Expect your help.Thanks.
    Best wishes.

    The purpose of this forum is to support the Open Specifications documentation. You can read about the Microsoft Open Specifications program here,
    http://www.microsoft.com/openspecifications/en/us/default.aspx
    The library of Open Specification documents is located here,
    http://msdn.microsoft.com/en-us/library/dd208104.aspx
    It doesn’t appear that you are implementing one of the protocols cited.  Your question may be more applicable to Technet's Windows Server Platform Networking forum at
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverPN or the File Services and Storage forum at
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverfiles.
    If you are working on implementing a protocol using the specifications cidet above, please provide more detail.
    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team

  • How to Share File to specific receiver email address

    I'm develop a windows store app using winRT C++. I can share a file through email but it cannot specific a receiver
    email address. Bellow is a part of my code to sharing a file:-
    DataRequest^ request = e->Request;
    request->Data->Properties->Title = "Testing";
    request->Data->Properties->Description = "Email With Attachment";
    DataRequestDeferral^ deferral = request->GetDeferral();
    create_task(Windows::ApplicationModel::Package::Current->InstalledLocation->GetFileAsync("testing.pdf")).then([this, request, deferral](task<StorageFile^> getFileTask)
    try
    auto pdfFile = getFileTask.get();
    auto storageItems = ref new Platform::Collections::Vector<IStorageItem^>();
    storageItems->Append(pdfFile);
    request->Data->SetStorageItems(storageItems);
    deferral->Complete();
    catch (Exception^ ex)
    // Calling FailWithDisplayText() also calls Complete on the deferral.
    request->FailWithDisplayText(ex->Message);
    How can I send the attachment file to a specific email receiver without fill in the email address manually.

    Hi Tonberry,
    Based on my knowledge, you are using the correct way to share files in windows store app. The share app provides some frequent Contacts as the following image. But there is no options to set the recipients programmatically. If you want this feature, I would
    recommend you feature a request on
    UserVoice.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • S60 Share Online Developer Documentation

    Hello guys!
    I own a Nokia 5530 and Id like to add a new "Share Online" provider but I cant find the documentation.
    Could someone help me please.
    Thanks

    There is the forum FAQ here:
    Common questions
    But it seems out of date, especially where it says, "Go to a product forum and look for the Actions panel on the right-hand side of the page. Click on "Create by email" or "Receive email notifications". If you don't see an Actions panel, go into a sub-forum of that product."

  • Share internet via Airport Extreme Base Station

    I know its not ideal, but is it possible (and how hard is it) to configure a mac mini with a internet connection via USB stick, to share its internet connection out the ethernet port to a AEBS?
    We would like to share internet provided by the USB wireless device, I am assuming it cannot be pluged straight in the AEBS.

    You would configure the AEBS to get an IP address via DHCP from the Mac mini.
    Be aware that not all Internet services will be available. Although OS X does provide Internet sharing it is not configurable and doesn't act like a full featured router.
    You will need to enable Web sharing on the Mac mini and will probably need to ensure that the firewall is disabled on the Mac mini.

  • Reg Input parmeters and Output parameters.

    Hi frnds,
                I would like to know about Input parameters and Ouput parametets.How they can be used in Smartforms. could please provide me some expamles if any.
    Regards many,

    Defining a Form Interface
    Use
    You define a form interface to send data from your application to a form.
    Integration
    The form interface is a part of the Interface form object and is defined in the Form Builder. The form interface of a form is structured in the same way as the interface of a function module in the system. However, form interfaces do not support Changing parameters.
    Prerequisites
    &#9679;     You have created an Interface form object.
    &#9679;     The application program provides the data that you want to insert in the form. Therefore, you already know the types of the corresponding variables.
    The semantics of the valid parameter types match the semantics of a function module,
    See also:
    Getting Information about Interface Parameters
    Overview of Function Modules (in ABAP Workbench: Tools)
    Creating Function Modules (in ABAP Programming (BC-ABA))
    Procedure
           1.      Open the required interface in the Repository Browser of the ABAP Workbench.
           2.      The Interface tab is displayed. Under Form Interface, double-click the Import node.
           3.      You see a screen for entering import parameters. This screen also shows the standard parameter /1BCDWB/DOCPARAMS. You cannot change this parameter.
    You use this parameter in your application program, to specify the value for the language setting, for example. To display this structure in the ABAP Dictionary, double-click the SFPDOCPARAMS type.
           4.      XML schema-based interface
    &#9675;     The standard parameter /1BCDWB/DOCXML with the type XSTRING is used for sending data from the application program.
    ABAP-based or Smart-Forms-compatible interface
    &#9675;     To insert a new line, choose Insert Line (). Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. All data types are valid. TYPE can be selected under Type Assignment.
           5.      When you double-click Export, you see the standard parameter /1BCDWB/FORMOUTPUT of the generated function module. You cannot change this parameter.
    You use this parameter in your application program, to make the generated form available as a PDF for further processing, for example.
           6.      To display the exceptions used by the generated function module, double-click Exceptions.
           7.      Activate the interface.
    At runtime, the application program must provide the parameters. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
    However, it is also possible that the application program provides parameters that the form does not need. You do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.
    Migrated Smart Forms Interface or New Smart Forms-Compatible Interface
    When you edit the interface of a migrated Smart Form or a new interface that is compatible with Smart Forms, the Tables option gives you extra parameters. When you set the Import, Export, and Exceptions parameters, the system also lets you use the standard parameters from the Smart Forms.
    If you have a Smart Forms-compatible interface, you can use the existing application program of this Smart Form without making any modifications. (See also Switching Runtime in Migrating Smart Forms.)
    Result
    You have defined the form interface and you can use the specified parameter names in the form context.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/da/8fcc44d98b4e8bac6f102aa1fc69cc/content.htm

  • Windows Safari commandline parameters for fullscreen

    Hello,
    I am trying to call windows Safari 5.1.7 from command line. Please help me to run Safari 5.1.7 in fullscreen mode using command line.
    Also share me some parameters of same.

    I get the same thing with an applet that is not signed.
    In addition, when I have Javascript change the applet size with
    document.getElementById('testapplet').style.width = 1;
    or
    document.getElementById('testapplet').height = 1;
    or
    document.getElementById('testapplet').visibility = 'hidden';
    The applet itself outputs:
    java.net.MalformedURLException: no protocol:
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.liveconnect.SecureInvocation.checkLiveConnectCaller(Unknown Source)
         at sun.plugin.liveconnect.SecureInvocation.access$000(Unknown Source)
         at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
    which is not a problem in itself but it locks everything up for 10 seconds.
    very, very, bad...
    Then works fine for additional calls.
    There must be someone out there smart enough to figure out a work around.
    Please...

  • Browsing Windows File Shares not working

    I'm trying to integrate Macs into our Windows and Linux Network. After finally getting a stable Active Directory binding (Article TS3248 http://support.apple.com/kb/TS3248?viewlocale=en_US) the remaining challenge is for our users to browse for Windows (Samba) servers. That is, visible in "Networking" or the Side Panel under "SHARED".
    At the moment the users are able to connect to all file shares by using "Connect to Server ..." and typing "smb://host/share" so we know that Kerberos is working well (AD Integration). The variation "smb://someuser@host/share" and providing a password also works. When the file share is mounted it is displayed under "Shared"
    Searching on the net led me to check /private/var/log/samba/log.nmbd file. Every five minutes the following error message is logged:
    \[2011/03/16 13:04:04, 0, pid=113\] /SourceCache/samba/samba-235.5/samba/source/libsmb/nmblib.c:send_udp(793)
    Packet send failed to <WINS server IP>(138) ERRNO=No route to host
    This doesn't make sense since this host is pingable and is on the same subnet (i.e. no route). An additional observation is that Windows XP machines that are NOT bound to the domain are browsable. The problem applies both to Windows Server 2008 as well as CentOS 5.5 servers running Samba.
    Google search has turned up nothing. Based upon my experience with other Samba implementations, this may be a bug in OS X. Anyone out there having the same problem or a resolution?

    I have a similar problem, and have seen something somewhere about a difference in AD in windows 2003 server and Windows 2008 server based networks. It also seem to be related to the lack of wins in modern Windows 2008 R2 functional level domains. I haven't been able to rule this out yet, but the problem for me is similar. MAC client running 10.6.x cannot see Windows computers under shared unless it's already mounted. I haven't been able to test this with OS X 10.7 yet.    

Maybe you are looking for

  • Well that didn't take long....21.5" iMac Failure

    3 days as a new iMac owner and it's already broken. So far PC/Windows wins! Just getting a white screen with an Apple logo and the activity icon spinning. Any suggestions? I was just importing photos into iPhoto and had just got used to the way iPhot

  • Bw multiprovider problem

    hi all, i have a problem with a multiprovider. I activated 0FIAR_C03 cube in order to execute balance aging for customers. I want to calculate top N costemers' balance aging so I created a sales cube based on an S9* info structure. both cubes have ri

  • Is it possible to get an email from 2 years ago back

    I deleted an email from about two years ago that I now need, is there any way of getting it back. My deleted folder has been emptied?

  • HT1766 Is icloud backup backs up apps?

    I did a backup using icloud but he did not restore the apps I had, can also back up spps?

  • WebView Javascript Error

    Hi, My app crash with this javascript error ("unable to get property 'appedChild' of undefined or null reference"). How to ignore it? Thanks.