[Freeswitch-users] Play MP4 file into conference

Richard Screene richard.screene at thisisdrum.com
Thu Jan 4 16:13:59 UTC 2018


Thanks Giovanni! It works fine if I set the video-mode to "mux"!!

One more thing, is there a command equivalent to "uuid_fileman" that will control the video played into to conference?  I want pause and seek commands that can be viewed by all users.


> From: Giovanni Maruzzelli <gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>>
> Subject: Re: [Freeswitch-users] Play MP4 file into conference
> Date: 4 January 2018 at 14:42:15 GMT
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> Reply-To: gmaruzz at opentelecom.it <mailto:gmaruzz at opentelecom.it>
> 
> 
> Richard,
> 
> is your conference in "mux" mode? Eg, you can change video layouts and have more than one video streams mixed together (split screen with two participants in it)? 
> 
> You can play video only in mux mode... Check your conference.conf.xml and your dialplan...
> 
> -giovanni
> 
> On 3 January 2018 at 11:00, Richard Screene <richard.screene at thisisdrum.com <mailto:richard.screene at thisisdrum.com>> wrote:
> Thanks for your response Steven.  When I tried using master branch before I did not get video when using either conference...play or uuid_broadcast.
> I will re-try with the latest master and raise a Jira if I can't get it working.
> 
> Regards,
>   Richard
> 
> 
> On Sat, Dec 23, 2017 at 0:13 AM, Steven Du <dujinfang at gmail.com <mailto:freeswitch-users%40lists.freeswitch.org?Subject=Re%3A%20%5BFreeswitch-users%5D%20Play%20MP4%20file%20into%20conference&In-Reply-To=%3CCAJs%2B-5osBHL-gb-YAJdsKaOun_OiOOudFaQ1Umqc2m39yqmhMA%40mail.gmail.com%3E>> wrote:
> 
> > we use conference play for a while and don't have your problem, please try
> > master and if you think it's a bug fire a jira.
> 
> 
> >On Fri, Dec 15, 2017 at 9:51 PM, Richard Screene <richard.screene at thisisdrum.com <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>> wrote:
> 
> >> I am having problems attempting to play a MP4 video into a conference
> >> using mod_av.
> >>
> >> I have built the 1.6.19 branch from source after removing the -pedantic
> >> compile flag to allow mod_av to compile.
> >>
> >> My simple dial plan is:
> >> ```
> >>     <extension name="test">
> >>       <condition field="destination_number" expression="test">
> >>         <action application="conference" data="conf1"/>
> >>       </condition>
> >>     </extension>
> >> ```
> >>
> >> From fs_cli I then attempt to play the video using the command:
> >> "conference conf1 play /tmp/sample.mp4"
> >>
> >> No error messages are visible in the console and I can hear the audio, but
> >> I do not see the video stream.
> >>
> >> Strangely, when I do "uuid_broadcast <uuid> /tmp/sample.mp4" I get the
> >> audio and video (but obviously only to a single caller)
> >>
> >> If I try on the code from the master branch then I do not video from
> >> either conference..play or uuid_broadcast.
> >>
> >> Has anyone got any ideas why I cannot play video into a conference?
> >>
> >> Also, is there any equivalent of uuid_fileman for files played into a
> >> conference?  I would like pause and seek functionality to affect the video
> >> of all participants in the conference.
> >>
> >> Many thanks,
> >>   Richard
> >>
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> 
> Sincerely,
> 
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
> 
> 
> 
> From: <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com>>
> Subject: Re: [Freeswitch-users] Freeswitch got crashed
> Date: 4 January 2018 at 15:14:58 GMT
> To: "'FreeSWITCH Users Help'" <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> 
> 
> My bad. I will open a Jira case.
>  
> De : FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>] De la part de Ken Rice
> Envoyé : jeudi 4 janvier 2018 14:50
> À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> Objet : Re: [Freeswitch-users] Freeswitch got crashed
>  
> but reports like this always go to jira
> 
> Sent from my iPhone
> 
> On Jan 4, 2018, at 02:56, <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com>> <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com>> wrote:
> 
> Hello,
>  
> One of my FS instances has crashed with a coredump.
> I copy/past the output of bt and bt full. Should I open an issue on a website? Is there any sufficient information to diagnose?
>  
> Here is the bt output:
> #0  switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1357
> #1  0x00007f0418ff8ce9 in sofia_update_callee_id (session=0x0, profile=0x165a010, sip=0x7f03d0500e68, send=SWITCH_TRUE) at sofia.c:1086
> #2  0x00007f0418ffee55 in our_sofia_event_callback (event=nua_i_update, status=200, phrase=0x7f03d0564700 "OK", nua=0x7f03f40120f0, profile=0x165a010, nh=0x7f0391a7e450, sofia_private=0x7f0308a21620, sip=0x7f03d0500e68, de=0x7f03f402cd20, tags=0x7f03d05646f0) at sofia.c:1594
> #3  0x00007f04190044fb in sofia_process_dispatch_event (dep=<value optimized out>) at sofia.c:1983
> #4  0x00007f0419005266 in sofia_msg_thread_run (thread=<value optimized out>, obj=0x7f0418f9aad8) at sofia.c:2031
> #5  0x00007f041c4f49bb in dummy_worker (opaque=0x1642520) at threadproc/unix/thread.c:151
> #6  0x0000003f38e079d1 in start_thread () from /lib64/libpthread.so.0
> #7  0x00000030f40e8b6d in clone () from /lib64/libc.so.6
>  
> And the bt full:
> (gdb) bt full
> #0  switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1357
>         __PRETTY_FUNCTION__ = "switch_core_session_get_channel"
> #1  0x00007f0418ff8ce9 in sofia_update_callee_id (session=0x0, profile=0x165a010, sip=0x7f03d0500e68, send=SWITCH_TRUE) at sofia.c:1086
>         channel = <value optimized out>
>         passerted = <value optimized out>
>         name = <value optimized out>
>         number = <value optimized out>
>         tmp = <value optimized out>
>         caller_profile = <value optimized out>
>         dup = <value optimized out>
>         event = <value optimized out>
>         val = <value optimized out>
>         fs = <value optimized out>
>         lazy = <value optimized out>
>         name_var = <value optimized out>
>         num_var = <value optimized out>
>         __PRETTY_FUNCTION__ = "sofia_update_callee_id"
>         __func__ = "sofia_update_callee_id"
> #2  0x00007f0418ffee55 in our_sofia_event_callback (event=nua_i_update, status=200, phrase=0x7f03d0564700 "OK", nua=0x7f03f40120f0, profile=0x165a010, nh=0x7f0391a7e450, sofia_private=0x7f0308a21620, sip=0x7f03d0500e68, de=0x7f03f402cd20, tags=0x7f03d05646f0) at sofia.c:1594
>         tech_pvt = <value optimized out>
>         auth_res = <value optimized out>
>         session = 0x0
>         channel = <value optimized out>
>         gateway = 0x0
>         locked = <value optimized out>
>         check_destroy = 1
>         __func__ = "our_sofia_event_callback"
>         __PRETTY_FUNCTION__ = "our_sofia_event_callback"
> #3  0x00007f04190044fb in sofia_process_dispatch_event (dep=<value optimized out>) at sofia.c:1983
>         de = 0x7f03f402cd20
>         nh = 0x7f0391a7e450
>         nua = 0x7f03f40120f0
>         profile = 0x165a010
>         sofia_private = <value optimized out>
> #4  0x00007f0419005266 in sofia_msg_thread_run (thread=<value optimized out>, obj=0x7f0418f9aad8) at sofia.c:2031
>         de = 0x0
>         pop = 0x7f03f402cd20
>         q = 0x7f0418f9aad8
>         my_id = <value optimized out>
>         __func__ = "sofia_msg_thread_run"
> #5  0x00007f041c4f49bb in dummy_worker (opaque=0x1642520) at threadproc/unix/thread.c:151
>         thread = 0x1642520
> #6  0x0000003f38e079d1 in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #7  0x00000030f40e8b6d in clone () from /lib64/libc.so.6
> No symbol table info available.
>  
> Regards,
>  
> Igor.
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180104/f54193a4/attachment-0003.html>


More information about the FreeSWITCH-users mailing list