update header year
This commit is contained in:
parent
f49ca90491
commit
5343605c49
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
@ -20,6 +20,10 @@ export binary_serialization
|
||||||
logScope:
|
logScope:
|
||||||
topics = "webrtc datachannel"
|
topics = "webrtc datachannel"
|
||||||
|
|
||||||
|
# Implementation of the DataChannel protocol, mostly following
|
||||||
|
# https://www.rfc-editor.org/rfc/rfc8831.html and
|
||||||
|
# https://www.rfc-editor.org/rfc/rfc8832.html
|
||||||
|
|
||||||
type
|
type
|
||||||
DataChannelProtocolIds* {.size: 4.} = enum
|
DataChannelProtocolIds* {.size: 4.} = enum
|
||||||
WebRtcDcep = 50
|
WebRtcDcep = 50
|
||||||
|
@ -201,7 +205,7 @@ proc readLoop(conn: DataChannelConnection) {.async.} =
|
||||||
try:
|
try:
|
||||||
while true:
|
while true:
|
||||||
let message = await conn.conn.read()
|
let message = await conn.conn.read()
|
||||||
# TODO: might be necessary to check the others protocolId at some point
|
# TODO: check the protocolId
|
||||||
if message.params.protocolId == uint32(WebRtcDcep):
|
if message.params.protocolId == uint32(WebRtcDcep):
|
||||||
#TODO should we really await?
|
#TODO should we really await?
|
||||||
await conn.handleControl(message)
|
await conn.handleControl(message)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2022 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Nim-WebRTC
|
# Nim-WebRTC
|
||||||
# Copyright (c) 2023 Status Research & Development GmbH
|
# Copyright (c) 2024 Status Research & Development GmbH
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||||
|
|
Loading…
Reference in New Issue