diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-03-25 15:13:43 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-03-25 15:22:48 +0100 |
commit | 8df764af13e71062f24f60c08a1dc3e3c0d2e371 (patch) | |
tree | 1a84497ead9b98d3e553ebc2a1cbb58d5c7586b8 /src/Outputs.h | |
parent | 94bcb7587c267c33dc54ceff98c90fe24612fa0c (diff) | |
download | ODR-AudioEnc-8df764af13e71062f24f60c08a1dc3e3c0d2e371.tar.gz ODR-AudioEnc-8df764af13e71062f24f60c08a1dc3e3c0d2e371.tar.bz2 ODR-AudioEnc-8df764af13e71062f24f60c08a1dc3e3c0d2e371.zip |
Add --identifer option to specify content of EDI ODRv TAG
Diffstat (limited to 'src/Outputs.h')
-rw-r--r-- | src/Outputs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Outputs.h b/src/Outputs.h index 0f1f34f..3a302b1 100644 --- a/src/Outputs.h +++ b/src/Outputs.h @@ -1,6 +1,6 @@ /* ------------------------------------------------------------------ * Copyright (C) 2011 Martin Storsjo - * Copyright (C) 2019 Matthias P. Braendli + * Copyright (C) 2020 Matthias P. Braendli * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -133,6 +133,8 @@ class EDI: public Base { EDI& operator=(const EDI&) = delete; virtual ~EDI() override; + void set_odr_version_tag(const std::string& odr_version_tag); + void add_udp_destination(const std::string& host, unsigned int port); void add_tcp_destination(const std::string& host, unsigned int port); @@ -143,6 +145,8 @@ class EDI: public Base { virtual bool write_frame(const uint8_t *buf, size_t len) override; private: + std::string m_odr_version_tag; + edi::configuration_t m_edi_conf; std::shared_ptr<edi::Sender> m_edi_sender; |