Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对讲支持 #96

Open
cool0looc opened this issue Jun 23, 2023 · 3 comments
Open

对讲支持 #96

cool0looc opened this issue Jun 23, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@cool0looc
Copy link

您好,
准备在利用该插件实现语音推送(摄像头播放).实现流程如下:
1)前端页面向sip服务发送HTTP请求(摄像头ID作为参数)。
2)sip服务接收到前端页面请求后根据ID查询到对应的摄像头设备,发送SIP广播通知,并接收摄像头的广播应答。应答中包含摄像头的IP地址,端口号,音频编码信息。
3)sip服务向流媒体服务发送HTTP请求,携带要发送的摄像头RTP相关信息。流媒体服务发送前端音频流。
4)前端页面接收到步骤1的HTTP返回后,进行拾音操作,将PCM格式的音频流发送给流媒体服务。
5)流媒体服务将接收到的PCM音频流转码为PCMA格式。
6)流媒体服务将PCMA音频数据进行RTP封装,以UDP的方式发送到对应的摄像头。
这个插件内置的sip server, sip通信都没有问题. 有个问题是: 步骤3 是插件同monibuca之间通信吗?这个该如何实现?
谢谢

@langhuihui
Copy link
Member

可以加我微信吗?yigehui

@hessonsu
Copy link

hessonsu commented Nov 6, 2023

@cool0looc @langhuihui 目前这块怎么样了。我也这方面的需求能否加我微信一起聊聊?hessonfcc

@langhuihui langhuihui added the enhancement New feature or request label Nov 6, 2023
@hessonsu
Copy link

hessonsu commented Nov 6, 2023

关于第6点。
我这边的是插件订阅到m7s 的流,再用国标推送到摄像头。 流媒体跟前端这边的是发布端

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants