Fixes build.

cusax-fix
Yana Stamcheva 13 years ago
parent 4bbd38c36a
commit d7f20f5f85

@ -66,7 +66,7 @@ public void setLocalVideoAllowed(Call call, boolean allowed)
{
super.setLocalVideoAllowed(call, allowed);
((AbstractCallJabberGTalkImpl<?>) call).modifyVideoContent(allowed);
((CallJabberImpl)call).modifyVideoContent(allowed);
}
/**
@ -171,10 +171,10 @@ public void answerVideoCallPeer(CallPeer peer)
*/
public QualityControl getQualityControl(CallPeer peer)
{
return
(peer instanceof CallPeerJabberImpl)
? ((CallPeerJabberImpl) peer).getMediaHandler()
.getQualityControl()
: null;
if(peer instanceof CallPeerJabberImpl)
return ((CallPeerJabberImpl) peer).getMediaHandler().
getQualityControl();
else
return null;
}
}
}

@ -127,7 +127,7 @@ public Call createVideoCall(String uri)
public Call createVideoCall(Contact callee)
throws OperationFailedException
{
return createVideoCall(callee, (ContactResource) null);
return createVideoCall(callee, null);
}
/**
@ -378,4 +378,4 @@ public boolean processResponse(ResponseEvent responseEvent)
return true;
}
}
}
}

@ -200,23 +200,6 @@ public Call createVideoCall(String uri)
public Call createVideoCall(Contact callee)
throws OperationFailedException;
/**
* Create a new video call and invite the specified CallPeer to it.
*
* @param callee the address of the callee that we should invite to a new
* call.
* @param calleeResource the specific callee resource to call
* @return CallPeer the CallPeer that will represented by the
* specified uri. All following state change events will be delivered
* through that call peer. The Call that this peer is a member
* of could be retrieved from the CallParticipatn instance with the use
* of the corresponding method.
* @throws OperationFailedException with the corresponding code if we fail
* to create the video call.
*/
public Call createVideoCall(Contact callee, ContactResource calleeResource)
throws OperationFailedException;
/**
* Create a new video call and invite the specified CallPeer to it.
*

Loading…
Cancel
Save