public static extern int RTMP_ClientPacket(ref RTMP r, ref RTMPPacket packet);
 public static extern int RTMP_IsTimedout(ref RTMP r);
 public static extern int RTMP_ToggleStream(ref RTMP r);
 public static extern int RTMP_SendPacket(ref RTMP r, ref RTMPPacket packet, int queue);
 public static extern int RTMP_IsConnected(ref RTMP r);
 public static extern int RTMP_SetupURL(ref RTMP r, string url);
 public static extern int RTMP_Serve(ref RTMP r);
 public static extern int RTMP_SendPause(ref RTMP r, int DoPause, int dTime);
 public static extern int RTMP_Pause(ref RTMP r, int DoPause);
 public static extern void RTMP_EnableWrite(ref RTMP r);
 public static extern int RTMP_SendCtrl(ref RTMP r, short nType, uint nObject, uint nTime);
 public static extern void RTMP_Free(ref RTMP r);
 public static extern void RTMP_Close(ref RTMP r);
 public static extern void RTMP_Init(ref RTMP r);
 public static extern void RTMP_SetBufferMS(ref RTMP r, int size);
 public static extern int RTMP_SendCreateStream(ref RTMP r);
 public static extern void RTMP_UpdateBufferMS(ref RTMP r);
 public static extern int RTMP_SendSeek(ref RTMP r, int dTime);
 public static extern int RTMP_Connect(ref RTMP r, ref RTMPPacket cp);
 public static extern int RTMP_SendServerBW(ref RTMP r);
 public static extern int RTMP_ReadPacket(ref RTMP r, ref RTMPPacket packet);
 public static extern int RTMP_SendClientBW(ref RTMP r);
 public static extern int RTMP_SendChunk(ref RTMP r, ref RTMPChunk chunk);
 public static extern void RTMP_DropRequest(ref RTMP r, int i, int freeit);
 public static extern int RTMP_Socket(ref RTMP r);
 public static extern int RTMP_Read(ref RTMP r, string buf, int size);
 public static extern double RTMP_GetDuration(ref RTMP r);
 public static extern int RTMP_Write(ref RTMP r, string buf, int size);
 public static extern int RTMP_ReconnectStream(ref RTMP r, int seekTime);
 public static extern int RTMP_GetNextMediaPacket(ref RTMP r, ref RTMPPacket packet);