[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [patch #8086] RTMP netStream patch

From: George Thomas
Subject: [Gnash-commit] [patch #8086] RTMP netStream patch
Date: Fri, 06 Sep 2013 11:30:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0

Follow-up Comment #37, patch #8086 (project gnash):

> My idea was to have StreamProvider support RTMP directly, having an
RTMP-based subclass of IOChannel.

Currently the streaming is working with libcurl networkadapter which returns
an IOChannel

Unlike http here we make a connection and then, we can use it to create
multiple streams. So after connection is made with a base url, different
streams can be made. 

eg connecting to avatar.flv, toystory.flv once connected.

The play command gets only the filenames as argument. So for rtmp, inorder to
use the stream, the url needs to the added before the argument.

As the NetStream does not have a generic connection object like the one in
NetConnection, I used isRTMP() and took different steps for both.

Ideally should I be having a generic stream with class httpStream and
rtmpStream as its derived classes with methods play() , close(), pause() etc ?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]