From 98d5c609a3753338c1c639aec1f196c64edd3406 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 1 Oct 2020 19:05:39 +0200 Subject: [PATCH] Comment Packet structure --- stream/srt/srt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/stream/srt/srt.go b/stream/srt/srt.go index 1195227..62ca740 100644 --- a/stream/srt/srt.go +++ b/stream/srt/srt.go @@ -14,6 +14,7 @@ type Options struct { MaxClients int } +// Packet contains the necessary data to broadcast events like stream creating, packet receiving or stream closing. type Packet struct { Data []byte PacketType string