Compare commits

..

No commits in common. "761c3082c9cfbb56f2c6792785247301bd4ea23d" and "6c4734ff296bc7857632f86544e90660bf023c14" have entirely different histories.

View File

@ -409,10 +409,7 @@ public class RtpServerServiceImpl implements IReceiveRtpServerService {
hookResultForOnPublish.setStream_replace(streamReplace);
hookResultForOnPublish.setEnable_audio(enableAudio);
hookResultForOnPublish.setEnable_mp4(enableMp4);
if (mp4MaxSecond != null) {
// mp4MaxSecond 需要比实际的流时长略长一些避免因为流时长超过mp4MaxSecond而生成文件切片
hookResultForOnPublish.setMp4_max_second(mp4MaxSecond + 10);
}
hookResultForOnPublish.setMp4_max_second(mp4MaxSecond);
String key = String.format("%s:%s", VideoManagerConstants.RTP_AUTHENTICATE, streamId);
// 存储认证信息过期时间为60秒 过期则无法通过认证