How to deny RTMP clients any access to server shared objects, without borking live streaming?
It's kind of strange, and the documentation is very vague.
I have a server side shared object I wish to protect from any peeking by RTMP clients, much less altering, and I have done the following in my Application.onConnect function:
client.writeAccess = "";
client.readAccess = "";
I am sure this denies clients access to the shared objects.
The problem is, it makes live streaming impossible - server writes:
"Write access denied for stream *****.
Read access denied for stream *****."
... and clients attempting to play any live publishing stream get a NetStream.Play.Failed while publishing a live stream raises an event with NetStream.Record.NoAccess, even though I am not recording anything at all.
My question is fairly obvious and simple: how to deny clients any read access to some/all shared objects yet keep live streaming working?
Is it possible at all?
Thanks.
