lichess-org / mobile

Lichess mobile app v2
GNU General Public License v3.0
1.23k stars 177 forks source link

Stream broadcast pgn #809

Closed julien4215 closed 2 months ago

julien4215 commented 3 months ago

Still experimenting with the streaming endpoint. I need to find a way to close the request.

veloce commented 2 months ago

Is websocket not the way to go? Have you discussed with @ornicar about it? Sorry if I haven't followed this closely. I just want to make sure we follow the proper path from the beginning. In the rest of the app we're not using any streaming endpoint but websocket instead. I'm not sure why it would be different here, but I can be wrong of course.

julien4215 commented 2 months ago

I have already discussed this with you and @ornicar but I agree that using the streaming pgn endpoint of the API doesn't feel right knowing that to get cloud analysis evals I will need to use the websocket and that I am starting to realize that there will be some issues to link the information I received from the streaming endpoint, the websocket and the no streaming endpoint which gives additional information for each board.

veloce commented 2 months ago

What is preventing you from using the websocket at the moment?

julien4215 commented 2 months ago

ornicar told me to use the http streaming for moves. Also I don't think the websocket allows you to get the full pgn of the games.

julien4215 commented 2 months ago

Close as it was decided to use the websocket instead of the http streaming