使用webrtc时可以关闭SRTP吗 [英] Can I turn off SRTP when use webrtc

查看:123
本文介绍了使用webrtc时可以关闭SRTP吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我测试 webrtc 与 SIP 客户端(sx20)的通信

Now I test webrtc communicate with SIP Client(sx20)

我使用 webrtc sdp 发送邀请消息.但是 sip 客户端回答没有指纹,并且

I send invite message with webrtc sdp. but sip client answer has not finger print, and

sip 客户端应答不是 SRTP 只是 RTP.

sip client answer is not SRTP just RTP.

所以我需要在 WEBRTC 中关闭 SRTP.我可以吗?

So I need to turn off SRTP in WEBRTC. Can I do it?

还有一个问题...我认为,指纹是加密密钥,
那么,发送方和接收方需要每个密钥吗?我们需要两把钥匙吗?发送者的密钥,接收者的密钥?或者我们只需要发件人的密钥?

and one more question... I think, finger print is encrypt key,
so, sender and receiver need to each key? we need two key? sender's key, receive's key? or we need just sender' key?

推荐答案

您无法关闭 SRTP.它是标准的一部分,可能永远不会被删除.

You cannot turn off SRTP. It is part of the standard and it will probably never be removed.

密钥在 DTLS 密钥交换中进行交换,并且将在一段时间内以这种方式进行交换Mozilla 和 Chrome 一致认为这是最好和最安全的媒体交换方式.

The key is exchanged in a DTLS key exchange and will be that way for a while as Mozilla and Chrome are in agreement that it is the best and most secure way to exchange media.

那个指纹不是密钥本身,密钥是通过 DTLS 交换的,如果您在其中一台机器上使用 wireshark 收听,您实际上可以看到 DTLS 交换,这样您就可以看到交换发生了什么.

That fingerprint is not the key itself, the key is exchanged via DTLS, you can actually see the DTLS exchange if you listen with wireshark on one of your machines so that you can see what is going on with the exchange.

您需要实现一个断路器来连接 webrtc 客户端和 SIP 客户端.SIPML5 已经有一个破坏者.

You will need to implement a breaker to interface with the webrtc client and the SIP client. SIPML5 already has a breaker in play.

这篇关于使用webrtc时可以关闭SRTP吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