Can I turn off SRTP when use webrtc

后端 未结 2 607
情深已故
情深已故 2021-02-10 10:10

Now I test webrtc communicate with SIP Client(sx20)

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

sip client answer is

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-10 10:48

    For testing purposes, Chrome Canary and Chrome Developer both have a flag which allows you to turn off SRTP, for example:

    cd /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/
    ./Google\ Chrome\ Canary --disable-webrtc-encryption
    

    Then your SDP with the RTP setup would look more like:

    m=audio 17032 RTP/AVPF 111 126
    

    Instead of:

    m=audio 17254 UDP/TLS/RTP/SAVPF 111 126
    

提交回复
热议问题