static ByteBuffer EncodeClientBW(RtmpContext context, ClientBW clientBW)
 {
     ByteBuffer output = ByteBuffer.Allocate(5);
     output.PutInt(clientBW.Bandwidth);
     output.Put(clientBW.Value2);
     return output;
 }
示例#2
0
 protected override void OnClientBW(RtmpConnection connection, RtmpChannel channel, RtmpHeader source, ClientBW clientBW)
 {
     
 }
示例#3
0
 /// <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);