2018-05-06 10:46:44

Hello.
A person who does not know English and programming, asked me if I can make an audio player for TeamTalk.
I became interested in this topic. I saw an audio player on Angels clan and other servers.
My question is:
How can I make an audio player for TeamTalk?
I understand that I have to use the TeamTalk SDK and a tool for finding music. But if someone has experience, please share information.
Or maybe there are ready solutions?
Thanks in advance!

2018-05-06 14:11:56

Yes, you probably will have to use the teamtalk $1000 sdk, unless you can somehow roll your own sollution. I don't have experience with the sdk, but with the music selection you'd would most likely have to except TT private messages on its end dictating which song to search for, then it would just download the song and stream it.

2018-05-06 22:11:19

You can use sockets to interface with TT servers. Check the PHP admin script at https://bearware.dk/?page_id=444 to see allowed commands. Streaming audio channels is far out of the scope of that script, and as Lucas pointed out it'd most likely require usage of the SDK. Another way would be, hackey I know, setup a stream with icecast/shoutcast and stream that URL to the channel.

2018-05-07 08:00:20

Hi.
What would the point be of an audio player for Teamtalk? You can already play sound files and stop the playback again. So I'm not sure about the point of an other audio player. Maybe you have some other features in mind?

Best regards SLJ.
Feel free to contact me privately if you have something in mind. If you do so, then please send me a mail instead of using the private message on the forum, since I don't check those very often.
Facebook: https://facebook.com/sorenjensen1988
Twitter: https://twitter.com/soerenjensen

2018-05-07 17:32:29

The streaming is quite limited, and if you try to play something that the encoder can't deal with, it ear rapes everyone as well as you in the channel.

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2018-05-07 18:27:09

Also, you can't pause streams, or stop them at a particular part and then resume them later from there. That's a negative of streaming. But its a stream. If you want to pause audio, use something like virtual audio cable. big_smile

"On two occasions I have been asked [by members of Parliament!]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."    — Charles Babbage.
My Github

2018-05-07 19:48:31

Coding one would be more trouble than it's worth IMO. It takes 45 seconds to find audio, open another instance, and start streaming. Maybe 2 minutes for installing/setting up VAC, and you've got an OK setup that's twenty times more customisable than a half engineered solution like the one I suggested above.

2018-05-07 20:09:32

@7, exactly. VAC and I don't get along that much. Maybe its because I haven't played with it that much (primarily because I don't like crashing my computer deliberately, or risking it so directly). Perhaps I'll play with it sometime again. But yes, VAC is probably a much better solution than coding your own. It would be a bit overkill, and you'd just be reinventing the wheel of what's already there, and while that works in educational environments, people won't use your software if its not better than what they're already using (i.e. your software is more efficient at something, has more features, etc.). Also... unless you have well over $2000.00 to waste, you won't be able to do it anyway. I say $2000.00 in particular because you obviously want money left-over so you can survive and buy other things.

"On two occasions I have been asked [by members of Parliament!]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."    — Charles Babbage.
My Github

2018-05-08 07:46:51

I get the point. Maybe an audioplayer is for those who just want an easy solution. smile

Best regards SLJ.
Feel free to contact me privately if you have something in mind. If you do so, then please send me a mail instead of using the private message on the forum, since I don't check those very often.
Facebook: https://facebook.com/sorenjensen1988
Twitter: https://twitter.com/soerenjensen

2018-05-08 13:59:11

After make you can share audioplayer. smile

Mao!
--
TD programs website available under new address.
https://tdprograms.ovh/

2018-05-12 15:26:20

hi
I like the audio player: I have it on my server: but the problem is that I pay $ 10 every month: this is a bit expensive: I hope there is a way to create 1