Salary is important for a career but the most is choose what you truly love. I knew there are a lots of people who wanted to work as agent just because they thought they could get commission through a large number deal, but after the first year of agent and they quit.
One of our teacher (a broker) told us, generally they helped around 300-400 students a year to get the license, but there're 3-5 will really work as agent in the first year, and 2-3 agent will remain in the second year, those are the people who will work as agent as career.
In CA over 500K people hold a license. And also, if you just thinking about the median salary you could earn, then it will be the reality. In our teachers company where I always go, there is a Star of the Month board, those agents rank from 1st to 10th, the 10th agent got his "commission" over 10K a month. And the 1st is around 100K.
I said that much is I want to let you know that those people who earn that much because they work for there passion, not money.
If you really love real estate then go for it, don't care about the salary, just like I did.