-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #645 SeekableOutputStream #1350
Conversation
Thanks! Let's also add a small unit test for this to make sure it works. |
Also, can we make this work with any |
The problem |
I am not sure about unit tests for video creation are there any examples? Or are you talking about the ´SeekableByteArrayOutputStream´ only? |
You're right, it's probably not worth hacking this too much. Let's put the interface outside as a top-level class as well. And to make it more consistent with conventions, let's name the method
Yes, just something to test |
done I added some test cases for write and seek. There is also added on test to compare .mp4 written to file and |
I tried to follow code conventions. If there is anything amiss just give some hints (e.g. missing documentation) |
By the way. I am new to GitHub. Ist there besides the issues and pull requests any forum for general questions? E.g. code style, Java compatibility version etc |
I try to follow the conventions from the original document here:
As mentioned in the README.md file, there is a mailing list here: But because accessing Google from China and a few other countries isn't reliable, many people just post their questions as GitHub issues. There isn't anything else than that. |
Added a SeekCallback and SeekableOutputStream interface to write e.g. mp4 files into a byte array
As requested in issue #645