Hi Icl,
It works. Thank you a lot. But there is another issue.
We can find the stream when list streams via telnet. But the local stream cannot be accessed by VLC.
Any suggestion?
We find the log is as below:
/applications/evorouter/src/protocols/timer/keepalivetimerprotocol.cpp:87 No traffic on stream INP(362) with name `btest17_1` from protocol RTSP(8558). Destroy it
/thelib/src/netio/epoll/iohandlermanager.cpp:130 Handlers count changed: 19->18 IOHT_TCP_CARRIER
/thelib/src/application/baseclientapplication.cpp:289 Stream INP(362) with name `btest17_1` from protocol RTSP(8558) unregistered from application `evostreamms`
/thelib/src/application/baseclientapplication.cpp:279 Protocol [RTSP(8558)] unregistered from application: evostreamms
/thelib/src/application/baseclientapplication.cpp:289 Stream OFRFLV(363) with name `btest17_1` from protocol PT(8563) unregistered from application `evostreamms`
/thelib/src/application/baseclientapplication.cpp:279 Protocol [PT(8563)] unregistered from application: evostreamms
/thelib/src/application/baseclientapplication.cpp:279 Protocol (Bound on: 0.0.0.0:43380) CUDP(20) <-> UDP(8559) <-> [IRTP(8560)] unregistered from application: evostreamms
/thelib/src/application/baseclientapplication.cpp:279 Protocol (Bound on: 0.0.0.0:43381) CUDP(21) <-> UDP(8561) <-> [RTCP(8562)] unregistered from application: evostreamms
/thelib/src/netio/epoll/iohandlermanager.cpp:130 Handlers count changed: 18->17 IOHT_UDP_CARRIER
/thelib/src/netio/epoll/iohandlermanager.cpp:130 Handlers count changed: 17->16 IOHT_UDP_CARRIER
/thelib/src/netio/epoll/iohandlermanager.cpp:130 Handlers count changed: 16->15 IOHT_TIMER
/thelib/src/netio/epoll/iohandlermanager.cpp:120 Handlers count changed: 15->16 IOHT_TCP_CONNECTOR
/applications/evorouter/src/application/originapplication.cpp:1365 Input stream btest17_1 not available yet. Recording scheduled on ../media/btest17.flv
/thelib/src/netio/epoll/iohandlermanager.cpp:120 Handlers count changed: 16->17 IOHT_TCP_CARRIER
/thelib/include/netio/epoll/tcpconnector.h:100 Outbound connection established: (Far: 180.166.21.221:554; Near: 192.168.4.12:52697) CTCP(17) <-> TCP(8565) <-> [RTSP(8566)]
/thelib/src/netio/epoll/iohandlermanager.cpp:130 Handlers count changed: 17->16 IOHT_TCP_CONNECTOR
/thelib/src/protocols/rtp/sdp.cpp:480 Attribute `charset` with value `Shift_JIS` not parsed
/thelib/src/protocols/rtp/sdp.cpp:480 Attribute `range` with value `npt=now-` not parsed
/thelib/src/protocols/rtp/sdp.cpp:480 Attribute `etag` with value `1234567890` not parsed
/thelib/src/protocols/rtp/sdp.cpp:455 Invalid codec: PCMU
/thelib/src/protocols/rtp/sdp.cpp:734 Track with no fmtp uri
/thelib/src/protocols/rtp/sdp.cpp:138 Audio track index 0 not found
/thelib/src/netio/epoll/iohandlermanager.cpp:120 Handlers count changed: 16->17 IOHT_UDP_CARRIER
/thelib/src/netio/epoll/iohandlermanager.cpp:120 Handlers count changed: 17->18 IOHT_UDP_CARRIER
/thelib/src/application/baseclientapplication.cpp:284 Stream INP(364) with name `btest17_1` from protocol RTSP(8566) registered to application `evostreamms`
/thelib/src/application/baseclientapplication.cpp:284 Stream OFRFLV(365) with name `btest17_1` from protocol PT(8571) registered to application `evostreamms`
/thelib/src/netio/epoll/iohandlermanager.cpp:120 Handlers count changed: 18->19 IOHT_TIMER