jiangatnet...@gmail.com wrote:
I then come to know that the channel can't be re-opened since
NS_ERROR_IN_PROGRESS is returned by Open, however, I want to retrieve
the stream from the ALREADY OPENED channel.

There is no "the stream" if you have an already opened channel. There's just the promise to hand out streams through the OnDataAvailable callbacks on its listener.

In a recent Gecko you might be able to intercept these with nsITraceableChannel, but in general the channel's data is only meant for whoever opened the channel.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to