I have just started writing wowza server side modules. I have a simple question.
I hit the server using rtmp url with server rtmp://localhost/vod and stream as mp4:sample.mp4
In the module, I want to know how do I print the name of the file requested? I get control inside the function OnConnect when I click on play on the client side. Here I want to do the following:
System.out.println("File requested = "+client.getStreamName());
Expected output : File requested = sample.mp4
However I dont see function named getStreamName in IClient class. Its in RTPSession class but my program control doesn’t come within OnRTPSessionCreate function
Please let me know.