|
|
|
|
@ -28,11 +28,6 @@ public class ZrtpControlImpl
|
|
|
|
|
*/
|
|
|
|
|
private ZrtpListener zrtpListener = null;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The current multi-stream data if any.
|
|
|
|
|
*/
|
|
|
|
|
private byte[] multiStreamData = null;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Additional info codes for and data to support ZRTP4J.
|
|
|
|
|
* These could be added to the library. However they are specific for this
|
|
|
|
|
@ -205,21 +200,10 @@ public void start(boolean masterSession)
|
|
|
|
|
public void setMultistream(byte[] multiStreamData)
|
|
|
|
|
{
|
|
|
|
|
ZRTPTransformEngine engine = getZrtpEngine();
|
|
|
|
|
this.multiStreamData = multiStreamData;
|
|
|
|
|
engine.setMultiStrParams(multiStreamData);
|
|
|
|
|
engine.setEnableZrtp(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the multistream params
|
|
|
|
|
*
|
|
|
|
|
* @return the multistream params
|
|
|
|
|
*/
|
|
|
|
|
public byte[] getMultiStrParams()
|
|
|
|
|
{
|
|
|
|
|
return multiStreamData;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return the zrtp hello hash String.
|
|
|
|
|
*
|
|
|
|
|
|