From f54dd139598e85239cdea16884f9b4edd8d5b8f3 Mon Sep 17 00:00:00 2001 From: Saxon Date: Tue, 16 Apr 2019 16:45:44 +0930 Subject: [PATCH] protocol/rtcp: added file headers --- protocol/rtcp/client.go | 28 ++++++++++++++++++++++++++++ protocol/rtcp/client_test.go | 27 +++++++++++++++++++++++++++ protocol/rtcp/parse.go | 27 +++++++++++++++++++++++++++ protocol/rtcp/parse_test.go | 27 +++++++++++++++++++++++++++ protocol/rtcp/rtcp.go | 28 ++++++++++++++++++++++++++++ protocol/rtcp/rtcp_test.go | 27 +++++++++++++++++++++++++++ 6 files changed, 164 insertions(+) diff --git a/protocol/rtcp/client.go b/protocol/rtcp/client.go index 674485a6..6d293648 100644 --- a/protocol/rtcp/client.go +++ b/protocol/rtcp/client.go @@ -1,3 +1,31 @@ +/* +NAME + client.go + +DESCRIPTION + client.go provides an implemntation of a basic RTCP client that will send + receiver reports, and receive sender reports to parse relevant statistics. + +AUTHORS + Saxon A. Nelson-Milton + +LICENSE + This is Copyright (C) 2019 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + in gpl.txt. If not, see http://www.gnu.org/licenses. +*/ + package rtcp import ( diff --git a/protocol/rtcp/client_test.go b/protocol/rtcp/client_test.go index 441bb758..b7d61572 100644 --- a/protocol/rtcp/client_test.go +++ b/protocol/rtcp/client_test.go @@ -1,3 +1,30 @@ +/* +NAME + client_test.go + +DESCRIPTION + client_test.go contains testing utilities for functionality provided in client.go. + +AUTHORS + Saxon A. Nelson-Milton + +LICENSE + This is Copyright (C) 2019 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + in gpl.txt. If not, see http://www.gnu.org/licenses. +*/ + package rtcp import ( diff --git a/protocol/rtcp/parse.go b/protocol/rtcp/parse.go index 4bf5e566..b033cb74 100644 --- a/protocol/rtcp/parse.go +++ b/protocol/rtcp/parse.go @@ -1,3 +1,30 @@ +/* +NAME + parse.go + +DESCRIPTION + parse.go contains functionality for parsing RTCP packets. + +AUTHORS + Saxon A. Nelson-Milton + +LICENSE + This is Copyright (C) 2019 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + in gpl.txt. If not, see http://www.gnu.org/licenses. +*/ + package rtcp import ( diff --git a/protocol/rtcp/parse_test.go b/protocol/rtcp/parse_test.go index 8692f73c..0d040578 100644 --- a/protocol/rtcp/parse_test.go +++ b/protocol/rtcp/parse_test.go @@ -1,3 +1,30 @@ +/* +NAME + parse_test.go + +DESCRIPTION + parse_test.go provides testing utilities for functionality found in parse.go. + +AUTHORS + Saxon A. Nelson-Milton + +LICENSE + This is Copyright (C) 2019 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + in gpl.txt. If not, see http://www.gnu.org/licenses. +*/ + package rtcp import ( diff --git a/protocol/rtcp/rtcp.go b/protocol/rtcp/rtcp.go index 7c76b587..098438ea 100644 --- a/protocol/rtcp/rtcp.go +++ b/protocol/rtcp/rtcp.go @@ -1,3 +1,31 @@ +/* +NAME + rtcp.go + +DESCRIPTION + rtcp.go contains structs to describe RTCP packets, and functionality to form + []bytes of these structs. + +AUTHORS + Saxon A. Nelson-Milton + +LICENSE + This is Copyright (C) 2019 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + in gpl.txt. If not, see http://www.gnu.org/licenses. +*/ + package rtcp import ( diff --git a/protocol/rtcp/rtcp_test.go b/protocol/rtcp/rtcp_test.go index b3ba15c2..e53d384f 100644 --- a/protocol/rtcp/rtcp_test.go +++ b/protocol/rtcp/rtcp_test.go @@ -1,3 +1,30 @@ +/* +NAME + rtcp_test.go + +DESCRIPTION + rtcp_test.go contains testing utilities for functionality provided in rtcp_test.go. + +AUTHORS + Saxon A. Nelson-Milton + +LICENSE + This is Copyright (C) 2019 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + in gpl.txt. If not, see http://www.gnu.org/licenses. +*/ + package rtcp import (