469,646 Members | 1,198 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

Converting byte[] to audio or video stream

2
I'm working with a sql db field that stores audio and video as a varbinary(max) field. I'm able to retrieve this from the db as a byte[], but I'm struggling to figure out how to convert it back to an audio or video object that I can embed or link to in my website. I'm able to determine if the object is a audio or video from another field that is prefixed withe either "au_" or "vi_". Any help would be greatly appreciated.
Oct 31 '07 #1
1 1490
Plater
7,872 Expert 4TB
Well you have the byte[] that makes up the data. Save it as a file?
Oct 31 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Rajesh Kapur | last post: by
reply views Thread by Tim Bücker | last post: by
6 posts views Thread by k.vanderstarren | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.