chaimPaneth / react-native-jw-media-player

React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
MIT License
190 stars 91 forks source link

Endless Loading Issue with VAST Live Ads on Android #337

Open anyarik opened 6 months ago

anyarik commented 6 months ago

Encountering an issue with endless loading for live VAST-type advertisements from SmartyAds on Android. The ad request returns a 204 status, leading to an infinite ad loading loop. However, the same ad on iOS is processed and does not exhibit endless loading (the request status in the logs also shows as 204).

Snippet of ad configuration:

advertising: {
  adClient: 'vast',
  adSchedule: [
    {
      offset: "00:00:01",
      tag: "https://n1.smartyads.com/?c=v&m=api&res=xml&placementId=2266&bundle=com.flixsnip&us_privacy=1---&coppa=0&lmt=0&dnt=0&gdpr=0&gdpr_consent=%7Bgdpr_consent_534%7D&cust_params=age%3D60-plus%26gender%3Dmale",
    }
  ]
}

Environment: