2 different publications (RTMP streams) or more from localhost to a single instance of MonaTiny also running on localhost?

320 views
Skip to first unread message

iasan...@gmail.com

unread,
Jun 19, 2019, 8:15:33 PM6/19/19
to MonaServer
Is this possible? I have setup a MonaTiny instance (using TCP port 1949) with the respective application subfolders. When a single publication (in the same machine running MonaTiny) is being done, no issues occur, but if i try to do a second publication to MonaTiny while another publication is still running, this second RTMP stream can't be published. This appears on MonaTiny's log file:

19/06 15:35:46.0  ERROR  14792 FlashMainStream.cpp[150]     Method client releaseStream not found in application /oldtw5
19/06 15:35:46.0  ERROR  14792 FlashMainStream.cpp[150]     Method client FCPublish not found in application /oldtw5
19/06 15:35:46.0  NOTE   14792 MonaTiny.cpp[147]                  Client publish 
19/06 15:35:46.0  INFO   14792 Publication.cpp[105]                 Publication  started
19/06 15:35:46.0  WARN   14792 MPEG4.cpp[39]                     AAC configuration packet must have a minimum size of 2 bytes
19/06 15:35:46.9  INFO   14792 Server.cpp[128]                         1 clients
19/06 16:25:49.4  ERROR  14792 FlashMainStream.cpp[150]     Method client releaseStream not found in application /oldtw6
19/06 16:25:49.4  ERROR  14792 FlashMainStream.cpp[150]     Method client FCPublish not found in application /oldtw6
19/06 16:25:49.4  ERROR  14792 ServerAPI.cpp[61]                  is already publishing

First RTMP stream: rtmp://localhost:1949/oldtw5
Second RTMP stream: rtmp://localhost:1949/oldtw6

Thomas Jammet

unread,
Jun 20, 2019, 2:30:03 AM6/20/19
to MonaServer
Hi,

I think you need to add an application name to your url :
rtmp://localhost:1949/live/oldtw5
rtmp://localhost:1949/live/oldtw6

This happens with some publishers implementations which do not accept an RTMP url without an application name.

Regards

iasan...@gmail.com

unread,
Jun 20, 2019, 10:20:05 PM6/20/19
to MonaServer
Many thanks for your answer. Adding an application name to these URL's did the trick :)
Reply all
Reply to author
Forward
0 new messages