I am trying to broadcast my video on YouTube in java program. So far, I am able to ingest video in ingestion url/address. And, when I run my program I get these screens:
First Screen :

Then when I click on Preview button, I get Second Screen:

Nothing happens not can see in video on show Please stand by. After 3-4 seconds, I get Third Screen:

I really don't know what is the exact problem. Why I am not able to see anything though I am ingesting video in ingestion url/address. And, why screen things get changed after 3-4 seconds.
More details:
I am working on MacBook air, installed FMLE but when I open FMLE it says No capture device detected.
Modified code from:
Youtube Live Streaming API - Stream is not appearing in Youtube
I want to know whether its a code issue or FMLE.