mirror of https://bitbucket.org/ausocean/av.git
Implemented rtmp close func, but need to do more testing - also changed rtmp.c and rtmp.h to remove static funcs
This commit is contained in:
parent
09a1470df7
commit
c01ea8323c
|
@ -115,7 +115,7 @@ static int SocksNegotiate(RTMP *r);
|
|||
static int SendConnectPacket(RTMP *r, RTMPPacket *cp);
|
||||
static int SendCheckBW(RTMP *r);
|
||||
static int SendCheckBWResult(RTMP *r, double txn);
|
||||
static int SendDeleteStream(RTMP *r, double dStreamId);
|
||||
int SendDeleteStream(RTMP *r, double dStreamId);
|
||||
static int SendFCSubscribe(RTMP *r, AVal *subscribepath);
|
||||
static int SendPlay(RTMP *r);
|
||||
static int SendBytesReceived(RTMP *r);
|
||||
|
@ -406,7 +406,7 @@ static const char DEFAULT_FLASH_VER[] = DEF_VERSTR;
|
|||
const AVal RTMP_DefaultFlashVer =
|
||||
{ (char *)DEFAULT_FLASH_VER, sizeof(DEFAULT_FLASH_VER) - 1 };
|
||||
|
||||
static void
|
||||
void
|
||||
SocksSetup(RTMP *r, AVal *sockshost)
|
||||
{
|
||||
if (sockshost->av_len)
|
||||
|
@ -1872,7 +1872,7 @@ SendFCPublish(RTMP *r)
|
|||
|
||||
SAVC(FCUnpublish);
|
||||
|
||||
static int
|
||||
int
|
||||
SendFCUnpublish(RTMP *r)
|
||||
{
|
||||
RTMPPacket packet;
|
||||
|
@ -1939,7 +1939,7 @@ SendPublish(RTMP *r)
|
|||
|
||||
SAVC(deleteStream);
|
||||
|
||||
static int
|
||||
int
|
||||
SendDeleteStream(RTMP *r, double dStreamId)
|
||||
{
|
||||
RTMPPacket packet;
|
||||
|
@ -2424,7 +2424,7 @@ AV_queue(RTMP_METHOD **vals, int *num, AVal *av, int txn)
|
|||
(*vals)[(*num)++].name.av_val = tmp;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
AV_clear(RTMP_METHOD *vals, int num)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -289,6 +289,14 @@ extern "C"
|
|||
void RTMP_SetBufferMS(RTMP *r, int size);
|
||||
void RTMP_UpdateBufferMS(RTMP *r);
|
||||
|
||||
void AV_clear(RTMP_METHOD *vals, int num);
|
||||
|
||||
void SocksSetup(RTMP *r, AVal *sockshost);
|
||||
|
||||
int SendFCUnpublish(RTMP *r);
|
||||
|
||||
int SendDeleteStream(RTMP *r, double dStreamId);
|
||||
|
||||
int RTMP_SetOpt(RTMP *r, const AVal *opt, AVal *arg);
|
||||
int RTMP_SetupURL(RTMP *r, char *url);
|
||||
void RTMP_SetupStream(RTMP *r, int protocol,
|
||||
|
|
Loading…
Reference in New Issue