The sdp got was not what I wanted

srsPoint = new WebRtcEndpoint.Builder(CallHandler2Kurento.pipeline).sendonly().build();
webRtcEndpoint.connect(srsPoint);
if (presenterWebRtc == null) {
pipeline = kurento.createMediaPipeline();
presenterWebRtc = new WebRtcEndpoint.Builder(pipeline).build();
}
String sdpOffer = presenterWebRtc.generateOffer();

Through the above code, we need to send the stream received by webRtcEndpoint to the remote server, but the sdpOffer generated by generateOffer does not have the media information of the video, the remote server can not receive the media stream, anyone can help solve it?