When using profile onDemand and drm (also with dual) the output is weird.
Cannot be played, and most important, when we look at the M3U8 file it looks like this, so it doesn't even show it is DRM protected even it is (and if we look at full-segment.mp4 it shows all green as it is). However, when trying to play from the mpd file, that shows it is DRM, it cannot be played either.

Some weird thing is happening, I cannot figure out what

```
#EXTM3U
#EXT-X-TARGETDURATION:5
#EXT-X-VERSION:6
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MAP:URI="full-segment.mp4",BYTERANGE="1151@0"
#EXTINF:5
#EXT-X-BYTERANGE:142072@1283
full-segment.mp4

#EXT-X-ENDLIST
```



Bug with profile onDemand and DRM
This is a GitHub Issue
repo:gpac
owner:gpac
Title : Bug with profile onDemand and DRM
Issue date:

--- start body ---
When using profile onDemand and drm (also with dual) the output is weird.
Cannot be played, and most important, when we look at the M3U8 file it looks like this, so it doesn't even show it is DRM protected even it is (and if we look at full-segment.mp4 it shows all green as it is). However, when trying to play from the mpd file, that shows it is DRM, it cannot be played either.

Some weird thing is happening, I cannot figure out what

```
#EXTM3U
#EXT-X-TARGETDURATION:5
#EXT-X-VERSION:6
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MAP:URI="full-segment.mp4",BYTERANGE="1151@0"
#EXTINF:5
#EXT-X-BYTERANGE:142072@1283
full-segment.mp4

#EXT-X-ENDLIST
```



--- end body ---
