#ifndef CAST_STREAMING_MESSAGE_FIELDS_H_
#define CAST_STREAMING_MESSAGE_FIELDS_H_
#include <string>
#include <string_view>
#include "cast/streaming/public/constants.h"
#include "platform/base/error.h"
namespace openscreen::cast {
constexpr char kCastWebrtcNamespace[] = …;
constexpr char kCastRemotingNamespace[] = …;
constexpr char kMessageType[] = …;
constexpr char kMessageTypeOffer[] = …;
constexpr char kOfferMessageBody[] = …;
constexpr char kSequenceNumber[] = …;
constexpr char kCodecName[] = …;
constexpr char kMessageTypeAnswer[] = …;
constexpr char kAnswerMessageBody[] = …;
constexpr char kResult[] = …;
constexpr char kResultOk[] = …;
constexpr char kResultError[] = …;
constexpr char kErrorMessageBody[] = …;
constexpr char kErrorCode[] = …;
constexpr char kErrorDescription[] = …;
constexpr char kRpcMessageBody[] = …;
constexpr char kCapabilitiesMessageBody[] = …;
constexpr char kStatusMessageBody[] = …;
const char* CodecToString(AudioCodec codec);
ErrorOr<AudioCodec> StringToAudioCodec(std::string_view name);
const char* CodecToString(VideoCodec codec);
ErrorOr<VideoCodec> StringToVideoCodec(std::string_view name);
}
#endif