rtmp is sending as 160x120 inset within 320x240 instead of fullscreen
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way... <action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/> ...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black. I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and <param name="max-members" value="2"/> How can we fill the rtmp frames with 320x240 of only the verto user?
Also, our conference profile already has: <param name="video-mode" value="mux"/> <param name="video-layout-name" value="1x1"/> <param name="video-canvas-size" value="320x240"/> On Mon, Nov 16, 2020 at 10:30 AM David P <davidswalkabout@gmail.com> wrote:
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...
<action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>
...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.
I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and
<param name="max-members" value="2"/>
How can we fill the rtmp frames with 320x240 of only the verto user?
I changed conference.conf.xml to use… 1 <param name="video-mode" value="transcode"/> …in the two places where this was uncommented… 1 <param name="video-mode" value="mux"/> …based on guidance at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference : The mode to run video conferencing in. passthrough is non transcoded video follow audio. transcode allows for better switching and multiple codecs. mux allows for multiple parties on the video canvas at the same time Unfortunately, that did not solve it. Instead the 160x120 frame is now shown twice in the middle of the screen (vertically). On Mon, Nov 16, 2020 at 10:42 AM David P <davidswalkabout@gmail.com> wrote:
Also, our conference profile already has:
<param name="video-mode" value="mux"/> <param name="video-layout-name" value="1x1"/> <param name="video-canvas-size" value="320x240"/>
On Mon, Nov 16, 2020 at 10:30 AM David P <davidswalkabout@gmail.com> wrote:
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...
<action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>
...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.
I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and
<param name="max-members" value="2"/>
How can we fill the rtmp frames with 320x240 of only the verto user?
did you happen to set record_concat_video etc ? or maybe try conference record On Mon, Nov 16, 2020 at 6:46 AM David P <davidswalkabout@gmail.com> wrote:
I changed conference.conf.xml to use… 1 <param name="video-mode" value="transcode"/>
…in the two places where this was uncommented… 1 <param name="video-mode" value="mux"/>
…based on guidance at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference :
The mode to run video conferencing in. passthrough is non transcoded video follow audio. transcode allows for better switching and multiple codecs. mux allows for multiple parties on the video canvas at the same time
Unfortunately, that did not solve it. Instead the 160x120 frame is now shown twice in the middle of the screen (vertically).
On Mon, Nov 16, 2020 at 10:42 AM David P <davidswalkabout@gmail.com> wrote:
Also, our conference profile already has:
<param name="video-mode" value="mux"/> <param name="video-layout-name" value="1x1"/> <param name="video-canvas-size" value="320x240"/>
On Mon, Nov 16, 2020 at 10:30 AM David P <davidswalkabout@gmail.com> wrote:
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...
<action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>
...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.
I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and
<param name="max-members" value="2"/>
How can we fill the rtmp frames with 320x240 of only the verto user?
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
participants (2)
-
David P
-
Seven Du