deb
This commit is contained in:
parent
02a522a188
commit
c0459de3ac
1 changed files with 3 additions and 0 deletions
|
|
@ -102,6 +102,9 @@ export default class webRTC {
|
|||
const packet = packets[i]
|
||||
const tlv = encodeTLVDataPacket({ dataId: id, packetNum: i + 1, totalPackets: packets.length, data: packet })
|
||||
const bytes = encodeTLV(tlv)
|
||||
if (i === 0) {
|
||||
console.log("sending first packet", bytes)
|
||||
}
|
||||
channel.send(bytes)
|
||||
}
|
||||
} catch (e: any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue