Commit Graph

5 Commits (1876a53a940f49fec8eb8d4f43fd3cfad8b304b4)

Author SHA1 Message Date
Jonas Herzig 1444b3c063 Update rfc5764 to use futures 0.3 AsyncRead/Write
With futures 0.3, the AsyncRead/Write traits are no longer marker traits, so we
can no longer easily support both, non-blocking and blocking APIs.
The code can however still be used in a blocking way buy just calling
`now_or_never` on any futures it returns, which will block if the underlying
streams are blocking.
2020-04-05 14:25:14 +02:00
Jonas Herzig ad85e55b66 Support multiple SSRCs on the same SRT(C)P session 2018-11-18 03:21:50 +01:00
Jonas Herzig 6b240df1f2 Merge SrtpContext and SrtcpContext into Context<Protocol>
Primarily to reduce duplication of code
2018-11-09 02:31:43 +01:00
Takeru Ohta 4cbba5358c Apply rustfmt-0.99.4 2018-11-05 20:26:45 +09:00
Takeru Ohta 26581d8744 Add SRTP server example 2017-03-27 09:26:24 -07:00