shithub: rtmp

ref: 354c3b1554f91af178c28cf6e34ac1585df5b757
dir: /rtmp.h/

View raw version
typedef struct RTMP RTMP;

#pragma incomplete RTMP

int rtmpstream(RTMP *r, ulong *sid);

enum {
	PubLive,
	PubAppend,
	PubRecord,
};
int rtmppublish(RTMP *r, ulong sid, int type, char *name);

RTMP *rtmpdial(char *url);
void rtmpclose(RTMP *r);