Instead of buf.append(" action="").append(getAction().name()).append(’"’), it should be buf.append(" action="").append(getAction().toString()).append(’"’).
@Flow- Also, It seems that candidate details are not being added during session-initiate request as per the xep-0166. It is being added in transport-info stanza packet.
as Vijay says, on the first iq there’s no candidate details…looking up the code, the problems seems to be on the method startOutgoing() from the class JingleSession…debugging TransportNegotiator class logs “No Remote Candidate” on method getBestRemoteCandidate…
Trying to make a workaround about this issue I add this line on the startOutgoing() method:
resolver = transportManager.getResolver(this);
//MINE
if(resolver.getCandidateCount()==0) {
resolver.resolve(this);
}
it add a null candidate…it didnt solve the problem