Fixes a failure to initiate outgoing calls.

fix-message-formatting 5222
Lyubomir Marinov 12 years ago
parent 3f564b8c60
commit c5152acbe0

@ -1020,6 +1020,13 @@ public MediaStream getStream(MediaType mediaType)
{
case AUDIO:
return audioStream;
case DATA:
/*
* DATA is a valid MediaType value and CallPeerMediaHandler does not
* utilize it at this time so no IllegalArgumentException is thrown
* and null is returned (as documented).
*/
return null;
case VIDEO:
return videoStream;
default:

Loading…
Cancel
Save