hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanel Zukan <san...@gmail.com>
Subject Re: Play an audio file stored in HBASE in HTML5 audio player
Date Mon, 14 Dec 2015 23:35:44 GMT
Hi,

hbaseuser <ostap26@gmail.com> writes:
> I have an audio file stored in HBASE as a binary . 

In HBase? I would suggest you to put it on hdfs, since web server has to
know how to calculate offsets when client requests specific position in
audio stream.

If you have a custom web server, you can use SequenceFile; in case of
nginx/apache http/whatever, you can try to access it via fuse.

Best.

> Also I have a web page with HTML5 audio player like this : 
>
>
> <html>
>
> <body>
>
> <audio controls="controls" preload="Auto">
>  
> <source src="http://hbase/table/file/..." type="audio/ogg">
>  
> </audio>
>   
> </body>
>  
> </html>
>
> The problem that the player is not seekable , means that I have to listen to
> it till the end and unable to jump to the middle . When I point to another
> file this is perfectly works . 
>
>  What could be the problem  ? 
>
>
>
>
>
> --
> View this message in context: http://apache-hbase.679495.n3.nabble.com/Play-an-audio-file-stored-in-HBASE-in-HTML5-audio-player-tp4076570.html
> Sent from the HBase User mailing list archive at Nabble.com.

Mime
View raw message