Exemplo n.º 1
0
 protected override void OnServerBW(RtmpConnection connection, RtmpChannel channel, RtmpHeader source, ServerBW serverBW)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Encode server-side bandwidth event
 /// </summary>
 /// <param name="context"></param>
 /// <param name="serverBW"></param>
 /// <returns></returns>
 static ByteBuffer EncodeServerBW(RtmpContext context, ServerBW serverBW)
 {
     ByteBuffer output = ByteBuffer.Allocate(4);
     output.PutInt(serverBW.Bandwidth);
     return output;
 }
Exemplo n.º 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="serverBW"></param>
 protected abstract void OnServerBW(RtmpConnection connection, RtmpChannel channel, RtmpHeader source, ServerBW serverBW);