[Libwebsockets] [libwebsockets] #45: What's the best way to send huge images/video files from client to server?

Trac trac at libwebsockets.org
Mon Nov 4 03:46:27 CET 2013


#45: What's the best way to send huge images/video files from client to server?
-------------------------------------+---------------------
  Reporter:  jdnevarez               |      Owner:
      Type:  task                    |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:  jpg mp4
-------------------------------------+---------------------

Comment (by agreen):

 You can solve it with fragments, take a look at the fraggle test app to
 see how to indicate that you're sending a frame that is part of a
 multiframe message, and how to signal that the current fragment is the
 last one.

 That way you can send as big a message as you like, even endless messages
 if you're streaming an unknown amount etc.

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/45#comment:1>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list