Accept SDP crypto with tag 0.
Fixes bug #367. git-svn-id: http://yate.null.ro/svn/yate/trunk@5880 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
5c8eb9a26c
commit
cc2279cffa
|
@ -148,7 +148,7 @@ bool SDPSession::dispatchRtp(SDPMedia* media, const char* addr, bool start,
|
|||
const String* suite = m->getParam("ocrypto_suite");
|
||||
const String* key = m->getParam("ocrypto_key");
|
||||
const String* params = m->getParam("ocrypto_params");
|
||||
if (suite && key && (tag > 0)) {
|
||||
if (suite && key && (tag >= 0)) {
|
||||
String sdes(tag);
|
||||
sdes << " " << *suite << " " << *key;
|
||||
if (params)
|
||||
|
|
Loading…
Reference in New Issue