<div dir="ltr"><div dir="ltr">Seven Du said:<br>> the codec doesn't change resolution, the source does. so if you record a conference to send rtmp, change the conference canvas size. or you can try explicitly set the size e.g. record {vw=320,vh=240}rtmp://url... attach a log if it still not working.<br><br>We initially tried to set the rtmp resolution via "video-canvas-size" in conference.conf.xml...<br><br>Dialplan snippet:<br><action application="record_session" data="{modname=mod_av}rtmp://${ipOfPeerInCluster}:5150/viewOfUser/${idOfClientSession}"/><br><action application="conference_set_auto_outcall" data="['conference_member_flags=endconf,jitterbuffer_msec=5p:100p']sofia/gateway/asterisk/${example_destination}"/><br><action application="conference" data="${example_destination}@example_conference+flags{endconf|mintwo}"/><br><br>conference.conf.xml snippet:<br><profile name="example_conference"><br>  <param name="domain" value="$${domain}"/><br>  <param name="rate" value="8000"/><br>  <param name="channels" value="2"/><br>  <param name="interval" value="20"/><br>  <param name="energy-level" value="0"/><br>  <param name="caller-controls" value="none"/><br>  <param name="caller-id-name" value="$${outbound_caller_name}"/><br>  <param name="caller-id-number" value="$${outbound_caller_id}"/><br>  <param name="comfort-noise" value="false"/><br>  <param name="conference-flags" value="video-floor-only|rfc-4579|livearray-sync|minimize-video-encoding"/><br>  <param name="video-mode" value="mux"/><br>  <param name="video-layout-name" value="1x1"/><br>  <param name="video-canvas-size" value="320x240"/><br>  <param name="video-canvas-bgcolor" value="#333333"/><br>  <param name="video-layout-bgcolor" value="#000000"/><br>  <param name="video-codec-bandwidth" value="1mb"/><br>  <param name="video-fps" value="15"/><br>  <param name="max-members" value="2"/><br><!--      <param name="terminate-on-silence" value="5"/> --><br>  <param name="endconf-grace-time" value="5"/><br></profile><br><br>...and then we tried the av.conf.xml change that I already mentioned. I'm not sure I need {modname=mod_av} in front of my rtmp url, but in case I do, I adopted your suggestion in this way:<br><br>New change to dialplan snippet:<br><action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://${ipOfPeerInCluster}:5150/viewOfUser/${idOfClientSession}"/><br><br>...And it worked! I wonder why this works and the conference.conf.xml setting doesn't.<br><br>Thanks!<br></div><div class="gmail_quote"></div></div>