Detecting when to fall back to RTMP with NetGroup's

I am currently trying to create a 4-way 'random' chat type thing, with a php central server and using NetGroup's to connect all the users together (and Cirrus), each publishing one stream and playing all the others. It works, unless the connection can not be established with a neighbour in the NetGroup. In this case from what I understand, there are actually two separate NetGroup's with the same name and properties. Both connections receive the NetGroup.Connection.Success, etc and neither receive the NetGroup.Neighbor.Connect as they aren't connected (which is what I am expecting), but this does make it difficult to a) detect that there are two separate NetGroup's and b) who is behind a firewall or other device that stops the connection from working.
I guess the first one could be solved by waiting a certain time and then realising the new user isn't connected. However, this would complicate the server greatly, as it would have to check who is actually in the "real" NetGroup as well as dealing with situations were it's not sure who is or can. This would also not usually identify with two users wanting to be in the same group where the problem lies.
The only worthwhile solution I can think of is a server that connects using RTMFP to the NetGroup and then uses RTMP to the clients who can't, however I don't think such a server exists (except maybe FMS Enterprise 4, but not sure and it's probably way too expensive) and obviously can't create one as RTMFP isn't open source. So would the only solution be to force all the users to send their webcam feeds to the RTMP server, then it would send the feeds of those not in the group to a user(s) in the group and then all the other feeds to those who aren't in the group?
I'll state the questions now, as reading that back it's not all that obvious what I'm asking and sorry if some of these are obvious:
1. Is there anyway to detect that two NetGroup's with the same name exist, apart from that the neighbourCount's etc don't tally after a certain amount of time?
2. Is there anyway to detect which client(s) are unable to connect to NetGroup's so only they can be prevented from using the system, so that RTMP isn't necessary?
3. Are there any servers that can connect to a RTMFP NetGroup almost like a normal user and then offer the content over RTMP to send the streams from the group to the clients who can't and the from the clients that can't into the group? If so, how expensive?
4. Also, if trying to avoid the above route and just use a normal RTMP server. From the NetStream documentation, wouldn't I have to send the feeds for the webcams to all the users in the group, as no client could receive a NetStream over RTMP (or RTMFP for that matter) and then copy it to publish it to the NetGroup (or the RTMP server)? Seems like there are no methods to do this from the documentation

I am currently trying to create a 4-way 'random' chat type thing, with a php central server and using NetGroup's to connect all the users together (and Cirrus), each publishing one stream and playing all the others. It works, unless the connection can not be established with a neighbour in the NetGroup. In this case from what I understand, there are actually two separate NetGroup's with the same name and properties. Both connections receive the NetGroup.Connection.Success, etc and neither receive the NetGroup.Neighbor.Connect as they aren't connected (which is what I am expecting), but this does make it difficult to a) detect that there are two separate NetGroup's and b) who is behind a firewall or other device that stops the connection from working.
I guess the first one could be solved by waiting a certain time and then realising the new user isn't connected. However, this would complicate the server greatly, as it would have to check who is actually in the "real" NetGroup as well as dealing with situations were it's not sure who is or can. This would also not usually identify with two users wanting to be in the same group where the problem lies.
The only worthwhile solution I can think of is a server that connects using RTMFP to the NetGroup and then uses RTMP to the clients who can't, however I don't think such a server exists (except maybe FMS Enterprise 4, but not sure and it's probably way too expensive) and obviously can't create one as RTMFP isn't open source. So would the only solution be to force all the users to send their webcam feeds to the RTMP server, then it would send the feeds of those not in the group to a user(s) in the group and then all the other feeds to those who aren't in the group?
I'll state the questions now, as reading that back it's not all that obvious what I'm asking and sorry if some of these are obvious:
1. Is there anyway to detect that two NetGroup's with the same name exist, apart from that the neighbourCount's etc don't tally after a certain amount of time?
2. Is there anyway to detect which client(s) are unable to connect to NetGroup's so only they can be prevented from using the system, so that RTMP isn't necessary?
3. Are there any servers that can connect to a RTMFP NetGroup almost like a normal user and then offer the content over RTMP to send the streams from the group to the clients who can't and the from the clients that can't into the group? If so, how expensive?
4. Also, if trying to avoid the above route and just use a normal RTMP server. From the NetStream documentation, wouldn't I have to send the feeds for the webcams to all the users in the group, as no client could receive a NetStream over RTMP (or RTMFP for that matter) and then copy it to publish it to the NetGroup (or the RTMP server)? Seems like there are no methods to do this from the documentation

Similar Messages

  • How to detect when a page is in view with jQuery or javaScript?

    Is there a way a detect when a page is in view? Currently it seems that my document ready function is being called when the page is the next or previous page as well as the current page. Seems that this gets called twice... is there a reliable way to detect this?

    I ran into this alot. first thing is that when you are looking at a particular page, DPS is caching the pages around it, all around it, so it caches the top, right, bottom and left pages, which will launch things and play videos and what not.
    Here's the workaround for getting it to only launch when in view. set the autoplay time (I assume this is for a "webcontent overlay") to .125 seconds. it will start the clock only when the page (tile) is in view.
    don't know if theres an easier way, but that's how I do it and it works.

  • Why does safari freeze when i swipe back a page with the trackpad?

    since the new update some of my trackpad features have stopped working, the three finger swipe both up and across have stopped working as well as freezing safari when i swipe to go back a page! anyone else getting this problem?

    1. Reset Safari.
        Click Safari in the menu bar.
        From the drop down select "Reset Safari".
        Click "Reset".
    2. Empty Caches.
         Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        "Develop" menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.

  • Is it possible to only allow HD content when HDCP is present, otherwise fall back to SD?

    For any of the proposed ideas here, you will have to package your content twice, where each stream would require its own license:
    1 package for SD bitrates
    1 package for HD bitrates
    [ Try to play & react if necessary ]
    When the user wants to play HD content, attempt to do a license acquisition for the HD stream.  If it fails with an error code indicating that the device doesn't not have the needed output protection requirements (DRMErrorEvent 3338 – 3342), the client would then fall back and play the SD stream, which would trigger a license acquisition of a license that doesn't require Output Protection enabled.
    [ License Preview ]
    When the user wants to play content, perform a "License Preview" of the HD stream to determine if the license can be consumed & enforced by the device (DRMManager.loadPreviewVoucher()).  If the result of loading this Preview license fails with a DRM Error event around Output Protection requirements (#3338-3342), then play the SD stream.
    [ Leverage an existing front-load license request that you're using to preemptively initialize the DRM system ]
    This is similar to "License Preview", but attempts to front-load that check and retain the result for later use.
    In our whitepaper to optimize "start to playback" experience (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/video/pdfs/start-to-p layback-adobe-access.pdf), one of the things we recommended was to front-load a license acquisition on a non-existent content very early in the user workflow (Optimization #2).  Doing this would initialize the DRM system so that when the real license acquisition happened later on, Adobe Access would already be primed.
    To take this a step further, if you have this in place, since you already are doing a license acquisition ahead of time, you could use a policy that requires Output Protection.  In your client, when it attempts to acquire a license, it can record whether or not the operation was successful. If it was successful, the client could have logic to show HD content options to the viewer.  If the acquisition was unsuccessful, then the client could restrict viewing to only the SD content.

    ok great thats what i thought
    How do I check if I am running moutain lion
    about this mack gives me Mac OS X
    Version 10.7.5
    I am running Software UPdate as I type
    assuming that I have Moutain Lion how do I link the two ecternal HD's ?

  • Error when installing Lion on empy HD: "Couldn't find app store version, falling back to hardcoded"

    I've run in to a problem that is making me tear the hair from my head. I'm hoping for your help!
    Short story:
    I'm trying to install OS X Lion on my 27" iMac.
    I've erased the HD using Disc Tool in recovery.
    HD shows no errors.
    I've tried Internet Recovery (it loads up, but wont start the installation)
    I've tried creating a recovery usb on another similar iMac, and use it on this. Same error, only differance is it keeps "loading" when installing, but nothing happens. Same error in log.
    When I try to start the Reinstall I get an error in the installation log that goes something like this:
    Install Mac OS X Lion[354:9c03] Couldn't find app store version, falling back to hardcoded
    Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
    Apple Care suggested:
    Trying another network (doesn't work).
    Install with the original Snow Leopard DVD first, then upgrade (can't do that, the DVD is lost and a DVD from another friend is not working)
    What can I do to get around this error?
    Someone suggested buying a usb with Snow Leopard from the apple store. Do I really have to buy a NEW operating system because the recovery doesn't work? Would I have to pay to upgrade to Lion again?

    Follow AppleCare's instructions on re-installing Snow Leopard and re-installing Lion. Your friends disc won't work because the discs are machine specific. You will have to get a replacement set of your original Install Discs from AppleCare for a nominal cost.

  • Fall back systemwhen multiple SAP systems trying to acheive SSO with BOEXI

    Friends,
    I need a small clarification on ' SSO between BOE XI 3.1 and SAP BI 7' Scenario,
    Say when multiple users log on through their  SAP EP Portals or Netwever Portals, they use their tokens generated by their respective EP portals which are passed through the 'Web application server' hosting BOE environment.
    1) When  its a Single EP portal , we can have have a fall back system. when we register  its logical name in the CMC of BOE Environment , a typical SNC.But what's the fall back system for multiple SAP systems?
    2) Also Whether there are any pit falls via token method  when more than one SAP system communicating to BOE?
    3) Do we have any documentation for this?
    Thanks ,
    Sivakanth.

    Hi Sivakanth,
    the normal scenario for SSO is the following:
    When you said ''back end system ', i did not get it.
    Enterprise Portal -
    (iView)-------> BOE -
    > SAP BI <- This is your backend system
    Well Could I define more than one logical name there in SNC tab of CMC.?
    I assume you have the following situation:
    (EP1, EP2, EP3) -
    > BOE -
    > (SAP BI 1, SAP BI 2, SAP BI n)
    You can define more than one entitlement systems in the BOE CMC and also configure for each one of them for SNC. Please note that we are talking about server trust and NOT client trust here. It is all about letting your sap system and the boe system trust each other. If you have your portal with client SNC configured (ie. the user logs using a certificate and an SAP logon ticket is created) it is NOT necessary to configure SNC in the CMC (Please refer to the section "Configuring SAP Server-Side Trust" in the installation guide for the integration kit for SAP) side.
    Back to the SSO scenario now: When a user connects from an enterprise portal on the BOE system the logon ticket, generated from the portal, is forwarded to the back-end system, which is defined in the portal iView the user is currently navigating through. If it is a Crystal Enterprise iView then you just have to select the appropriate system alias of your back-end system in the System drop down menu when creating the iView. For URL iViews you must utilize the relevant openDocument parameters. If you do not define anything at all when creating the iView then BOE tries to authenticate the logon ticket against the SAP BI system you selected to be the default one in the "Authentication->SAP->Options" tab of the CMC.
    If what you want is just to distribute the load between your SAP back-end systems then you should consider utilizing an SAP cluster for your pursposes. As explained before BOE will not distribute the requests evenly on the back-end systems. It will try to contact either the system defined in the request (iView) or the default system. To be honest I am not sure what happens if the explicitely defined system is not available but I think that an error message is what you should expect then. I do not think that in this case the BOE system tries to use the system defined as default.
    Another part is what kind of security is defined in BEX querys..as i read from SAP IK guide, we can import all the roles which are defined at ABAB level.
    Will there be any security threats to SAP data via this method.
    It is true that you can import all roles in your BOE system. But keep the following four things in mind:
    1) You can restrict on the BOE side the users which are authorized to logon in the CMC and import the roles (normally only the BOE administrator is authorized to do this)
    2) Importing a role means that an SAP user can try to logon the BOE. Still the logon process can only be succesfull only if the SAP user has special authorization on the SAP side (Please check the Appendix "Authorizations" in the installation guide of the integration Kit for SAP.
    3) You can restrict the access to data by assigning authorizations only for specific infoareas/infoproviders. In order to partially restrict data access in a given infoprovider (e.g infocube or multiprovider) you can utilize authorization variables in your BW query.
    4) You can further restrict access on specific reports either on the BOE side or on the portal side (by rstricting access to the defined iViews).
    For sure you must invest some time to define and implement your security concept.
    More over could you please answer other 2 questions in my original question.
    2) Also Whether there are any pit falls via token method when more than one SAP system communicating to BOE?
    3) Do we have any documentation for this?
    2) As long as your portals, the back-end systems and your BOE system are configured correctly for SSO this should not be a problem. Well just a tip based on my experience: be sure to use full qualified domain names for your systems in the iView definitions. And do not forget SSO works only if all systems are in the same domain.
    3) As said in my previous posting the netweaver documentation regadring SSO setup maybe interesting for you. As far as I know the multiple systems scenario is not contained explicitely in any official BOBJ documentation. I assume that you already went through the installation guide for the integration kit for SAP.
    Please tell me if you have a completely different scenario in mind
    Regards,
    Stratos
    Edited by: Efstratios Karaivazoglou on Mar 22, 2009 12:27 AM

  • Browser "Back" button - can it be disabled or detected when pushed?

    Is there any way to disable the back button in the browser or
    detect when it is pushed and redirect the application to a different page
    rather than moving back to the previous page?
    Specifically for IE6 & IE7.
    Edited by: burferd on Jun 25, 2008 11:01 AM

    burferd wrote:
    My search found a suggestion to include the following code in the <head> block of the page,
    but it does not appear to work, the back button is still enabled.This doesn't disable the back button, but this eliminates the default behaviour of the back button. Normally it loads the previously visited page from the browser cache (which might contain session data or expired data, which could lead to bad user experience), but if you disabled the cache, then it fires a new request to the server side to show the page so that the user is presented with new and accurate data.

  • Stage3d will always fall back to software mode when using flash player 11.6 content debugger

    I just update my flash player and air sdk to 3.6. My game is being developing using starling. And after update was complete, weired things happened. First,it would always fall back to software mode when debugging with content debugger. I just couldn't get to the gpu mode with content debugger! Second, when I run my game with IE 10 with flash player 11.6, some transparent black skins becomes transparent white skins!!!! That drives me crazy!  Surely there are lots of bugs with the release of flash player 11.6 for windows 8!

    I just update my flash player and air sdk to 3.6. My game is being developing using starling. And after update was complete, weired things happened. First,it would always fall back to software mode when debugging with content debugger. I just couldn't get to the gpu mode with content debugger! Second, when I run my game with IE 10 with flash player 11.6, some transparent black skins becomes transparent white skins!!!! That drives me crazy!  Surely there are lots of bugs with the release of flash player 11.6 for windows 8!

  • I get an error message when I sync my iPhone 5 with itunes on a Windows 7 laptop. When I go back to my music there are exclamation marks next to many songs. I have reinstalled iTunes

    I get an error message when I sync my iPhone 5 with iTunes on my Windows 7 Samsung laptop.  I recently backed up all of my data using Samsung Recovery Solution 5 to an external hard drive so that I could restore my laptop.  I put all of my data back on the restored laptop and reinstalled iTunes. After the error message that says that certain items could not be found and the "sync" is finished I go back to my music in iTunes and there are exclamation marks next to many songs.  I follow some instructions regarding the Edit - Preferences - Advanced settings and the exclamation marks go away until I try to sync my phone again.  Then I get the same error message and the exclamation marks return.  I have uninstalled and reinstalled iTunes and the same thing happens again.  I am about to schedule an appointment with the Genius Bar but would like to avoid that if possible.  Thank you in advance for any help. 

    Hello Courtney,
    Thank you for the details of the issue you are experiencing when syncing your music to your iPhone.  It sounds like iTunes is not able to locate the original file for the song to transfer it to your device.  I recommend reviewing the following articles to locate you music files on your computer:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have copied my iTunes library onto a new computer, but when I play back the songs there seems to be random "miss" or "drop out".  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    I have copied my iTunes library onto a new computer, but when I play back the songs using the new computer, there seems to be random "miss" or "drop out" during play back, similar to a small scratch on a vinyl record.  Although when I play the same song over again, the "miss" occurs in a different location during the song.  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    You don't say which version of iTunes you are using, but the symptoms you describe have been encountered by some users with the 64-bit version of iTunes 12.1.
    There is an alternative version for 64-bit editions of Windows here:
    iTunes 12.1 for Windows (64-bit — for older video cards)
    that seems to address the most of the playback issues that some users have been reporting with the full 64-bit version of 12.1.0.77 - including problems with Bluetooth speakers where either sound is degraded or completely absent.  The alternative installer here is the same architecture as most previous "64-bit" versions of iTunes, i.e., a 32-bit application with a 64-bit installer.  The "for older video cards" label appears to be something of a misnomer as some people have reported that this corrects problems found on current / high-spec systems.
    Some users have reported that after installing this alternative version it is necessary to adjust the "Play audio using" selection (normally to "Direct Sound" rather than "Windows Audio Session", though this may vary based on your audio hardware/drivers) in Edit > Preferences > Playback to restore glitch-free audio (one part of the reported symptoms is that the "Direct Sound" choice isn't available, usually in Windows 8).  It may also be necessary to ensure that your Bluetooth speakers are active and selected as the default audio device before you run iTunes.
    If this doesn't address the issue, you may want to think about reverting to iTunes 12.0 - see Turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for steps needed to completely remove all installed iTunes components, and for links to the 12.0 installers.

  • When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    I too have the same problem.  The audio drop out of sync in about 5 sec in not uncommon for the audio to be 30+ sec behind video.  Apple needs to fix this!!!!!!!!!!!!!!!!   its a joke,  my iphone is all messed up after the last update as well.  at one time not to long ago apple products and software were top rated, not so much any more, more and more problems are showing up and apple is unwilling or unalbe to fix the many issues.  Apple needs to fix the audio sync problem, it not the computer hardware or other software it ITUNES!!!!,  there is no workaround other then hitting pause and hitting pause and hitting pause to temp fix the problem. 

  • After doing a Google search, I click on a link and go to the searched web page.  When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out".  Any idea what is going on with the browser?

    After doing a Google search, I click on a link and go to the searched web page.  When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out".  Any idea what is going on with the browser?

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    * Preferences that have been modified are shown as '''bold (user set)'''.
    * Preferences can be '''Reset to the default''' or changed via the right-click context menu.
    -> In the '''Filter bar''', type '''browser.sessionhistory.max_entries'''
    * Right click the preference '''browser.sessionhistory.max_entries''' and click '''Modify'''
    * Change value from 0 to whatever you want over 0 (Default value is 50)
    * click OK
    -> Close the '''about:config''' tab and then Restart Firefox.
    See this post:
    * https://support.mozilla.com/en-US/questions/860894#answer-229574
    Check and tell if its working.

  • I deleted the playlists on my iPhone and when I now try to synchronize with my iTunes account to put the music back, nothing happens and I do not get the music back on my iPhone. Anyone who knows why that could be? Grateful for any suggestions!

    I deleted the playlists on my iPhone and when I now try to synchronize with my iTunes account to put the music back, nothing happens and I do not get the music back on my iPhone. Anyone who knows why that could be? Grateful for any suggestions!

    I know it sounds weird, and that is the reason I posted my question.  Because my case is not like all the ones I've found online and it's confusing.  I added a screen capture of my itunes with my old iphone (the one that houses my playlists) connected to it.
    My playlists "ARE"  in my iphone 4s.  They are still there even though they do not show up when I plug in to itunes in my computer. 
    When connecting my phone to itunes on my macbook, the playlists do not appear anywhere in itunes.  I have found my connected iphone icon, I have clicked on the arrow next to it and it does pull up the standard lists that come with the iphone/itunes:  Music, Movies, TV shows, books.  That's it! below that is "Genius" and below "Geniuns" is "PLAYLISTS"  but the only playlist of mine that shows there is one that I created several years back titled "90's music" and that one I created it on my computer, not my phone.  Under "90's music" there are also other standard playlists that itunes automatically adds.
    Does anyone else have this issue or know how to get around this.  I am starting to think that I am going to have to recreate these lists on my computer

  • I have backed my iTunes with over 10,000 songs on a hard drive and than i reset my computer to factory settings, when i put it back on my macbook pro only 2030 were able to be downloaded back to the same computer

    i have backed my iTunes with over 10,000 songs on a hard drive and than i reset my computer to factory settings because my email was hacked, when i downloaded the music back to my macbook pro only 2030 were able to be downloaded . how can i download all my music back?
    michel p.

    I usually err on the sideof caution when someone says "downloaded" and take it to mean anything fro actually downloaded, to copies, to imported, to moved (frolder to folder), but even if they were "downloaded"... if the old email was hacked, and subseuqently closed out, that leaves the downloaded files "orphaned" if you will, belonging to the old ID. So, while they may be on the HD, they're inaccessible now.
    One of the biggest reasons I NEVER keep anything in my library with DRM employed in it.  I bought it. I own it. I'm not going to get locked out of it.

  • I updated my ipod touch 5th gen to iOS 8.2 and left it but when i got back it was in recovery mode with a red iTunes logo and i plugged it into my computer to reset my ipod and it wouldn't do it what do i do?

    I updated my ipod touch 5th gen to iOS 8.2 and left it but when I got back it was in recovery mode with a red iTunes logo and I plugged it into my computer to reset my ipod and it wouldn't do it what do I do?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

Maybe you are looking for

  • How to export file with specific KB/s for video?

    Just wondering how to go about doing this. I want a file to be exported with 188 KB/s video. and the audio 128kbps in h.264.

  • Saved Pages doc as pdf now I want to edit it

    I created a document in Pages and saved it as a pdf, but I forgot to save a version that I can edit. How do I revert back to a document that I can edit? I usually save a Pages document and a second pdf document. Thank you!

  • Event log from CFP2020

    Hi again all! Small query here - while running a vi on a CFP-2020 device, is it possible to log events onto a CF card?  For example if button 'A' is pressed on a touchscreen controlling the vi in the CFP2020 unit, and event 'B' occurs, is it possible

  • Error: 6 after reinstalling CS4 on new Macbook (Mavericks) from back up drive (no CD-rom drive).

    My old Mac died. I purchased a new Macbook Pro with Mavericks. I had purchased CS4 installation discs, but cannot use them to reinstall the software since the new computer does not have a CD-rom drive. I tried to reinstall the Adobe software from my

  • LabVIEW 8.6 Runtime and MAX installation

    Can I install the LabVIEW 8.6 runtime engine and MAX on any computer without violating the license agreement for a single seat developer package? When I install this on a lab machine running XP and I go to launch MAX from the installed desktop icon,