@Lalitk
@soix
+1
The sound quality coming from a CD player is the sum of all its internal component... physical transport, streamer, and DAC (as well as its power supply, internal design, case... etc). The quality of streaming is the quality of the streamer and your DAC. Assuming we are talking about a very good streamer, it will isolate you from network noise (if not then this can be an additional variable). So, to make a valid comparison you have to have all the components the same level of sound quality. Difficult for most.
I have had a number of CD players, DACs, and streamers over time. Currently I have a great CD Player / DAC (functioning as both... great for comparisons) and streamer (which has internal memory for ripped CDs). I have compared a number of albums which were the same recording and mastering. The short story is the CD, internally stored files, and streaming sounds the same. So, just as in comparing vinyl, the sound quality is dependent on the equipment you are using, not on the media. There is an additional variable thrown in to vinyl, the pressing number as unlike digital where each recording is the same analog is not. But typically this is not a huge difference.