YouTube blocks all the users streaming for the first time for a period of 24 hours to avoid spam.
If it's your first time streaming, visit YouTube and request access to streaming by following these steps:
After the 24 hours have passed, you'll be able to access the live streaming page where you'll find the Stream Key.
Don't change any of the settings, just copy the streaming key to the clipboard.