Play music on lock screen & batterie saver

Mar 23, 2016
Hi ! I have a question ! I don't know if possible ?
I have setting on battery saver "stop data mobile" after 10 mins & "wipe cache" after 30 mins. Same as use on global Rom.
But when I lesson YouTube live background and closed the screen of my mi 8 on global Rom the sound never stop..
I make it today on Xiaomi eu and lesson same YouTube live stream after 10 mins the data stop and stream stop too.
How can do for don't stop data when use it on background ? Thanks.