Peerconnection startRecorder not working
csguys opened this issue · 1 comments
csguys commented
Recording not working
i tried below code to start recording
peerConnection.startRecorder(RtpTransceiver.RtpTransceiverDirection.RECV_ONLY.ordinal(), "/{path}/example.mp4")
and called to stop it
peerConnection.stopRecorder(RtpTransceiver.RtpTransceiverDirection.RECV_ONLY.ordinal())
but there is no file recorded
csguys commented
Its resolve actually it only record .mkv as StartRecorder in call.cc mentioned
if (path.rfind(".mkv") == std::string::npos) {
return -1;
}