I am using Explayer PlayerNotificationManger to show playback notifications for live-stream video played using Exoplayer2.
I have followed this medium blog and implemented the same.
However, when the code runs on the device, it shows a notification every 3-4 second for a live-stream video. Please suggest something that I may not get multiple and frequent notifications when one notification is already visible to user.