[Plugin] SA:MP Internet Radio Station
#41

Quote:
Originally Posted by leong124
Посмотреть сообщение
That's why the Audio Plugin exists
Audio Plugin was crated before a basic audio streaming for samp was out. So that's not the reason why Audio Plugin exist
Reply
#42

Yes I (or we) may never know the actual reason Incognito create it, but I just mean attaching the audio and control the volume should be what audio plugin does, but not this plugin. This plugin is created for server side broadcasting only.
Reply
#43

Sorry for double post, but I want to say that I have the same problem on PlaySoundFileToStream.
Reply
#44

awesome tried it, +rep
Reply
#45

where is the stream and please if you can send me screen shots its better
Reply
#46

Nice. Your plugin similar to audio plugins?
Reply
#47

Quote:

Nice. Your plugin similar to audio plugins?

What do you mean like?

This plugin works as Winamp + shoutcast
Reply
#48

Very nice plugin, though I don't get it to work!
I did as you told in the installation tutorial, and I get no errors when compiling, but there's no sound in game.

What I've done:
1. I copied all the files from the .zip file, not the source and just the radio.inc file from filterscripts folder.
2. I added plugins radio to the server.cfg file
3. I added the code below to my gamemode script:
Код:
public OnFilterScriptInit()
{
    SoundServerStart("lame -r -s 44100 -b 128 -","8000");
	{
		PlaySoundFileToStream("D:/Media/Music/Music/Blu.mp3");
	}
	return 1;
}
At the top of the script I also have #include "radio"

I'm thankful for any answers,
Thanks for reading!
Reply
#49

Quote:
Originally Posted by jhonyxakep
Посмотреть сообщение
What do you mean like?

This plugin works as Winamp + shoutcast
Sorry, me bad english..

This plugin not used playerid do?
Reply
#50

lefagroll, What operating system are using?

Quote:

Sorry, me bad english..

This plugin not used playerid do?

With this plugin you can get a link to the audio stream.

Example:

http://SAMP-Server-Adress.com:P00Rt

Link is a reference to the stream (infinite file) with the music you go running by PlaySoundFileToStream/PlaySoundUrlToStream

Just a internet radio station.
Quote:

Sorry, me bad english..

My English is very bad, too. But I try to fix it.
Reply
#51

Is possible to start more than 1 radio server with this plugin?
Reply
#52

Thanks
Reply
#53

Quote:

Is possible to start more than 1 radio server with this plugin?

I'm sorry for late with answer

You can start stream server on any ip and port. But now plugin allows start only one server (plugin use one handler for all stream server). You can modify SoundServerStart function for return handle to PAWN (it's just DWORD or integer).

I can add this feature later.

rate my English score from 1 to 10 please. For self-development
Reply
#54

PlaySoundUrlToStream can be local or want be external?

edit:

#fail
I read again and i see: PlaySoundFileToStream(file[]); - add file to stream

lol. but nice plugin, its very nice.. really.


edit 2: omg bad playing

the radio station is playing bad the sounds!! D:

you can see what i mean here: http://forum.revolucion-zombie.ml/index.php
Reply
#55

Quote:

edit 2: omg bad playing

the radio station is playing bad the sounds!! D:

you can see what i mean here: http://forum.revolucion-zombie.ml/index.php
Hello.

Do you say about lags?
Reply
#56

Nice.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)