I have an error while trying to connect to the api with my unity app

Hello, I have find a solution to the problem, i forgot this line at GetStreamUrl():

request.Headers.Add("Client-Id", clientId);

But now my material is not rendering every frame the stream. How anyone knows how can i do it?

Thanks!