mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
修复rtsp点播时长不准的bug
This commit is contained in:
parent
573dc2e67a
commit
cd52a022f4
@ -98,9 +98,8 @@ string SdpTrack::toString(uint16_t port) const {
|
|||||||
_StrPrinter _printer;
|
_StrPrinter _printer;
|
||||||
switch (_type) {
|
switch (_type) {
|
||||||
case TrackTitle: {
|
case TrackTitle: {
|
||||||
TitleSdp title(atof(_t.data()));
|
TitleSdp title(_duration);
|
||||||
_printer << title.getSdp();
|
_printer << title.getSdp();
|
||||||
getAttrSdp(_attr, _printer);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case TrackAudio:
|
case TrackAudio:
|
||||||
|
Loading…
Reference in New Issue
Block a user