Community Forums Today's Posts     Member List     Archive    
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2010
    Location
    china
    Posts
    1

    push to talk problem

    I use SDK beta3 and has imlemented my push to talk function according to the client.pdf.The function can work for a while,But when I push the key up and down to switch INPUT_ACTIVE : INPUT_DEACTIVATED, the function will crash.Any tips will be appreciated!

    The code:
    BOOL bTalk = myKeyboardInputImlement();

    unsigned int error;
    if((error = ts3client_setClientSelfVariableAsInt(serverConnect ionHandlerID, CLIENT_INPUT_DEACTIVATED,
    bTalk ? INPUT_ACTIVE : INPUT_DEACTIVATED))
    != ERROR_ok) {
    char* errorMsg;
    if(ts3client_getErrorMessage(error, &errorMsg) != ERROR_ok) {
    printf("Error toggling push-to-talk: %s\n", errorMsg);
    ts3client_freeMemory(errorMsg);
    }
    return;
    }

    if(ts3client_flushClientSelfUpdates(serverConnecti onHandlerID) != ERROR_ok)
    {
    char* errorMsg;
    if(ts3client_getErrorMessage(error, &errorMsg) != ERROR_ok)
    {
    printf("Error flushing after toggling push-to-talk: %s\n", errorMsg);
    ts3client_freeMemory(errorMsg);
    }
    }

  2. #2
    Join Date
    Dec 2009
    Location
    Italy
    Posts
    22
    Error messages???

    have you use DX for key event or windows api?

    Or take the post routine qith the comunications with server, there is a flood system protection that crashs the apps.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Push to talk problem
    By Ballzy in forum General Questions
    Replies: 25
    Last Post: 16-08-2010, 16:24
  2. Multiple Push to Talk Buttons
    By Rofl_My_Waffle in forum [TeamSpeak 2] General Questions
    Replies: 11
    Last Post: 24-06-2006, 21:46
  3. Push to Talk is not working
    By cotner in forum [TeamSpeak 2] Client Support
    Replies: 19
    Last Post: 05-11-2005, 17:27
  4. Push to talk state will not change during certain activities
    By Kilroy in forum [TeamSpeak 2] Client Support
    Replies: 5
    Last Post: 27-07-2005, 02:20
  5. Teamspeak and EQII problems with Push to Talk
    By Umav in forum [TeamSpeak 2] Client Support
    Replies: 0
    Last Post: 03-07-2005, 15:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •