Hi Minh,
This volume is relative to device volume, not absolute. Default value is 1.
The original volume/decibel of the TVC (video ad) will indeed affect the perceived loudness for the user even when using self.adsManager.volume = 0.5f in the IMA SDK on iOS. The self.adsManager.volume = 0.5f line sets a volume factor of 0.5. This factor is applied to a linear version of the decibel value.
• TVC1 has 80 decibels (higher volume)
• TVC2 has 60 decibels (lower volume)
• Both use self.adsManager.volume = 0.5f
Even though both TVCs have the same volume factor (0.5), TVC1 will be noticeably louder because its starting linear volume (after decibel conversion) is much higher.
Unfortunately, the IMA SDK for iOS doesn't provide a way to directly control the ad volume. However, potential volume variations between ads since some may be louder than others is expected behavior.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ3X3:ref" (ADR-00236009)
Thanks,
![Google Logo](https://ci5.googleusercontent.com/proxy/9ju5nEgrbHdGK5lig8X4MQGTM97n8nSbSJ60DOc1vPdXe8gGNPklA-zA7hXOkDgnMgO9hHT2x1N3rPhJg-wqpPZKMcC8T4A2ylAWasD7e8BJotDEo7M=s0-d-e1-ft#https://www.gstatic.com/images/branding/product/1x/googleg_64dp.png) |
IMA SDK Team |
![](https://ci6.googleusercontent.com/proxy/gNXHsl2LibsMJtVhqv7BkEfYq2A1Dc6hNBQYSmdbQjEsGeWJpnKLoewhkWbUd-mOPiZ0o9xh1BrEjgT-vogQf4mLmpO7Pr_GVJSi1hCqnYBbrVquiwjracbh1abPz_mRuFhSoi4vifjslr8aKvveZ3uD52PUW_d3AuV7sweI1xWdDuouDAOf1iBIYt4i7dY=s0-d-e1-ft#https://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U000001174p&esid=0184Q00001PXcTg&from=ext)