A quick question: is it possible to alter (with a server-side module) the metadata coming from a live stream?
The scenario I wish to achieve is the following:
- an user publishes a live stream
- the server intercepts the metadata coming on the streams before they're sent to the other clients
- the server alters the metadata packet and writes it back onto the stream
I can read the metadata coming on the stream with a module which implements IMediaStreamActionNotify2 (overriding the onMetaData function), but I can't find a function to write the metadata back.
Another path that I've been following was to write a class which performs the very same actions for MediaReaderFLV but in a live scenario, but I don't think that such a class exists.