API for Direct streaming

Yes, nice! Basically same as this one: