[Freeswitch-users] Unable to play RTMP stream in a conference
Pablo Compagni
pablocompagni at gmail.com
Tue Oct 18 00:18:21 MSD 2016
Hi. I'm trying to play an RTMP stream in a video conference, and it just
drops after a second or two. Every once in a while it would actually work
and play normally, without any indication on why this time around it
worked, while it failed before.
FS version is 1.6.12. Running on Debian Jessie.
This is how I'm playing the streams within a conference:
`/webapi/conference?~video~conf_2055962_main play
{full-screen=true}av://rtmp://192.168.200.20/dev_live_test/lv_2055962`
Stream is coming from an nginx-rtmp server, in case that helps. Video is
h264 baseline 3.1, although we can re encode if necessary. Consuming the
stream with either ffplay or vlc always works.
Logs are at debug level, only difference between a working and a non
working play is that, this line shows up when it doesn't work:
`Invoking deleteStream`
With no indication on why it got dropped. When it works it logs a few other
lines instead:
2016-10-17 19:00:59.327537 [INFO] avformat.c:2283 start: 0 ticks: 2
ticks_per_frame: 2 st num:1 st den:1000 codec num:1 codec den:40 start:
31500, duration:-9223372036854775808 nb_frames:0 q2d:0.001000
2016-10-17 19:00:59.327537 [DEBUG] avformat.c:2307 set start time:
1476730827832278 now: 1476730859332278 pts: 31500000
2016-10-17 19:00:59.397676 [DEBUG] conference_video.c:1111 Canvas position
1 applied layout 2x1
Any ideas of what could be the issue? Is there anything I could check
that'd tell me why the stream is getting dropped? Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161017/47300781/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list