now I need to make webrtc SDP -> normal SDP.
so I need to encode and decode fingerprint in webrtc. I think that fingerprint is SRTP encrypt method.
anyone have experience decode and encode fingerprint. I need following step
WEBRTC SDP -> signal server(decode fingerprint, make normal rtp SDP) -> sip client.
sip 客户端 SDP(普通 rtp)-> 信号服务器(编码指纹,制作 webrtc sdp)-> WEBRTC。
我们依次解码和编码 SRTP 服务器...
请帮我
用于编码/解码 SRTP 流的证书是通过 DTLS 协商的。您需要从 DTLS 协商中获取主密钥。你不能通过数据包嗅探来做到这一点。您将不得不使用本机 API 并使用您自己的证书来解码流。
您必须执行类似于WebRTC Breaker 的操作才能获取原始 rtp 流。那个断路器可以做你需要的一切,它是 GPL。