Problem with kodi

dears, i have a problem with kodi.
When i connect me to my nas synology. The time to etablish the connexion is verry slow.
i try to see a movie but the movie lag after a few moment.
A plugin for live tv streaming lag also with my raspberry and work correctly on my computer.

Can i check something to find where is the problem?

https://discourse.osmc.tv/t/how-to-obtain-provide-necessary-info-for-a-useful-support-request-includes-current-versions/5507

hello,

Device: Rasp Pi /2
Installation media: SDcard 16 Go X10
Connection: CPL (wired)
Power Supply Type: Alimentation 5v 2000mA
Power specs: Peripherals: Nas Synology Ds 212 J,

https://osmc.tv/wiki/general/how-to-submit-a-useful-support-request/