In order to broadcast, you would first need a separate iRacing account (www.iracing.com).
Once you have the iRacing software installed, you would access the camera view.
You would then need to use a third party application to broadcast.
Here are two examples and videos that may be helpful:
and
This is iRacing's official broadcasting policy as of April 2, 2021: