fix media streaming from dashboard
fix media streaming in apiclient