How do comedy tour recordings work?

I know all of them don’t inmediatley record one of the shows and it goes to Netflix, but let’s say if I’m going on tour and I choose to have it be released via, Netflix HBO, DVD (can I do DVD?) or something do I just randomly record a special at one of my shows randomly? Or is it one show and THEN a tour? And where do I release them?
Answers

NONAME

It sure seems like they do just randomly record one of their shows as When I listen to a famous comedian live I notice that they use a lot of the same material I have already heard before.