I'm creating a system that stores lectures in mp3 format within a DB2 blob column. This piece is working fine.
Now I want to stream this stored audio. Each file has about 100MB that's why streaming is important.
I have created I restful service using jersey but it doesn't stream, I have to wait the whole file download before I start listening.
I found a nice java streaming code but it works for a file and and don't want to convert each blob into file first and then share.
Does anyone have a suggestion or some example code showing how I can accomplish that?
Thanks
Aucun commentaire:
Enregistrer un commentaire