Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Reorganize ZRTP code
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information
lemenkov committed Oct 18, 2012
1 parent bb3ee01 commit 3ecbb50
Show file tree
Hide file tree
Showing 7 changed files with 948 additions and 901 deletions.
2 changes: 1 addition & 1 deletion src/gen_rtp_channel.erl
Expand Up @@ -280,7 +280,7 @@ handle_info({init, Params}, State) ->
none ->
{null, null, null, null, null, [fun rtp_encode/2], [fun rtp_decode/2]};
zrtp ->
{ok, ZrtpFsm} = zrtp:start_link([self()]),
{ok, ZrtpFsm} = zrtp_fsm:start_link([self()]),
{ZrtpFsm, passthru, passthru, null, null, [fun srtp_encode/2], [fun srtp_decode/2]};
{{SI, CipherI, AuthI, AuthLenI, KeyI, SaltI}, {SR, CipherR, AuthR, AuthLenR, KeyR, SaltR}} ->
CI = srtp:new_ctx(SI, CipherI, AuthI, KeyI, SaltI, AuthLenI),
Expand Down

0 comments on commit 3ecbb50

Please sign in to comment.