add direction option to videoport create api