chromium/third_party/openscreen/src/cast/streaming/message_fields.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cast/streaming/message_fields.h"

#include <array>
#include <utility>

#include "util/enum_name_table.h"
#include "util/osp_logging.h"

namespace openscreen::cast {
namespace {

constexpr EnumNameTable<AudioCodec, 3> kAudioCodecNames{};

constexpr EnumNameTable<VideoCodec, 6> kVideoCodecNames{};

}  // namespace

const char* CodecToString(AudioCodec codec) {}

ErrorOr<AudioCodec> StringToAudioCodec(std::string_view name) {}

const char* CodecToString(VideoCodec codec) {}

ErrorOr<VideoCodec> StringToVideoCodec(std::string_view name) {}

}  // namespace openscreen::cast