wvp-GB28181-pro icon indicating copy to clipboard operation
wvp-GB28181-pro copied to clipboard

[新功能] 目录订阅支持刷新订阅

Open criver31 opened this issue 1 year ago • 1 comments

环境信息: 最新的wvp代码

内容描述: 问题:订阅该如何交互

根据RFC 3265文档中3.1.4.2刷新订阅规范: image

说刷新订阅的eventId需要是相同的;但我在wvp生成订阅请求createSubscribeRequest中:

	EventHeader eventHeader = SipFactory.getInstance().createHeaderFactory().createEventHeader(event);

	int random = (int) Math.floor(Math.random() * 10000);
	eventHeader.setEventId(random + "");
	request.addHeader(eventHeader);

每次发送的订阅的eventId都是随机的;我想请教下规范的订阅交互流程应该是怎么样的

截图

抓包文件

日志

日志内容放这里, 文件的话请直接上传

criver31 avatar Dec 13 '23 08:12 criver31