ZLMediaKit/webrtc/RtpExt.h
2021-05-06 16:25:18 +08:00

30 lines
742 B
C++

/*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing project authors
* may be found in the AUTHORS file in the root of the source tree.
*/
#ifndef ZLMEDIAKIT_RTPEXT_H
#define ZLMEDIAKIT_RTPEXT_H
#include <stdint.h>
#include <map>
#include <string>
#include "Common/macros.h"
#include "Rtsp/Rtsp.h"
using namespace std;
using namespace mediakit;
class RtpExt {
public:
static map<uint8_t/*id*/, string/*data*/> getExtValue(const RtpHeader *header);
};
#endif //ZLMEDIAKIT_RTPEXT_H