Wowza Community

Remove metadata from shoutcast source

Hi all,

I am running a live application consuming a Shoutcast audio feed (mp3) and re streaming it to a Flash Media Server.

Is there a way to remove the feed meta data before re streaming it?

Many thanks beforehand.

Hello

As per ticket

#96548

, there is no built-in support for this currently. You can likely do this via our API and custom module development.

Thanks,

Matt

As a follow up, if you are thinking of approaching this via a custom module you may be able to utilize the following:

public class ModuleShoutcastSuppressMetadata extends ModuleBase
{
	public void onMediaCasterCreate(IMediaCaster mediaCaster)
	{
		try
		{
			if (mediaCaster instanceof ShoutCastReceiver)
			{
				((ShoutCastReceiver)mediaCaster).setSendOnMetaDataEvents(false);
			}
		}
		catch (Exception e)
		{
			WMSLoggerFactory.getLogger(ModuleShoutcastSuppressMetadata.class).error("onMediaCasterCreate ", e);
		}
	}
}