修复录象回放的bug
This commit is contained in:
parent
2e9b4b4e5e
commit
89fba64372
@ -350,7 +350,7 @@ public class SIPCommander implements ISIPCommander {
|
||||
content.append("o="+sipConfig.getSipId()+" 0 0 IN IP4 "+sipConfig.getSipIp()+"\r\n");
|
||||
content.append("s=Playback\r\n");
|
||||
content.append("u="+channelId+":0\r\n");
|
||||
content.append("c=IN IP4 "+mediaInfo.getLocalIP()+"\r\n");
|
||||
content.append("c=IN IP4 "+mediaInfo.getWanIp()+"\r\n");
|
||||
content.append("t="+DateUtil.yyyy_MM_dd_HH_mm_ssToTimestamp(startTime)+" "
|
||||
+DateUtil.yyyy_MM_dd_HH_mm_ssToTimestamp(endTime) +"\r\n");
|
||||
String mediaPort = null;
|
||||
|
@ -104,7 +104,7 @@ public class PlayController {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
String flv = storager.getMediaInfo().getLocalIP() + ":" + storager.getMediaInfo().getHttpPort() + "/rtp/"
|
||||
String flv = storager.getMediaInfo().getWanIp() + ":" + storager.getMediaInfo().getHttpPort() + "/rtp/"
|
||||
+ streamId + ".flv";
|
||||
streamInfo.setFlv("http://" + flv);
|
||||
streamInfo.setWs_flv("ws://" + flv);
|
||||
|
Loading…
Reference in New Issue
Block a user