How to make video chat application smarter ?

Hi all,
   I am implementing a video chat application which is working fine in high bandwith, but it is not working well on lower bandwith (200Kbps - 500Kbps). Please help me to over come the above constraint. Please find the video resolution details as below:
     1)  Video resolution : 640 x 480 (24fps , KeyFrame interval 15) -- publishing
     2) Video resolution : 320 x 240 (24fps , KeyFrame interval 15) -- Playback
The above two are freezed. The following are the required to achieve
   1)  If bandwidht is low show an alert to the user
   2)  Detect speakers are not connected to the machine
   3)  Detect download / Upload speed of network
Please help me to achieve the above.
Thanks in advance.

If you're sending keyframe intervals at every 3 frames (unless you meant seconds?) you're using way too much bandwidth. Nobody can really tell you the "perfect" bandwidth for those settings because lossy compression works on the hope that "some" part of the video will remain the same frame to frame.
With lossy spatinal compression it analyzes the previous frame and the current frame looking for differences. If you have a person chatting in a room where nothing behind them is moving (no objects, people, tvs, etc), the bandwidth will be very minimal. With a normal keyframe interval set at "96" I would wager you could get away with an acceptable picture at 450kbit video, 23kbit mono audio. 320x240@24 same 96kf interval, just half it to 225/23.
If the chat user is in a very busy environment behind themselves then these settings will be far too low. In a very busy background at 640x480@24f 96kf you could spike over 1mbit just in video and still see plenty of compression.
If you did either of those and set your keyframe interval at "3", double the bandwidth at minimum. KF interval at 3 is saying every 3rd frame, or 8 times per second, send a "full frame" worth of data. That's way too much. In the highest end video I even put online I never go lower than once per second in extremely busy videos, unless I need seriously granular seek on HTTP progressive video.
FYI the 23kbit audio comes from the SPEEX codecs quality setting on the Microphone:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Microphone. html#encodeQuality
That'd be setting:
_micPhone.encodeQuality = 7;
You might want to do yourself a favor and give the user simple controls to adjust their own settings. A video bandwidth/quality slider, same for audio. Behind the scenes just ramp up the bandwidth. The user can choose what works for their specific situation without you needing to find a magic formula.

