mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-01 17:11:31 +08:00
15 lines
439 B
C++
15 lines
439 B
C++
#include "RtspSdp.h"
|
|
#include "Common/Factory.h"
|
|
|
|
void Sdp::createRtpEncoder(uint32_t ssrc, int mtu) {
|
|
_encoder = Factory::getRtpEncoderById(getCodecId(),
|
|
ssrc,
|
|
mtu,
|
|
_sample_rate,
|
|
_playload_type,
|
|
getTrackType() * 2);
|
|
}
|
|
|
|
|
|
|