public void sendDataChunks(String msgId,String data,String mime,TypeMsrpChunk typeMsrpChunk) throws NetworkException {
  byte[] bytes=data.getBytes(UTF8);
  ByteArrayInputStream stream=new ByteArrayInputStream(bytes);
  mMsrpMgr.sendChunks(stream,msgId,mime,bytes.length,typeMsrpChunk);
}

public void sendDataChunks ( String msgId , String data , String mime , TypeMsrpChunk typeMsrpChunk ) throws NetworkException { byte [ ] bytes = data . getBytes ( UTF8 ) ; ByteArrayInputStream stream = new ByteArrayInputStream ( bytes ) ; mMsrpMgr . sendChunks ( stream , msgId , mime , bytes . length , typeMsrpChunk ) ; }
send data chunk with a specified mime type
