If you are using the default VODS3 application it is quite easy to spot your file names using a packet sniffer such as wireshark. I don't prefer this, so I've made an own .jar file that overrides the play function, of which the code is written here:
This works fine and the file name in the play method is hidden succesfully . But... now the Netstream.Play.Reset.description and Netstream.Play.Start.description are still revealing my original file name. Please have at look at my screenshot here: screenshot.
public class ModuleVODS3changename extends ModuleBase
public void play(IClient client, RequestFunction function, AMFDataList parameters)
String oldstring = extractStreamName2(client, function, parameters);
String newstring = "do what ever you want here" + oldstring + ".flv";
invokePrevious(client, function, parameters);
public String extractStreamName2(IClient client, RequestFunction function, AMFDataList params)
String streamName = params.getString(PARAM1);
if (streamName != null)
String streamExt = MediaStream.BASE_STREAM_EXT;
String streamDecode = ModuleUtils.decodeStreamExtension(streamName, streamExt);
streamName = streamDecode;
streamExt = streamDecode;
Does anybody have an idea how to overwrite these as well? It must be possible since it are just descriptions. I've tried to overwrite PARAM2 until 10 but this was of little succes.