Audio+Video Chat works but one small problem.Pls help.

HI..
as i had posted once before in a different query's thread, i have implemented audio and video chat using AVTRansmit2 and avreceive2.
audio and video chat work well.By video chat i mean not only video but VIDEO+AUDIO as well.. just like usual yahoo video chat.
But the problem is like this:-=
I have given an option for user to switch from audio chat to video chat.
now if a user first goes to audio chat and then switched to video chat,
then the problem comes. When he's shifted to video chat i close down previous Audio chat by RTPManager.dispose() , i close the player and everything..
and then i start Video transmit/receive "ALONG WITH" audio transmit/receive..
No this time video starts but audio doesnt work ..
it says"waiting for rtp data to arrive.... "
The problem is that when this new stream of audio data comes, the receiver somehow thinks that its the same old stream since its from same transmitter IP.. and so it tries to UPDATE the previous stream.
It means there is some problem with the close method or RTPManager.dispose() which should have disposed off all the stuff much before the new connection was made.
PLS HELP ASAP>
this is crunch time for my project.

Hi anandreyvk . .
well, i had tried doing removetargets and also, i had disposed RTPManager well. As it turns out the problem was not with any of it but it was the problem of me incorrectly passing RTPManager from AVReceive2 to AVTransmit2.
Actually i am using just one RTPManager.. since i am receiving and transmitting on the same port.
i've solved the problem but i am not sure if this is the right way .. what do you think ??
is creating just one RTPManager {by that,i mean initializing it only once} a good idea ?? Since we are supposed to call both AVTransmit2 and AVReceive2 with the "LOCAL PORT" .. {which in itself is a matter of discussion though! } i and my project mate thought initializing RTPManager only once is a better option .
Whats your take on all of this ?

