Since I have installed kodi 17 on HIMEDIA Q 10 pro I have problem of buffering.
.....
I am not an expert but my conclusion is that there is a problem withHIMEDIA Q 10 pro.
Logic says the problem is Kodi 17, not Q10 Pro.
Kodi 17 is not good for streaming add-ons on Android. Hopefully 18 will be better. In the meantime I would personally go back to Kodi 16.1, however you could try this fix for Kodi 17 streaming problems:
From http://www.futeko.com/newforum/index.php?topic=1570.0:
Go to Settings -> Player -> Videos
and turn off "Allow hardware acceleration - MediaCodec (Surface)"