Fix issue #592. Proper sending of recvonly sdp attribute.

cusax-fix
Damian Minkov 17 years ago
parent 40f01c424c
commit 30af1a448f

@ -1739,8 +1739,7 @@ else if (mediaType.equalsIgnoreCase("audio"))
mediaDescs.add(am);
}
//--------Video media description
if(mediaServCallback.getDeviceConfiguration().isVideoCaptureSupported()
&& supportedVideoEncodings.length> 0)
if(supportedVideoEncodings.length> 0)
{
//"m=video 22222 RTP/AVP 34";
MediaDescription vm
@ -1765,7 +1764,9 @@ else if (mediaType.equalsIgnoreCase("audio"))
byte onHold = this.onHold;
if (!mediaControl.isLocalVideoAllowed())
if (!mediaServCallback.getDeviceConfiguration()
.isVideoCaptureSupported() ||
!mediaControl.isLocalVideoAllowed())
{
/* We don't have anything to send. */
onHold |= ON_HOLD_REMOTELY;

Loading…
Cancel
Save