On Mon, Mar 22, 2010 at 2:22 PM, strk
<address@hidden> wrote:
On Tue, Mar 23, 2010 at 02:04:15AM +0530, George Thomas wrote:
> FILE *newin = fopen(_playpath.c_str(), "r+b");
> _conn.reset(new tu_file(newin, true));
>
> The getstream function returns _conn
>
> _conn->write(...,...);
> was used to write
> Is this the right approach or any modifications need to be done?
Ehm.... I'm afraid you're counting way too much on tu_file class.
No, that's not the right approach, the whole O part of IOChannel
was never used and never implemented either.
You may want to impement your IOChannel subclass for RTMP.