cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] RTMP: added swf verification options

From: Howard Chu <hyc_at_highlandsun.com>
Date: Fri, 23 Jul 2010 17:48:37 -0700

Przemyslaw Iskra wrote:
> On Fri, Jul 23, 2010 at 04:49:06PM -0700, Howard Chu wrote:
>> This patch is a bad idea. You should simply use the URL options.
>> Accessing fields inside the RTMP structure will make this code
>> version-dependent and cause incompatibilities when librtmp is updated.
>
> Do you mean I should use the overcomplicated RTMP_SetupStream()
> function ?

No. All the functionality you need are already in the existing libcurl code.
No other librtmp APIs are needed. RTMP_SetupStream() is deprecated and will be
removed.

> It is the only way I see to pass those values to librtmp without
> touching the struct.

Then you haven't read the manpage.

http://rtmpdump.mplayerhq.hu/librtmp.3.html

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-24