diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/options-rtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options-rtp.c b/src/options-rtp.c index 2e05009..cf64c7e 100644 --- a/src/options-rtp.c +++ b/src/options-rtp.c @@ -61,10 +61,10 @@ static void options_defaults(options_t* opt) opt->appname_ = NULL; opt->mode_ = SENDER; - opt->source_ = g_strdup("v4l2src ! videoconvert ! videoscale ! video/x-raw,format=I420,width={ 864, 640 },height=480,framerate={ 25/1, 24/1, 30/1 },pixel-aspect-ratio=1/1 ! identity name=\"videosrc\" " \ - "autoaudiosrc ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! identity name=\"audiosrc\""); + opt->source_ = g_strdup("v4l2src ! videoconvert ! videoscale add-borders=true ! video/x-raw,format=I420,width={ 864, 640 },height=480,framerate={ 25/1, 24/1, 30/1 },pixel-aspect-ratio=1/1 ! identity name=\"videosrc\" " \ + "autoaudiosrc ! audioresample ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! identity name=\"audiosrc\""); opt->sink_ = g_strdup("videoconvert name=\"videosink\" ! videoscale add-borders=true ! xvimagesink " \ - "audioconvert name=\"audiosink\" ! autoaudiosink"); + "audioconvert name=\"audiosink\" ! audioresample ! autoaudiosink"); opt->video_enc_ = g_strdup("vp8enc keyframe-max-dist=25 error-resilient=2 end-usage=1 target-bitrate=1200000 cpu-used=4 deadline=1000000 threads=2"); opt->video_payloader_ = g_strdup("rtpvp8pay"); |