Skip to content
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

How to streaming files, i.e., for MP4 file? #11

Open
zhangmGoL opened this issue Dec 16, 2019 · 1 comment
Open

How to streaming files, i.e., for MP4 file? #11

zhangmGoL opened this issue Dec 16, 2019 · 1 comment

Comments

@zhangmGoL
Copy link

In Multimedia Files transmission, streaming is important, how can we use webcc to achieve this?

Thanks.

@sprinfall
Copy link
Owner

Multipart form doesn't support streaming.
If you don't mean multipart form data, here are some examples for data streaming:
Client: https://github.com/sprinfall/webcc/blob/master/examples/file_downloader.cc
Server: https://github.com/sprinfall/webcc/blob/master/examples/static_file_server.cc
Server (RESTful): https://github.com/sprinfall/webcc/blob/master/examples/book_server/views.cc (see BookPhotoView::Put())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants