Re: Problem writing audio to a stream with SE JP7 phones

[email protected]
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
Does your code write out chunks of data?  I'm assuming that you are posting this back to a server, is that correct?

In using the K800i I built a video capture tool that would capture the vid/aud and post it back to the server using a multipart-form post, however 2 things messed the transmission up.

1) the k800i I had used http1.1 which chunked the data meaning the server couldn't handle the multipart form correctly.
2) I wrote the entire chunk in one write request.  After about 30k of info it would return and not post the rest of the data.

So I wrote a socket handler that mimic an http1.0 socket to write the information out, and then wrote 2k of the buffer at a time until finished.

Maybe that info will help.

-Shawn
[Message sent by forum member 'sfitzjava' (sfitzjava)]

http://forums.java.net/jive/thread.jspa?messageID=237889

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.