Tocar playlist .m3u8 com PlayAudioStreamForPlayer
#3

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)
Reply


Messages In This Thread
Tocar playlist .m3u8 com PlayAudioStreamForPlayer - by BrunnoFdc - 11.05.2018, 00:07
Re: Tocar playlist .m3u8 com PlayAudioStreamForPlayer - by arakuta - 11.05.2018, 14:05
Re: Tocar playlist .m3u8 com PlayAudioStreamForPlayer - by Ermanhaut - 11.05.2018, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)