Skip to content

SampAudioStream v2.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 21:45
  • Live Internet Radio Text & Script Overrides (73 SA_* Natives, 19 Callbacks):
    • Added periodic ICY StreamTitle polling (audio.live_title_poll_seconds, default 30s, 0 to disable or 10..300s, capped at 2 concurrent 64 KB probes) for direct Shoutcast/Icecast radio streams (including extension mounts like .mp3), while permanently skipping finite files (Content-Length), HLS playlists, and yt-dlp extractors.
    • Added OnAudioStreamLiveTitleChange(playerid, streamid, const title[]) and OnAudioStreamChannelLiveTitleChange(channelid, const title[]), plus SA_GetAudioStreamLiveTitle, SA_SetAudioStreamLiveTitle, SA_GetAudioStreamChannelLiveTitle, and SA_SetAudioStreamChannelLiveTitle to read, filter, or customize outgoing HUD radio text separately from channel names and track metadata without re-firing callbacks.
  • Queue Display Labels, Item Moving & One-Time Shuffle:
    • Added optional label[] support to SA_QueueChannelAudioStream and SA_InsertAudioStreamChannelQueue plus automatic entry-title labeling for SA_QueueChannelAudioStreamPlaylist, persisted across restarts/loops and readable with SA_GetAudioStreamChannelQueueLabel.
    • Added SA_ShuffleAudioStreamChannelQueue(channelid) and SA_MoveAudioStreamChannelQueue(channelid, from_index, to_index) (preserving raw UTF-8/Pawn labels losslessly and pre-resolving queue index 0 when changed).
  • Audio Normalization, Client No-Connect Feedback & Playlist Error Clarity:
    • Added optional sliding-RMS AGC loudness normalization (audio.normalize_volume, default false) with peak limiting for server-transcoded/proxied streams and channels.
    • Added OnPlayerAudioStreamNoConnect handling/notifications and improved OnAudioStreamChannelPlaylistQueued error reporting when queues or concurrent transcoder limits block playback.
  • Interactive Demo Filterscript Enhancements (FS_SampAudioStream_Demo.pwn):
    • Added live radio text announcements (Now playing...), live text inspection/editing dialogs, queue item action submenu (Move to Top, Move Up, Move Down, Remove), listener majority skip voting (Vote to Skip Track), and per-channel in-memory previous track history (Previous Track).