mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-28 21:52:22 +08:00
整理文件 规范命名
This commit is contained in:
17
src/RtspMuxer/RtspSdp.cpp
Normal file
17
src/RtspMuxer/RtspSdp.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "RtspSdp.h"
|
||||
#include "Common/Factory.h"
|
||||
|
||||
namespace mediakit{
|
||||
|
||||
void Sdp::createRtpEncoder(uint32_t ssrc, int mtu) {
|
||||
_encoder = Factory::getRtpEncoderById(getCodecId(),
|
||||
ssrc,
|
||||
mtu,
|
||||
_sample_rate,
|
||||
_playload_type,
|
||||
getTrackType() * 2);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user