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 3 of 3
  1. #1
    Join Date
    June 2007
    Location
    CT, USA
    Posts
    5

    Recording Plugin

    I was wondering if there was any way to create a plugin that allowed a person, or group of people to tell another client (a recording bot), to start and stop recording.

    Scenario: I run a medium sized gaming clan and we hold weekly meetings that not everyone can attend. In the past we've recorded the meetings individually and then uploaded them to our webserver. However due to the fact that our webserver is running windows, I suggested that we just run a TS3 client on the server, and have it record the meeting (that way nobody has to be stuck with a huge upload)

    An admin calls a meeting and types !record, in a PM to the "Meeting Bot" (the TS3 client on the server). It then starts to record, saving the file in a predetermined location (possibly by date? (MM-DD-YYYY.wav). Then the admin types !stoprecord and the Meeting Bot stops recording (and possibly switches channels back to the AFK channel it came from). I know this can all be done manually, but it'd be nice to have a plugin of some sort that could do it.

    If it is possible, but someone does not want to make it, simply point me in the correct direction. Once I have the tools to make something, I can generally do it with a little help; problem is I'm new to the Lua language, as well as making plugins for TS3, and therefore have no clue as to where to start.

    Thanks,
    John

  2. #2
    Join Date
    October 2010
    Location
    Spain
    Posts
    1
    I'm having the same idea than you. I'd like also to make a bot to record and upload the meetings in TS3.

    The doc of the official TS3 server SDK http://ftp.4players.de/pub/hosted/ts....0.0-beta6.zip contains the following:

    If required, the raw voice data can be caught by the server to implement server-side voice recording. Whenever a client is
    sending voice data, the following function is called:
    void onVoiceDataEvent(serverID, clientID, voiceData, voiceDataSize, frequency);
    uint64 serverID;
    anyID clientID;
    unsigned char* voiceData;
    unsigned int voiceDataSize;
    unsigned int frequency;


    Parameters
    • serverID
    The ID of the server which sent the event.
    • clientID
    ID of the client who sent the voice data.
    • voiceData
    Buffer containing the voice data. Format is 16 bit mono.
    Caution
    The buffer must not be freed.
    • voiceDataSize
    Size of the voiceData buffer.
    • frequency
    Frequency of the voice data.
    Note
    This event is only called when there are at least two clients in the same channel. Clients talking “to themselves”
    are not recorded.
    If server-side recording is not required, don't implement this callback.

    .....

    I'm not familiar to the SDK , but I believe that we can make it together.

  3. #3
    Join Date
    May 2010
    Posts
    6,310
    Hello

    Attention, the SDK server can't be used with an normal TS3 client.
    This not the same thing.

    Use the Client plugin sdk :
    http://ftp.4players.de/pub/hosted/ts...0.0-beta32.zip

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Where are the newest plugin.c and plugin.h files?
    By PatPeter in forum General Questions
    Replies: 5
    Last Post: July 24th, 2015, 12:43 PM
  2. [Forwarded] Plugin Audio callbacks not included in recording
    By Philosound in forum Bug Reports [EN/DE]
    Replies: 0
    Last Post: July 26th, 2013, 12:42 PM
  3. [REQUEST] Recording Bot Plugin
    By KingSteve032 in forum Client Plugins / Lua Scripts
    Replies: 1
    Last Post: July 15th, 2011, 05:06 PM
  4. ts3 overlay plugin (Failed to open plugin)
    By netmario in forum Windows
    Replies: 0
    Last Post: September 22nd, 2010, 09:29 AM
  5. Replies: 0
    Last Post: April 9th, 2010, 01:21 AM

Posting Permissions

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