Wowza Community

"ts" to "js" extension

My question: output file “m3u8”, “ts” extensions.

How to change output “mtv.m3u8” file to “mtv.json” “mtv-123122313.ts” file to “mtv-123122313.js” ?

For example:

mtv.json

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1797
#EXT-X-TARGETDURATION:5
#EXTINF:5.000,
mtv-1610887534362.js
#EXTINF:5.000,
mtv-1610887539364.js
#EXTINF:5.000,
mtv-1610887544374.js

i want to show my output ts file like mtv-1610887544374.js

in some site i saw same extensions but i cant do same. i think its possible. but how? anyone know about this something?