From 1ae3b59e1459fddf49f7f468f51e977c70286596 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 10 Dec 2020 13:33:08 +0100 Subject: [PATCH] Video now has to be manually activated in order to watch it --- src/Error.cpp | 4 ++++ src/Error.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Error.cpp b/src/Error.cpp index aac6d1f..54fb399 100644 --- a/src/Error.cpp +++ b/src/Error.cpp @@ -195,6 +195,10 @@ const std::vector ts::avariableErrors = { {0xE000, "resource_limit_reached" , "resource limit reached" }, + define_error_description(broadcast_invalid_id, "the broadcast does not exists"), + define_error_description(broadcast_invalid_type, "the broadcast type is invalid"), + define_error_description(broadcast_invalid_client, "the broadcasting client does not exists"), + {0xFFFF, "custom_error" , "costume" }, }; ErrorType ErrorType::Success = avariableErrors[0]; diff --git a/src/Error.h b/src/Error.h index 05919ec..49c378c 100644 --- a/src/Error.h +++ b/src/Error.h @@ -198,6 +198,10 @@ namespace ts { rtc_missing_target_channel = 0x2300, + broadcast_invalid_id = 0x2400, + broadcast_invalid_type = 0x2401, + broadcast_invalid_client = 0x2402, + custom_error = 0xffff }; };