I have a use case where I’d like to make an asynchronous remoting call and receive results before I process RTMP clients. While I’m waiting for the response from the remoting request, I’d like to defer handling of RTMP connections, as I’ll need the data from the remoting call to make logical decisions.
I find that I can store references to the IClient objects in a map, but if I don’t invoke acceptConnection or rejectConnection on a client object in a module’s onConnect method, Wowza will invoke acceptConnection for me (I assume there is a handler in ModuleBase that’s doing this for me).
Is there a way to prevent this behavior, and just leave my IClients in my map until I’m ready to deal with them?
Thanks,
Jay