Micro fix

This commit is contained in:
Alexandr 2022-12-17 13:07:11 +03:00
parent fb22a4aa48
commit 00a6d11b80
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace mediakit {
class JPEGSdp : public Sdp {
public:
JPEGSdp(int bitrate): Sdp(90000, Rtsp::PT_JPEG) {
_printer << "m=video 0 RTP/AVP " << getPayloadType() << "\r\n";
_printer << "m=video 0 RTP/AVP " << (int)getPayloadType() << "\r\n";
if (bitrate) {
_printer << "b=AS:" << bitrate << "\r\n";
}