Similar Messages

  • How to use afcs, i want to make video chat program using afcs....

    hello, i want to make video chat program in android air.
    so i try to afcs(Adobe LiveCycle Collaboration Service), but it shut down that create new account..
    how to create new account??
    how to download afcs SDK??
    help.. me .. please..~~~

    Hi Cbigb,
    You can download the current LCCS SDK here..
    https://cocomo.acrobat.com/download/payload.zip
    If you are interested in talking to us here at Influxis about our new service offering please contact Wesley Daggett at 661-775-3936 or via e-mail [email protected]
    cheers,
    James

  • How to re install Playbook video chat application

    hello everyone,
    i hope someone could guide me in resolving this issue.
    the blackberry video chat application was there when i first bought my playbook, but since i updated my system software its gone. tried search for it in apps world but cant find it.
    so how to re install it? any idea guys? i'd be thankful

    security wipe and re-install the os.
    Be a Shepard and not an iSheep.

  • What are the requirements to build a live video chat application?

    I am looking into making a live video chat application. I
    have seen several examples on the web so my question is not "how"
    to do it. My question is "what do I need" to do it?
    It seems that all the examples use Flex Data Services and
    then some sort of back-end communication server. The cost of FDS is
    well beyond what the client can afford so my question is: is it
    necessary? Is there a way to build this sort of application without
    FDS? Can I get live video streaming to work using only what is in
    the SDK? I know nothing about data streaming, real-time
    communication, etc. and have no idea how to implement this outside
    what I have seen in the online articles so far.
    If there are any other forums that are more appropriate to
    this question, please direct me there. It is not a FDS exclusive
    issue and I am just starting to look into it. I am starting here
    because we would like to use Flash Player for the client-side
    application.

    I am looking into making a live video chat application. I
    have seen several examples on the web so my question is not "how"
    to do it. My question is "what do I need" to do it?
    It seems that all the examples use Flex Data Services and
    then some sort of back-end communication server. The cost of FDS is
    well beyond what the client can afford so my question is: is it
    necessary? Is there a way to build this sort of application without
    FDS? Can I get live video streaming to work using only what is in
    the SDK? I know nothing about data streaming, real-time
    communication, etc. and have no idea how to implement this outside
    what I have seen in the online articles so far.
    If there are any other forums that are more appropriate to
    this question, please direct me there. It is not a FDS exclusive
    issue and I am just starting to look into it. I am starting here
    because we would like to use Flash Player for the client-side
    application.

  • How can I video chat with someone who uses web based yahoo?

    Not long ago I purchased my first Mac (New MacBook Pro 2.53GHZ); last Summer I also purchased a MacBook Pro for my daughter. Everything works great (like driving a formula one Porsche after grappling with a battered pick-up truck (meaning Windows) for many decades; cannot imagine ever going back. But, there is one issue that I have not been able to solve and for which I would greatly appreciate any suggestions or advice. I am familiar with ichat and with AIM (my daughter uses it all the time). However, the vast majority of people with whom I communicate via IM live in parts of the world where very few people have even a computer at home much less residential internet access. As a result, near all of the folks I would be chatting with have to use public computers (internet cafes, libraries, etc) and obviously they cannot install AIM or anything else on those public computers. About 90% of them use the web based yahoo messenger which can be accessed from any computer with an internet connection (most of the rest use MSN). My question is this: I know how to do video chat in ichat but ichat does not support yahoo. How can I do video chat with someone who is using web based yahoo on a public computer that has a USB web cam? I was able to do this on my old PC which had a plug in web cam but do not know how it might work on a Mac. Should I install yahoo messenger on my MacBook Pro and will that work for me?. I know about some other Mac compatible chat clients such as Admiun but as far as I can tell none of them support video chat or in some cases yahoo. Perhaps I am overlooking something. I would be very grateful for any suggestions or advice in this matter. Thanks to anyone who reads this post and has any helpful info.

    Zurich,
    I don't think the web-based Yahoo Messenger supports video, so nothing you can do with that.
    http://messenger.yahoo.com/features/
    I think there are Mac compatible MSN clients that will do video, (i.e. aMSN) Also, Microsoft plans on releasing an updated version of Messenger for Mac soon.
    http://www.officeformac.com/blog/An-Update-on-Messenger-for-Mac
    GoogleTalk does have a browser based video chat, but your friends would need to install a browser plug-in. (which I would assume that can't do either)
    The best option is Skype, but also requires an install on their end (I would think that the internet cafes would/should have this available)
    Good Luck,
    Double_A

  • I have I pad and IPhone my daughter had iPad how can I video chat with her

    I have a iPhone I gave my daughter my iPad how can I video chat with her?

    Next time before having to pay this regular Microsoft tax, include your iTunes library with your computer's backup per the instructions included with this link.
    http://support.apple.com/kb/HT1751
    iTunes includes an option to transfer iTunes content that was purchased/downloaded from the iTunes store from an iPod, iPad, or iPhone, but this is for iTunes content that was purchased/downloaded from the iTunes store only.
    First you need to re-authorize your computer with your iTunes account with iTunes if you haven't already done so. With your iPad connected and without syncing, at the iTunes menu bar go to File and select Transfer Purchases From - the name of your iPad.

  • How to make avilability of Application components in R/3

    HI all,
    I am creating generic datasource using Tcode SBIW. I entered MM-IO as application component name, If i am trying to save, it is giving error 'There is no application Component MM-IO'.
    Could you pleae any one tell me how to make availability of application compents in R/3.
    Thanks,
    Ravi Basavaiah.

    Hi Ravi,
    Check using transaction RSA6, if there is an node MM-IO in the path SAP - R/3 --> MM
    If not, u can create one using the  "Create Icon" or using menu path "Hierarchy --> Create node"
    Regards, Uday
    Assign points for helpful answers and get one point for yourself.

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • Video Chat Application : Problem downstream on ios device

    Hi
         I made real time video chat application between mobile (ios and android device with flash builder 4.7 on flex 4.6.0 and adobe air 15) and flash desktop website (flash builder 4.6, on flex 4.6.0 air 4.0).   It's almost done, but there is a problem only ios device subscribe stream is very lag for the first time that video streaming start.   Sometime it is stop for several time before it can be play that stream. I find the cause of it such as network, flash desktop build version, buffer (it's very smooth but there is problem when you press home button while using video chat, It's stream is gone T^T)
    I have the example of downstream :
    // ------------ sample code that using netstream ------------
    if(subscribeNetStream == null)
      subscribeNetStream = new NetStream(subscribeNetConnection);
      trace("Initial for playing agent video")
      subscribeNetStream.client = {onMetaData:function(obj:Object):void{}};
      // display metadata
      var clientMetaData:Object = new Object();
      clientMetaData.onMetaData = function(info:Object):void{
      trace("onMetaData");
      // print debug information about the metaData
      for (var propName:String in info){
      trace("  "+propName + " = " + info[propName]);
      subscribeNetStream.client = clientMetaData;
      // trace the NetStream status information
      subscribeNetStream.addEventListener(NetStatusEvent.NET_STATUS, subscribeNetStatusHandler);
      // set the buffer time to zero since it is chat
      subscribeNetStream.bufferTime = 0;
      // subscribe to the named stream
      subscribeNetStream.play("Stream_name");
      // attach to the stream
      if(!videoSubscriber){
      videoSubscriber = new Video(uicAgent.width, uicAgent.height);
      videoSubscriber.attachNetStream(subscribeNetStream);
      uicAgent.addChild(videoSubscriber);
    ------------------- netstream/netconnection handle method ----------------------------
    private function subscribeNetStatusHandler(event:NetStatusEvent):void{
      trace(event.currentTarget+" : "+event.info.clientid+" : Subscribe netStatus = "+event.info.code+"\n "+event.info.description);
      switch(event.info.code) {
      case "NetConnection.Connect.Success":
      trace("Success to play");
      playStream();
      break;
      case "NetStream.Buffer.Empty" :
      if(holdingNetStream)
      holdingNetStream.seek(0);
      default:
      break;
    // --------- End of sample code ------------------
    I have no idea for solving this problem please suggest me
    Thank you
    Pornphop Sudpan

    Check this page out for a list of apps available in a certain region on the PlayBook:
    http://btsc.webapps.blackberry.com/btsc/viewdocument.do?noCount=true&externalId=KB27203&sliceId=2&cm...
    As for why it would be on your old PlayBook, I've noticed that early releases included all the apps - and then that was changed. The only two ways to get around this is to either sideload the video chat app or use a proxy in another country to set up your new PlayBook.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!

  • Can't find the Video Chat application on my PlayBook

    Hey all,
     I live in Saudi Arabia, I'm only stating where I live cause I have a feeling that this might be the reason of my problem. Anyway I can't find the video chat application icon on my playbook although I've updated its software to the latest OS 1.0.7 ---- I hope some1 help me with that cause I need this application desperately.
    Thanks 

    it may not be available to customers in saudi Arabia, if so do security wipe setting up with a proxy server in the US or Canada. This way you will have the video chat software.
    Be a Shepard and not an iSheep.

  • How to make the mobile application work with firewall and anti-virus ON

    Hi,
    I keep on receiving internal processing error when i try to login sap mobile solution 1.3.0 on my ipad and i was provided a solution, that is to turn off my firewall and antivirus. I works by turn off both of it but i cant possible turn of the firewall and antivirus on the server.
    Can anyone guide me how to make the mobile application work with firewall and anti-virus ON
    Thank you

    Dear Rajesh,
    Create a policy in your fire wall to allow the port to send and receive data.
    I believe the port for the mobile should be port 8080 and 8443.
    And your license server port 30000 and 30001
    nd.Q

  • How to make video calls on i phone 4s

    how to make video calls on i phone 4s

    kalidag
    Currently Being Moderated  Re: how to make video calls on i phone 4s
    Jan 30, 2012 1:35 AM (in response to wjosten)
    but we can make video call using our SIM network.. it charge morethan a voice call.I am looking for that on my i phone
    Dear cheonweb,
    The person asking about  3G video cal with out using GPRS(cellular network data plan or wifi) by using cellular network data plan it is possible but with out using cellular network data plan we cant make 3G video cal in apple phones.

  • How do you video chat when you can't attach an iSight?

    Just curious. I was thinking of getting one a bit later and I do video chat a lot. How do you video chat when they don't produce the iSight anymore? Last I checked the displays don't have a built in iSight.

    I use an iSight hanging upside down from one of the metal brackets that hold my shelf in place. I then use a program called iGlasses to rotate the image so the output is the correct side up. But if you can't get a hold of an iSight, there are plenty of other USB webcams out there that are compatible with Mac, and may or may not have solutions to attaching to monitors. I may have to buy one as my iSight no longer picks up sounds (dead microphone).
    Message was edited by: marokero

  • Audio and video chat application

    I would like to create a voice and video chat application,But I haven't way to do this.
    if any one have the source code related to voice chat. Please send me an mail.
    My mail Id is
    [email protected]

    Dear gosa,
    You can order flash based video voice chat at [http://www.flashcoms.com|http://www.flashcoms.com] They do high quality products.
    Hope this information can help you.
    Regards,
    Serge

  • Audio-video chat application

    I would like to create a voice and video chat application,
    if any one have the source code related to voice chat. plz mail it to i need it urgently
    thanks in advance.
    my mail id
    [email protected]

    sorry,
    i have to correct the statement.
    Enigma is a chat application, Audio and Video shall/will be available in the next minor release. (0.6)
    If you can code in a team, may be you can help us.
    Btw, we are looking for developers (till 0.52 i was the only developer, cage joined yesterday) !!! Please send a short email, why you want to join ....
    - Ulrich

Maybe you are looking for

  • Scanning software for ScanJet G3110 not installing

    I have downloaded the latest version of the recommended software directly from the HP support site.  OS is Win7 64 bit. The setup ends in few instants with no error messages but I have not desktop shortcut icons. The setup creates folder: "C:\Program

  • How to use web services in JSF app

    I am unsure if this is the right forum for this question. Let me know if it is not - and where I should go. Anyways, I'm building a JSF web app, in which there is a datatable page displaying some business data. The app is going to be deployed and run

  • Can't register my UDID

    I've just tried to install iOS 7 on my iPhone, and I just got it into my mind that I have a new device. I tried to register my new UDID. In the member center clicked on Certificates, and I got this screen (on all of my devices): (I still have 45 days

  • What's the function of the null transactional manager server?

    how to use the null transactional manager server?

  • Why doesn't the line break change w/font size??

    Hello, I am trying to print out a simple paragraph (String object) to the printer. I am trying to get the text to wrap properly based on font size. I've search on the posts and can't find the answer. It looks like the LineBreakMeasurer is only workin