You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add examples that encrypt/decrypt RTP packets from disk #103
I will add an example that shows how to encrypt a RTP packet and then another how to decrypt. I think that will be helpful.
SRTP doesn't have a concept of Client/Server. You just give it keying material, and then it processes RTP packets in a stream. Most people use DTLS to do key exchange and get a client/server feeling.
Then do a DTLS handshake, then extract the keying material. pion/webrtc is a good example of this.
Activity
Sean-Der commentedon Oct 9, 2020
@seamanm I am happy to add one, what example would you like to see?
seamanm commentedon Oct 10, 2020
if you can ,we need a demo srtp client push stream to srtp server
seamanm commentedon Oct 10, 2020
I already have hardware that supports the SRTP protocol, but I don't have an SRTP server
Sean-Der commentedon Oct 10, 2020
Hey @seamanm I think you want a RTSP Client/Server. SRTP is encryption. https://github.com/djwackey/dorsvr looks promising.
seamanm commentedon Oct 10, 2020
hey @Sean-Der ,thank for you answer this issue. The example of RTSP I already have, I hope there is an example of SRTP.
SRTP server and SRTP client
Sean-Der commentedon Oct 10, 2020
I will add an example that shows how to encrypt a RTP packet and then another how to decrypt. I think that will be helpful.
SRTP doesn't have a concept of Client/Server. You just give it keying material, and then it processes RTP packets in a stream. Most people use DTLS to do key exchange and get a client/server feeling.
Then do a DTLS handshake, then extract the keying material. pion/webrtc is a good example of this.
[-]where is srtp demo[/-][+]Add examples that encrypt/decrypt RTP packets from disk[/+]seamanm commentedon Oct 10, 2020
thank you so much,I learn srtp decrypt
Add example
Add examples/encrypt-decrypt
Add examples/encrypt-decrypt
Add examples/encrypt-decrypt