private async Task SendOnStatus( long stream_id, int transaction, string level, string code, string description, CancellationToken cancel_token) { var status_command = CommandMessage.Create( this.ObjectEncoding, this.Now, stream_id, "onStatus", transaction, null, new AMFValue(new AMFObject { { "level", level }, { "code", code }, { "description", description }, }) ); await SendMessage(3, status_command, cancel_token); }