Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Diego Biurrun
On Sat, Jun 16, 2012 at 12:50:36PM +0200, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp://

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Samuel Pitoiset
On Sun, Jun 17, 2012 at 3:43 PM, Diego Biurrun di...@biurrun.de wrote: On Sat, Jun 16, 2012 at 12:50:36PM +0200, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Martin Storsjö
On Sun, 17 Jun 2012, Samuel Pitoiset wrote: On Sun, Jun 17, 2012 at 3:43 PM, Diego Biurrun di...@biurrun.de wrote: On Sat, Jun 16, 2012 at 12:50:36PM +0200, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Diego Biurrun
On Sun, Jun 17, 2012 at 05:02:15PM +0300, Martin Storsjö wrote: On Sun, 17 Jun 2012, Samuel Pitoiset wrote: On Sun, Jun 17, 2012 at 3:43 PM, Diego Biurrun di...@biurrun.de wrote: On Sat, Jun 16, 2012 at 12:50:36PM +0200, Samuel Pitoiset wrote: This adds two protocols, but one of them is an

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Martin Storsjö
On Sun, 17 Jun 2012, Diego Biurrun wrote: On Sun, Jun 17, 2012 at 05:02:15PM +0300, Martin Storsjö wrote: On Sun, 17 Jun 2012, Samuel Pitoiset wrote: On Sun, Jun 17, 2012 at 3:43 PM, Diego Biurrun di...@biurrun.de wrote: On Sat, Jun 16, 2012 at 12:50:36PM +0200, Samuel Pitoiset wrote: This

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Diego Biurrun
On Sun, Jun 17, 2012 at 05:15:04PM +0300, Martin Storsjö wrote: On Sun, 17 Jun 2012, Diego Biurrun wrote: On Sun, Jun 17, 2012 at 05:02:15PM +0300, Martin Storsjö wrote: On Sun, 17 Jun 2012, Samuel Pitoiset wrote: On Sun, Jun 17, 2012 at 3:43 PM, Diego Biurrun di...@biurrun.de wrote: On Sat,

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-17 Thread Martin Storsjö
On Sun, 17 Jun 2012, Diego Biurrun wrote: On Sun, Jun 17, 2012 at 05:15:04PM +0300, Martin Storsjö wrote: On Sun, 17 Jun 2012, Diego Biurrun wrote: On Sun, Jun 17, 2012 at 05:02:15PM +0300, Martin Storsjö wrote: On Sun, 17 Jun 2012, Samuel Pitoiset wrote: On Sun, Jun 17, 2012 at 3:43 PM,

[libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Samuel Pitoiset
This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows moving most of the lower level logic out from the

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Martin Storsjö
On Sat, 16 Jun 2012, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows moving

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Samuel Pitoiset
On Sat, Jun 16, 2012 at 9:43 PM, Martin Storsjö mar...@martin.st wrote: On Sat, 16 Jun 2012, Samuel Pitoiset wrote: This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-16 Thread Martin Storsjö
On Sat, 16 Jun 2012, Samuel Pitoiset wrote: +static int rtmp_http_open(URLContext *h, const char *uri, int flags) +{ +    RTMP_HTTPContext *rt = h-priv_data; +    char headers[1024], url[1024]; +    int ret, off = 0; + +    av_url_split(NULL, 0, NULL, 0, rt-host, sizeof(rt-host), rt-port, +    

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-15 Thread Martin Storsjö
On Wed, 13 Jun 2012, Samuel Pitoiset wrote: diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 1320a28..69f27ab 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -256,6 +256,8 @@ void av_register_all(void) REGISTER_PROTOCOL (MD5, md5);

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-15 Thread Samuel Pitoiset
On Fri, Jun 15, 2012 at 10:55 AM, Martin Storsjö mar...@martin.st wrote: On Wed, 13 Jun 2012, Samuel Pitoiset wrote: diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 1320a28..69f27ab 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -256,6 +256,8

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-14 Thread Diego Biurrun
On Wed, Jun 13, 2012 at 05:17:47PM +0200, Samuel Pitoiset wrote: This adds add two protocols, but one of them is an internal implementation adds add --- adds Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-14 Thread Diego Biurrun
On Wed, Jun 13, 2012 at 09:59:42PM +0300, Martin Storsjö wrote: On Wed, 13 Jun 2012, Samuel Pitoiset wrote: This adds add two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses

[libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-13 Thread Samuel Pitoiset
This adds add two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows moving most of the lower level logic out from the

Re: [libav-devel] [PATCH 2/2] RTMPT protocol support

2012-06-13 Thread Martin Storsjö
On Wed, 13 Jun 2012, Samuel Pitoiset wrote: This adds add two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows