[Icecast-dev] Radio Loudness

Marvin Scholz (ePirat) epirat07 at gmail.com
Thu Aug 25 12:31:30 UTC 2022


Accidentally replied off-list first, here again my reply on-list. Sorry for the confusion.

Hi, see my replies inline:
> 
>>> On 25. Aug 2022, at 13:48, Patrick.Schneider1 at swisscom.com wrote:
>>> 
>> 
>> Dear Roman
>> 
>> Thank you for your answer.
>> 
>> We as Swisscom Switzerland are in a difficult situation. We have around 1'000 Live / Replay TV Channels and 500 Radio Channels on our Platform.
>> For Live TV we could manage the Loudness in the Transcoder/Encoding Settings. We were able to measure and align all Loudness differences and adjust to -23dB.
>> Zapping from one TV Channel to another makes no audible difference anymore.
>> 
>> The Problem is the change from Live TV to Radio on our Android Set-Top-Box.
>> We are looking for a solution to align the Radio Loudness over the 500 Radio Channels.
>> 
>> So you don't see any possibility to send an ExoPlayer message (like a Metadata) to the Player?
> 
So if I understand correctly you want to send over a loudness adjustment parameter over for a specific radio station on start of playback?

>> 
>> We saw that the following commands are coming from the Backend IceCast Proxy to the Android STB:
>>  
> 
(Please note the correct spelling is Icecast)

>> tvlib.ExoRadioPlayer: onPlaybackStateChanged(state=Idle)
>> tvlib.ExoRadioPlayer: onIsLoadingChanged(isLoading=false)
>> tvlib.ExoRadioPlayer: onPlaybackStateChanged(state=Buffering)
>> 
>> Why not adding a ExoPlayer Volume Parameter within the Radio Channel start
>> For example …
>> exoPlayer.sendMessage(audioRenderer, MediaCodecAudioTrackRenderer.MSG_SET_VOLUME, 0.9f);
>> 
>> 
> 
Icecast does not send any explicit messages over to the player, it just provides a HTTP stream.

One option would be to include a special HTTP header in Icecasts response, and make ExoPlayer use that (not sure if it provides necessary API for that though).

>> A static setting on the ExoPlayer in the client is not an option, because the Player is also used by other applications.
>> Changing Volume in Set-top-box will affect all applications. 
>> 
> 
So you are not even invoking ExoPlayer programmatically in a way where you can set such settings? Then even the approach I suggested above might not be feasible.

However if you want someone to look further into the matter, this might be beyond what volunteers on this list can do, especially as it is not really about solely Icecast but your specific integration/client software.

>> Sincerely,
>> Patrick
>> 
>>  
>> Von: Roman Gorshunov <paye600 at gmail.com> 
>> Gesendet: Mittwoch, 24. August 2022 19:18
>> An: Schneider Patrick, B2C-TSP-ITE <Patrick.Schneider1 at swisscom.com>
>> Cc: icecast-dev at xiph.org
>> Betreff: Re: [Icecast-dev] Radio Loudness
>>  
>> Hello Patrick,
>>  
>> It’s not really a media streaming server’s (Icecast) job to alter the volume. Volume is set either by the media source or in player.
>> In addition to that, media streaming server does not allow clients (players) to control media source (e.g. change volume or skip tracks).
>>  
>> I might misunderstood your question though.
>>  
>> Best regards,
>> Roman Gorshunov
>> 
>> 
>> On 24 Aug 2022, at 11:11, Patrick.Schneider1 at swisscom.com wrote:
>> 
>>  
>> Dear All
>> 
>> We are looking for a solution to send a volume parameter to our ExoPlayer during the icecast streaming initialization phase.
>> Something like this …
>> 
>> Volume example:
>>         exoPlayer.sendMessage(audioRenderer, MediaCodecAudioTrackRenderer.MSG_SET_VOLUME, 0.9f);
>> 
>> Is there a way to set the icecast egress streaming with an ExoPlayer default Volume?
>> 
>> Sincerely,
>> Patrick
>> 
>> 
>> 
>>  
>> 
>> _______________________________________________
>> Icecast-dev mailing list
>> Icecast-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast-dev
>> _______________________________________________
>> Icecast-dev mailing list
>> Icecast-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast-dev/attachments/20220825/6b2dfef7/attachment.htm>


More information about the Icecast-dev mailing list