static ByteBuffer EncodeClientBW(RtmpContext context, ClientBW clientBW) { ByteBuffer output = ByteBuffer.Allocate(5); output.PutInt(clientBW.Bandwidth); output.Put(clientBW.Value2); return output; }
protected override void OnClientBW(RtmpConnection connection, RtmpChannel channel, RtmpHeader source, ClientBW clientBW) { }
/// <summary> /// This method supports the Fluorine infrastructure and is not intended to be used directly from your code. /// </summary> /// <param name="connection"></param> /// <param name="channel"></param> /// <param name="source"></param> /// <param name="clientBW"></param> protected abstract void OnClientBW(RtmpConnection connection, RtmpChannel channel, RtmpHeader source, ClientBW clientBW);