mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-24 11:40:37 +08:00
Compare commits
5 Commits
073700b6bc
...
570a95ff64
Author | SHA1 | Date | |
---|---|---|---|
|
570a95ff64 | ||
|
351e8fbd43 | ||
|
6119ac9c53 | ||
|
a33c1d5a08 | ||
|
e7e157c312 |
@ -1 +1 @@
|
||||
Subproject commit f8add834ea352bd8c9279486e48ae5070a84d4aa
|
||||
Subproject commit 46231014e2a7ec1903d4a37e96222481ecc779d8
|
@ -105,6 +105,16 @@ bool GB28181Process::inputRtp(bool, const char *data, size_t data_len) {
|
||||
_rtp_decoder[pt] = Factory::getRtpDecoderByCodecId(track->getCodecId());
|
||||
break;
|
||||
}
|
||||
case Rtsp::PT_L16_Mono: {
|
||||
//L16
|
||||
ref = std::make_shared<RtpReceiverImp>(16000, [this](RtpPacket::Ptr rtp) { onRtpSorted(std::move(rtp)); });
|
||||
auto track = Factory::getTrackByCodecId(CodecL16, 16000, 1, 16);
|
||||
CHECK(track);
|
||||
track->setIndex(pt);
|
||||
_interface->addTrack(track);
|
||||
_rtp_decoder[pt] = Factory::getRtpDecoderByCodecId(track->getCodecId());
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (pt == opus_pt) {
|
||||
// opus负载 [AUTO-TRANSLATED:defa6a8d]
|
||||
|
Loading…
Reference in New Issue
Block a user