Switch web_proxy over to rawrtc
In theory, nothing else should change... This will make it possible to
run the web proxy and web plotter in applications which use absl among
other things.
Future work should involve reducing a copy (we copy an extra time when
buffering), and making web_proxy not spin at 100% CPU when it is done by
reshuffling how the event loop works a bit better.
Change-Id: Iab6b6b278c5e830bb71e107824b364dfe7cad46d
diff --git a/aos/network/web_proxy_utils.h b/aos/network/web_proxy_utils.h
index 09ad333..cfed19d 100644
--- a/aos/network/web_proxy_utils.h
+++ b/aos/network/web_proxy_utils.h
@@ -8,11 +8,8 @@
int GetPacketCount(const Context &context);
-/*
- * Packs a message embedded in context into a MessageHeader on fbb. Handles
- * multipart messages by use of the packet_index.
- * TODO(alex): make this an iterator that returns each packet sequentially
- */
+// Packs a message embedded in context into a MessageHeader on fbb. Handles
+// multipart messages by use of the packet_index.
flatbuffers::Offset<MessageHeader> PackMessage(
flatbuffers::FlatBufferBuilder *fbb, const Context &context,
int channel_index, int packet_index);