mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 10:50:52 +08:00
const payload type variable start's letter is lower case
This commit is contained in:
@@ -66,13 +66,13 @@ void GB28181Process::onRtpSorted(RtpPacket::Ptr rtp) {
|
||||
}
|
||||
|
||||
bool GB28181Process::inputRtp(bool, const char *data, size_t data_len) {
|
||||
GET_CONFIG(uint32_t, h264_pt, RtpProxy::KH264PT);
|
||||
GET_CONFIG(uint32_t, h265_pt, RtpProxy::KH265PT);
|
||||
GET_CONFIG(uint32_t, ps_pt, RtpProxy::KPSPT);
|
||||
GET_CONFIG(uint32_t, ts_pt, RtpProxy::KTSPT);
|
||||
GET_CONFIG(uint32_t, opus_pt, RtpProxy::KOpusPT);
|
||||
GET_CONFIG(uint32_t, g711u_pt, RtpProxy::KG711UPT);
|
||||
GET_CONFIG(uint32_t, g711a_pt, RtpProxy::KG711APT);
|
||||
GET_CONFIG(uint32_t, h264_pt, RtpProxy::kH264PT);
|
||||
GET_CONFIG(uint32_t, h265_pt, RtpProxy::kH265PT);
|
||||
GET_CONFIG(uint32_t, ps_pt, RtpProxy::kPSPT);
|
||||
GET_CONFIG(uint32_t, ts_pt, RtpProxy::kTSPT);
|
||||
GET_CONFIG(uint32_t, opus_pt, RtpProxy::kOpusPT);
|
||||
GET_CONFIG(uint32_t, g711u_pt, RtpProxy::kG711UPT);
|
||||
GET_CONFIG(uint32_t, g711a_pt, RtpProxy::kG711APT);
|
||||
|
||||
RtpHeader *header = (RtpHeader *)data;
|
||||
auto pt = header->pt;
|
||||
|
||||
Reference in New Issue
Block a user