Tocar playlist .m3u8 com PlayAudioStreamForPlayer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: Tocar playlist .m3u8 com PlayAudioStreamForPlayer (
/showthread.php?tid=653719)
Tocar playlist .m3u8 com PlayAudioStreamForPlayer -
BrunnoFdc - 11.05.2018
Estou tentando tocar uma playlist do tipo m3u8, mas nгo estou tendo sucesso. Alguйm conhece alguma forma que talvez possa tornar isso possнvel?
Ainda nгo procurei por um plugin, vim ver se alguйm aqui jб passou pelo mesmo problema e pode passar a soluзгo, mas estou indo lб na categoria de plugins do forum pra ver se encontro algo. Qualquer coisa, posto aqui...
Tks
Re: Tocar playlist .m3u8 com PlayAudioStreamForPlayer -
arakuta - 11.05.2018
Quote:
Originally Posted by Wiki SA-MP; PlayAudioStreamForPlayer
Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.
|
.m3u8 nгo й suportado.
Re: Tocar playlist .m3u8 com PlayAudioStreamForPlayer -
Ermanhaut - 11.05.2018
Code:
PlayAudioStreamForPlayer
Parameters:
(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
playerid The ID of the player to play the audio for.
url[] The url to play. Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.
Float:PosX The X position at which to play the audio. Default 0.0. Has no effect unless usepos is set to 1.
Float:PosY The Y position at which to play the audio. Default 0.0. Has no effect unless usepos is set to 1.
Float:PosZ The Z position at which to play the audio. Default 0.0. Has no effect unless usepos is set to 1.
Float:distance The distance over which the audio will be heard. Has no effect unless usepos is set to 1.
usepos Use the positions and distance specified. Default disabled (0).
Ou seja, o formato da url deve ser .mp3 OU .pls, outros formatos nгo sгo suportados.
Tente usar um conversor de arquivos para converter .m3u8 para .pls
(Nгo sei se й possнvel)