Similar Messages

  • Audio/video chat works but audio only doesn't

    Audio-video chats (both 2-way and one-way) work, but audio ONLY chats don't work (connection error). One machine is running 10.4.2 and the other 10.3.9. Doesn't seem like this would be a firewall or bandwidth issue if AV chats are working fine. Why would this happen?

    I have the same issue, as well as the other iChat issues on other posts. When our offices (SF area & LA area, CA, US) were on 10.3.9, no problems with audio or video chats (we all have AIM screen names). Then the boss upgraded to 10.4.1. He could a/v chat with anyone inside our network and could video (with sound) with the other office, but not audio only. When he is at home he could a/v with anyone. We upgraded one more computer in our office to 10.4.1 and it was able to audio chat to other Tiger machines outside the office, but not Panther machines (can chat with anyone inside too). Now the boss and I have upgraded these same machines to 10.4.2 and the audio chat doesn't work outside the office anymore and we still can't chat with Panther machines outside the office.
    Our office has Netopia Cayman 3546-002 ADSL Broadband Gateway on SBC Yahoo DSL at 4936 kbps down/493 kbps up. I called Netopia and had them help me open up the ports (I had them look at the apple tech document so they could help me get it right). It has NAT enabled and all the computers on this LAN have static addresses. Most of the computers access the LAN through the airport express (which just bounces the signal from the wired side). I think we have port forwarding or mapping set up for our two servers...the router looks at the address from the WAN side and routes it to the address on the LAN side. Firmware is up to date on the router.
    I did not originally set up this network and have spent much time reading the user manual for the modem/router (it's a combo device) and trying suggestions here and from Level 2 at Apple. They say it is our network, but I don't know how to fix it.
    I don't think this router has any UPnP capability, that I could find in the manual. Also what is SIP? I need a description of it or at least what that acronym stands for. Also, I've seen stuff about using the Terminal to change the telenet port. This routers telenet is set to 23, that should be fine for iChat, right? No conflict?
    Please help this tortured soul!! Thanks.

  • Video chat works to one person, not to other

    I am on the road w/my iBook G4. I have no trouble establishing a video chat with one person, but can't get it to work when I try to connect to my home machine. My home machine can do a video chat to someone else. it gives me a failed to connect, or the person declined the invitation message. any help?

    Hi David,
    These are User to User help forums.
    There a limited number of Hosts who monitor the content for offensive and posts against the Term and Conditions.
    There is some evidence that some information is taken from the forums and made into Knowledge Docs, but it is rare.
    From the iChat menu there is a link to the iChat Feedback page and 10.4.7 now includes a log creation that you can send to Apple on certian types of connection failure.
    As different modems and routers do actually use different forms of NAT (Network Address Translation) used when people use Port Forwarding, Triggering or DMZ then there can be problems with connection when the devices don't "Play Nicely".
    We would ned to know more about the devices involved to comment further
    http://discussions.apple.com/thread.jspa?threadID=527902
    8:51 PM Sunday; July 2, 2006

  • I am using ALSA and Icecat. When I play any html5 audio/video it works, but the next time i click on another audio/video link I lose sound.

    I am using Parabola (a fork of archlinux), Icecat 31.4 and ALSA
    Icecat and firefox seem to hold onto the soundcard when I click on a new html5 audio/video link in the same tab. The next video/audio element loses sound. If I wait 10 seconds and click back to the start of the audio/video, the audio returns. I often get cpu spikes for icecat when it happens.
    I have tried this with both motherboard and usb sound and I get the same problem. I have disabled extensions (addons) in Icecat, deleted profiles, reinstalled the browser and even installed firefox from the AUR and it still occurs.
    I have disable gstreamer in about:config and restarted and it still occurs.
    My .asoundrc is this:
    pcm.!default {
    type plug
    slave.pcm "hw:0,0"
    All my other audio applications work. I have noticed that if I use pulseaudio it fixes it, but it should work without anyway, like it used to. I think something happened after an update, but I'm not sure.
    Any help would be appreciated. I know it's not a big problem, but it's really frustrating and I've had it for ages. I even switched browsers to get away from it.

    *nerding out*
    I am not an expert in this and if we get stuck I have found a mailing list for the alsa project that can be contacted: http://www.alsa-project.org/main/index.php/Mailing-lists
    Gstreamer is disabled in Firefox as well as the os?
    Since you are seeing issues with ogg files and moving video/audio combination I started to dig into file formats {sox http://sox.sourceforge.net/soxformat.html}
    For ogg would the file format affect the "raw"?
    defaults.pcm.file_format "raw"
    Updated libraries
    alsa-lib-1.0.6-8.FC3
    alsa-utils-1.0.6-3
    No no, here:
    http://oss.sgi.com/LDP/LDP/linuxcookbook/html/cookbook_27.html#SEC377
    Is the OGG cpu intensive for your alsa architecture? [http://alsa.opensrc.org/Ogg]
    Troubleshooting sound on Linux to narrow down the issue: [http://www.troubleshooters.com/linux/sound/sound_troubleshooting.htm#the_steve_litt_diagnostic_tools]
    References: [http://www.alsa-project.org/main/index.php/Minivosc]
    [http://www.troubleshooters.com/linux/sound/sound_troubleshooting.htm#the_steve_litt_diagnostic_tools]
    I am sorry, this is where I can no longer help. Please seek the guidance of the Linux forums or that alsa mailing list.

  • My code has a small problem,pls help me!

    Hi,
    I have an array that holds double values (0.24,0.3,etc) i tried to rescale the values from 0-255 and display them as an image but because the values are really small the image appears black.I think i should read the array and find the min and max values of both axis and rescale the values according to max value.What do u think?Does anybody know the code to do that?I would really appreciate it because i have to hand in my project really soon!!!
    Cheers
    Maria

    The scaling of the double values would soley depend on the min max range of the double values. If your double values are ranging from 0.0 to 1.0 then you could rescale all of the values something like this.
    double dScale[]=new double[num];
    /* add values to dScale */
    int iScale[]=new int[dScale.length];
    double nextD=0.0d;
    for(int i=0;i<dScale.length;i++) {
    nextD=dScale*255;
    iScale[i]=(int)Math.rint(nextD);
    Good luck.

  • Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    If you use an HDMI cable, the audiostream will be integrated, so there will be sound when using an HDMI cable!
    Not necessarily.  That only works as stated if you have one of the most recent MBP's that has a built-in HDMI port.
    If the MBP only has a Thunderbolt or miniDisplayPort, you need an appropriate adapter cable and even if you use an HDMI adapter or cable to connect to your HDTV there is no guarantee it will carry audio.  You have to determine if your specific MBP model supports audio out through its miniDisplayPort or Thunderbolt output, and whether the adapter does likewise.

  • Video Chat works some places but not everywhere

    My video chat works sometimes but it seems when I am at home it will not work with my internet? the people I am chatting with are on the same internet that they were on when it worked. Why is this? what can I change?

    Hi,
    I would change the Bandwidth Setting in iChat Menu > Preferences > Video section > Bandwidth Limit drop down.
    Start at 500kbps
    Open the Connection Doctor (Video menu) during a chat.
    Try other settings but allow the Buffering to smooth out the change as seen in the Bit rate becoming stable in the Connection Doctor.
    Most Issues are about the amount of Internet Speed iChat 5 can see compared to other version which can impact on how much data you can send or receive.
    In some cases this change can be impacted by Threshold controlled features in your modem or router (Turn Off SPI or DoS items).
    8:28 PM Friday; October 16, 2009

  • HT201436 FaceTime problems.  The video part works but person I am talking to cannot hear me.??

    Trouble with FaceTime.  The video part works but the person I am talking to cannot hear me??  An occasional word sometimes comes thru.

    I mean the person I am talking on the other end can't see me either

  • Video chat gives me so many problems.

    This is probably the third topic I've made, just on videochatting. It hates me.
    This time it's with my friend who got her Macbook with Leopard yesterday. I'm running Tiger on a Macbook Pro. I'll also include my friend Mike who has a Macbook with Tiger.
    Okay well when I try and video chat with my friend who has Leopard it doesn't work, and comes up "Remote IP address is invalid." It also says error- 4. However, I've instructed her to turn off file sharing and she is only running on one modem. She can video chat with Mike, with no problems, as can I. But when we try to do a three way chat, I can hear her and see her, but she can only hear me, and in the background it makes an ear-piercingly horrible noise.
    It is very frustrating that two machines as new as ours should not be working. My video chat has always had problems, and is selective in who it has problems with. Could it be something with my router?
    P.S. I just checked my Connection Doctor, turns out I've had all of these errors within the last couple of tries
    Chat ended with error -8
    Chat ended with error -8
    Chat ended with error -8
    Chat ended with error -8
    Chat ended with error -7
    Chat ended with error -7
    Chat ended with error -4
    Chat ended with error -4
    Chat ended with error -4
    Chat ended with error -4
    help me please, once and for all.

    Ok they should turn off Internet Sharing not File Sharing.
    The Leopard end can see two networks hence error 4.
    Error 4 is a symptom of Internet Sharing being On or Parallels being in action and sharing the Mac's IP.
    It can also show up if the Leopard end is wired and wireless to the same router.
    It can also show up if there are two DHCP servers caused by a router and a routing modem both doing DHCP.
    10:15 PM Saturday; January 12, 2008

  • Trying to get video chat working between mac and pc

    im trying to get video chat working between a mac and pc
    pc-running xp with aim 6.0
    will updating to aim 6.1 fix this ?
    we can text chat with no problem
    we can not audio or video chat
    any help would be great
    thanks santini

    Hi Z,
    Lets check the Port Forwarding at your end.
    Does this Zyxel have UPnP at all ?
    If so use that and disable the Port Forwarding.
    If not then these ports need to be forwarded.
    I will list with Protocols as some device need these.
    TCP 5190 for AIM Login and text chats (can be substituted for 443)
    TCP 5220, 5222 and 5223 for Jabber (the last is for OS X servers and GoogleTalk)
    TCP 5298 this is part of the Bonjour set up for iChat if you have other Macs
    UDP 5060 this is for the SIP negotiation that iChat needs
    UDP 5678 this is where the visible invites come and go out on.
    UDP 5190 for AIM file sending and Group chats
    UDP 16384-16403 This group of 20 ports is where any Audio or Video chat takes place.
    As the 443 port is below 1024 (the NAT threshold) you should not have to Forward this.
    10:23 PM Monday; August 13, 2007

  • Audio Video Chat Complete Example

    Hello, I am exploring Adobe LiveCycle Collaboration Service.
    I would like to deploy complete audio, video chat example using AFCS. I could not find any readymate sample example for this. It would be great if any of you could provide the link or complete source code for it.
    Thanks
    Best Regards
    Pradeep

    I tried the default pod example. I can hear not the voice of other participants.. It is clear to me that i will not hear my voice. But I should be able to hear voice of others.
    Is the defaultpod.mxml is one way audio example?   What can I change in the code below so that it can be used for video chat? What do I need to change so that every one can hear the sound of each other during video chat?  In the current example, Everyone can see the video of each other but not the audio. Do I need to make any change in the in the room settings?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    horizontalAlign="center"
    backgroundGradientAlphas="[1.0, 1.0]"
    backgroundGradientColors="[#000000, #000000]"
    xmlns:rtc="AfcsNameSpace">
    <!--
      You would likely use external authentication here for a deployed application;
      you would certainly not hard code Adobe IDs here.
    -->
    <rtc:AdobeHSAuthenticator
      id="auth"
      userName="AdobeIDusername"
      password="AdobeIDpassword"  />
    <rtc:ConnectSessionContainer
    roomURL="YourPersonalRoomUrl"
    id="cSession"
    authenticator="{auth}">
        <mx:VBox borderStyle="solid"
            paddingTop="10"
            paddingBottom="10"
            paddingLeft="5"
            paddingRight="5"
            width="382"
            horizontalCenter="0"
            top="5"
            backgroundColor="#767676"
            cornerRadius="15"
            borderThickness="3" height="640" horizontalAlign="left">
          <mx:Label text="Simple Pods Sample" color="#FAFCFC" fontWeight="bold" width="340" textAlign="center" fontSize="12"/>
          <mx:Panel width="365" height="97" layout="absolute" title="Current room users" color="#000000">
          <mx:List
       width="100%" height="100%"
       dataProvider="{cSession.userManager.userCollection}"
       labelField="displayName" color="#000000" fontWeight="bold"/>
          </mx:Panel>
          <mx:Panel width="365" height="200" layout="absolute" title="Default WebCamera" color="#000000" backgroundColor="#000000">
       <rtc:WebCamera width="100%" height="150"/>
          </mx:Panel>
          <rtc:AudioPublisher id="audioPub"/><rtc:AudioSubscriber/>
      <mx:Button label="Audio"
       toggle="true" id="audioButt" color="#000000"
       click="(audioButt.selected) ? audioPub.publish() : audioPub.stop()"/>
          <mx:Panel width="365" height="235" layout="absolute" title="Default Simple Chat" color="#000000">
       <rtc:SimpleChat width="100%" height="100%"/>
          </mx:Panel>
        </mx:VBox>
    </rtc:ConnectSessionContainer>
    </mx:Application>
    I would appreciate if any of you can help me here.
    Cheers
    Pradeep

  • Flash audio video chat sohbet

    free flash audio video chat login
    kamerali sohbet - Free chat
    SOHBET
    CHAT

    Hi,
    If this is to Google or Jabber Buddies that are not using iChat then it is working as expected.
    Jabber app and Google run a Jabber Server for GoogleTalk use a different Protocol to connect Video and Audio Chats.
    So Buddies logged in via a Web Browser to GoogleMail and iGoogle pages to chat (using a Browser Plug-in) cannot connect nor can those using the PC Standalone App of the same name (GoogleTalk).
    The same applies to Facebook Buddies (they are also Jabber Buddies)
    Or those Jabber Buddies on other servers.
    On iChat 6 that offers the Yahoo option the same thing applies.
    It works iChat to iChat.
    8:50 PM      Sunday; February 26, 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

  • I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, just one big clip,,,pls help, i need to make some changes to the project..thanx

    I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, text's, effects, etc..... just one big clip,,,pls help, i need to make some changes to the project..thanx

    Hi Stephen, thanx...
    Yes, we are talking about FCP X...this is the thing:
    I worked on a project a few days ago and went to share - export movie.
    Today, i opened the FCP again, to make some changes, and when i enter to the project, it shows me as one big clip.....i dont see it says compound clip....and i tried anyways pressing break appart clips...but nothing....could it be that i made it compound before exporting it..? if so how can i recover the un-compound version >?
    I tried to import the saved .mov file, but it opens the same....as one long clip...
    Pls help...thanx.

  • Multiple audio/video chats

    Is it possible to do a audio/video chat with more than one person at the same time and if there is how would I go about doing it?

    Yes James that is possible if;
    You have multi layered camera icons (all three of you).
    When you see 2 buddies with multilayered camera's you can chat with 3.
    You start a chat with a buddy who has a multilayered camera icon.
    You invite the second buddy bij touching + on the buddy list.(multilayered camera icon
    You ininvite the third person by touching + on the buddy list. (multilayered camera icon
    you can also select the drop down menu on top of the screen and select add buddy. You should now have a conferencing interface for three buddies.
    Requierements for hard & software:
    Requirements 1-to-1 Audio Conference 10-Person Audio Conference 1-to-1 Video Conference 4-Person Video Conference
    To Initiate (Host) System Required Any G3, G4, G5, or Intel Core processor 1GHz G4, dual 800 MHz G4, any G5 or Intel Core 600MHz G3, any G4, any G5 or Intel Core Dual 1GHz G4, any G5 or Intel Core
    Bandwidth Required 56Kbps Internet connection (up/down) 128Kbps Internet connection (up/down) 100Kbps Internet connection (up/down) 384Kbps Internet connection (up/down)
    To Participate System Required Any G3, G4, G5, or Intel Core processor Any G3, G4, G5, or Intel Core processor 600MHz G3, any G4, any G5, any Intel Core 1GHz G4, dual 800 MHz G4, any G5, or any Intel Core
    Bandwidth Required 56Kbps Internet connection (up/down) 56Kbps Internet connection (up/down) 100Kbps Internet connection (up/down) 100Kbps Internet connection (up/down)
    Audio chat
    (Same as video) is possible by touching the microphone icon next to the buddy you want to invite, you can add up to 10 buddies, as long as they all (and yourself) mutlilayered mic. icons.
    If there is no icon or multilayered icon next to your buddie, A/V chat is not possible.
    Software preferable as recent as possible.
    JP
    MBP 2.33GHz intel core 2 duo 3GB 667 Mhz DDR2 SDRAM   Mac OS X (10.4)   (8P2125)7

  • My ichat will let me send video chats requests, but it will not let me accept them. What should i do? Also, sometimes it tells me i cannot add a 2nd or 3rd person to an existing chat because it is connected to AOL's relay servers. What does this mean?

    my ichat will let me send video chats requests, but it will not let me accept them. What should i do? Also, sometimes it tells me i cannot add a 2nd or 3rd person to an existing chat because it is connected to AOL's relay servers. What does this mean?

    Unfortunately, most of my advice is in the "hindsight is 20-20" category.
    First off, I would never have purchased the peripheral accessories until the 14 day return period had expired. Second, you learned the hard way what the "14 days" really means.
    Too bad you didn't do any homework, reading this and other forums and tech sites. Even word of mouth from others. That, more than anything could have steered you towards different phone choices from the get-go and I will leave that there with no further comment other than to say most of the issues you described have been discussed in this forum, ad nauseam.
    Once you got into the refurbished phone exchanges, that is where things really went haywire. What someone tells you over the phone is a sketchy proposition, and when it comes down to it, it's your word against theirs.
    I think Verizon tried to make it right, though. Remember, they don't make the phones. Don't throw the baby out with the bathwater.
    You stated yourself you were a satisfied Verizon customer before this. Had the first two phones performed as they should, you would still be a satisfied Verizon customer.
    Doubt any of that will make you any happier, but after you went through the effort of writing such a long post, I thought I'd try.

Maybe you are looking for