This is more a question to help my understand of how things work.
In the demo app, it uses messages from the response callback to trigger setting a different part of the channel before finally opening it. I understand this.
If I perform the setting of the channel parameters outside of the callback function, the channel event callback function never gets called.
If I perform the setting of the channel parameters outside of the response callback function and still setup the response callback function (but with no code inside - just playing), the chancel event callback starts receiving data.
Could someone help me understand why this is so.
Thanks