Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
What is librtmp and how can I used in my GUI Windows applicationWhat exactly is librtmp and how can I used in my GUI Windows application?
|
#2
|
|||
|
|||
Re: What is librtmp and how can I used in my GUI Windows applicationNAME
librtmp − RTMPDump Real-Time Messaging Protocol API LIBRTMP LIBRARY RTMPDump RTMP (librtmp, -lrtmp) LIBRTMP SYNOPSIS #include <librtmp/rtmp.h> LIBRTMP DESCRIPTION The Real-Time Messaging Protocol (RTMP) is used for streaming multimedia content across a TCP/IP network. This API provides most client functions and a few server functions needed to support RTMP, RTMP tunneled in HTTP (RTMPT), encrypted RTMP (RTMPE), RTMP over SSL/TLS (RTMPS) and tunneled variants of these encrypted types (RTMPTE, RTMPTS). The basic RTMP specification has been published by Adobe but this API was reverse-engineered without use of the Adobe specification. As such, it may deviate from any published specifications but it usually duplicates the actual behavior of the original Adobe clients. The RTMPDump software package includes a basic client utility program in rtmpdump, some sample servers, and a library used to provide programmatic access to the RTMP protocol. This page gives an overview of the RTMP library routines. These routines are found in the -lrtmp library. Many other routines are also available, but they are not documented yet. The basic interaction is as follows:
All data is transferred using FLV format. The basic session requires an RTMP URL. The RTMP URL format is of the form Code:
rtmp[t][e|s]://hostname[:port][/app[/playpath]] Additional options may be specified by appending space-separated key=value pairs to the URL. Special characters in values may need to be escaped to prevent misinterpretation by the option parser. The escape encoding uses a backslash followed by two hexadecimal digits representing the ASCII value of the character. E.g., spaces must be escaped as \20 and backslashes must be escaped as \5c. LIBRTMP OPTIONS librtmp Network Parameters These options define how to connect to the media server.
librtmp Connection Parameters These options define the content of the RTMP Connect request packet. If correct values are not provided, the media server will reject the connection attempt.
librtmp Session Parameters These options take effect after the Connect request has succeeded.
librtmp Security Parameters These options handle additional authentication requests from the server.
LIBRTMP EXAMPLES An example character string suitable for use with RTMP_SetupURL(): Code:
rtmp://flashserver:1935/ondemand/thefile swfUrl=http://flashserver/player.swf swfVfy=1 LIBRTMP HOME The value of $HOME is used as the location for the .swfinfo file. FILES $HOME/.swfinfo Cache of SWF Verification information SEE ALSO RTMPdump |
Tags: librtmp |
Thread Tools | |
Display Modes | |
|
|