HLS modify EXT-X-VERSION on the fly

Hi!

The problem i’m trying to solve is that I need HLS version 5 to enable Fairplay DRM but I have some devices (that i can identify) that only work with HLS version 3 and I would like to serve the content under the same URL.

Is it possible to change the EXT-X-VERSION of a HLS (cupertino) stream on the fly by API (Java/Rest) ?

Any other sugestion to solve this issue?

Thanks!

Nico