Commit dd8525f7 authored by Linshizhi's avatar Linshizhi

Remove debug print.

parent 24cd1715
......@@ -249,14 +249,13 @@ class Channel {
length += plan.size;
}
console.log("CHANNEL: WRITE " + length, data.byteLength);
// Caution: 'Write Pointer' must be updated after
// all datas are writed but not before or
// at intermediate of some writes otherwise
// oppsite side may read invalid datas.
this.#writePointerUpdate(writePos);
return true;
}
......
......@@ -154,8 +154,6 @@ EM_PORT_API(int) getPackets(uint8_t *buffer, uint32_t size, uint32_t *osize) {
goto DONE;
}
printf("WASM Encode: Packet Size %d\n", packet->size);
// For video frame avcodec_receive_packet should return
// only once.
if (remainSize > packet->size) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment