Commit 93987fcd authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Skipping the encoder/decoder creation on rtp_io.

parent 7f23107c
...@@ -843,6 +843,9 @@ int audio_stream_start_from_io(AudioStream *stream, RtpProfile *profile, const c ...@@ -843,6 +843,9 @@ int audio_stream_start_from_io(AudioStream *stream, RtpProfile *profile, const c
} else { } else {
stream->soundwrite=ms_factory_create_filter(stream->ms.factory, MS_FILE_REC_ID); stream->soundwrite=ms_factory_create_filter(stream->ms.factory, MS_FILE_REC_ID);
} }
if ((io->input.type == MSResourceRtp) && (io->output.type == MSResourceRtp)) {
skip_encoder_and_decoder = TRUE;
}
/* creates the couple of encoder/decoder */ /* creates the couple of encoder/decoder */
pt=rtp_profile_get_payload(profile,payload); pt=rtp_profile_get_payload(profile,payload);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment