Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 1 of 1
  1. #1
    Join Date
    May 2014
    Posts
    2

    Server not receive CLIENT_META_DATA from android client

    Hi!
    1. I use Server (c++, based sdk 3.0.2), that normaly receive meta from clients with same sdk (c++).
    2. But, when I connect with client based on android sdk (c#, sdk 3.0.10), meta is not received.

    Here is client method declaration in c#:
    [DllImport("libts3.so", EntryPoint = "ts3client_setClientSelfVariableAsString")]
    public static extern uint ts3client_setClientSelfVariableAsString(uint64 serverConnectionHandlerID, uint flag, string value);

    This is sdk versions conflict or other problem?
    Can anybody help me?

    Best regards,
    Andrew.

    Edit:
    I call ts3client_setClientSelfVariableAsString(CLIENT_MET A_DATA) before startConnection.

    That update meta method:

    Code:
    void UpdateMeta(UInt64 sv, string meta)
            {
                uint error = ts3client_setClientSelfVariableAsString(sv, (uint)CLIENT_META_DATA, meta);
                if (error != ERROR_ok)
                {
                    LogIt("ts3client_setClientSelfVariableAsString failed: {0}", error);
                }
    
                error = ts3client_flushClientSelfUpdates(sv, IntPtr.Zero);
                if (error != ERROR_ok)
                {
                    LogIt("ts3client_flushClientSelfUpdates failed: {0}", error);
                }
            }
    Last edited by Chris; September 8th, 2014 at 02:54 PM. Reason: merged multi post

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. When is the client CLIENT_META_DATA variable updated?
    By DragoViper in forum General Questions
    Replies: 0
    Last Post: October 1st, 2013, 01:07 PM

Posting Permissions

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