Results 1 to 7 of 7

Thread: Timing out on MPTS multicast join

  1. #1
    Join Date
    Oct 2013
    Posts
    5

    Question Timing out on MPTS multicast join

    Hello!

    Instead of continuing to pull my hair out over this, I figure I'll appeal to you all. I'm trying to use WMS on a RedHat EL6 server to connect to the MPTS multicast of a Sencore MRD4400, but it appears to continuously time out.

    From the logs:

    INFO application app-start _definst_ live/_definst_
    INFO server comment - RTPMediaCaster.create[811495456]
    INFO server comment - RTPMediaCaster.init[811495456]
    DEBUG server comment - RTPSessionDescriptionDataProviderBasic.rtspSessionTimeout: 15000
    DEBUG server comment - RTPSessionDescriptionDataProviderBasic.rtspConnectionTimeout: 4000
    INFO server comment - RTPMediaCaster.Reconnector[811495456:live/_definst_:mpegts.stream]: start: 1
    DEBUG server comment - RTPMediaCaster#Reconnector.run: reconnectDelay: 100
    INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [live/_definst_]: flv:mpegts.stream
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.192.0.200:10000?videoPID=0x310&audioPID=0x300
    DEBUG server comment - sdp: v=0
    DEBUG server comment - sdp: o=- 1846185774 1846185774 IN IP4 127.0.0.1
    DEBUG server comment - sdp: s=WowzaMediaServer
    DEBUG server comment - sdp: t=0 0
    DEBUG server comment - sdp: a=range:npt=now-
    DEBUG server comment - sdp: c=IN IP4 239.192.0.200
    DEBUG server comment - sdp: m=mpegts-transport 10000 RTP/AVP 96
    DEBUG server comment - sdp: a=rtpmap:96 MP2T/90000
    DEBUG server comment - sdp: a=control:mpegts
    DEBUG server comment - sdp: a=audioPID:0x300
    DEBUG server comment - sdp: a=videoPID:0x310
    DEBUG server comment - LiveReceiver.onFlushNotifyClients[live/_definst_/]: false
    DEBUG server comment - LiveReceiver.flushInterval[live/_definst_/]: 50
    DEBUG server comment - LiveReceiver.verboseDebug[live/_definst_/]: false
    INFO stream create - -
    DEBUG server comment - RTPDePacketizerMPEGTS.init
    INFO server comment - RTPDePacketizerMPEGTS.init: Drop incomplete video frames
    INFO stream publish mpegts.stream -
    INFO server comment - MulticastTransport.bind[live/_definst_]: 239.192.0.200/10000
    INFO server comment - MulticastTransport.bind: multicastInterfaceAddress: /10.0.0.1
    DEBUG server comment - MulticastTransport.bind.joinGroup: multicastInterfaceAddress: /239.192.0.200
    INFO server comment - RTPMediaCaster.Reconnector[811495456:live/_definst_:mpegts.stream]: done: 1
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    INFO server comment - RTPMediaCaster.streamTimeout[811495456:live/_definst_:mpegts.stream]: timeout:12000 diff:12008 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[811495456:live/_definst_:mpegts.stream]:
    INFO server comment - RTPMediaCaster.closeRTPSession[811495456:live/_definst_:mpegts.stream]
    INFO server comment - MulticastTransport.unbind[live/_definst_]: 239.192.0.200/10000 sent:0 recv:0
    INFO stream unpublish mpegts.stream -
    INFO stream destroy mpegts.stream -




    A tcpdump of the interface shows me that the multicast traffic is coming across:

    11:36:55.953753 IP 10.0.0.72.3020 > 239.192.0.200.10000: UDP, length 1316
    11:36:55.954327 IP 10.0.0.72.3020 > 239.192.0.200.10000: UDP, length 1316
    11:36:55.954903 IP 10.0.0.72.3020 > 239.192.0.200.10000: UDP, length 1316
    ...

    And I also see these on the interface:

    10.0.0.1 > 224.0.0.22: igmp v3 report, 1 group record(s) [gaddr 239.192.0.200 to_ex { }]
    10.0.0.1 > 224.0.0.22: igmp v3 report, 1 group record(s) [gaddr 239.192.0.200 to_in { }]
    10.0.0.1 > 224.0.0.22: igmp v3 report, 1 group record(s) [gaddr 239.192.0.200 to_ex { }]


    But ultimately, I can't ever seem to join the group. Help please!

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Have you seen this guide on How to listen for multicast on a particular inferface ?

    Richard

  3. #3
    Join Date
    Oct 2013
    Posts
    5

    Default

    I have seen it and I've tried it.

    Here's with only the VHost updated as suggested:

    INFO application app-start _definst_ live/_definst_
    INFO server comment - RTPMediaCaster.create[9052195]
    INFO server comment - RTPMediaCaster.init[9052195]
    DEBUG server comment - RTPSessionDescriptionDataProviderBasic.rtspSessionTimeout: 15000
    DEBUG server comment - RTPSessionDescriptionDataProviderBasic.rtspConnectionTimeout: 4000
    INFO server comment - RTPMediaCaster.Reconnector[9052195:live/_definst_:mpegts.stream]: start: 1
    DEBUG server comment - RTPMediaCaster#Reconnector.run: reconnectDelay: 100
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.192.0.200:10000?videoPID=0x310&audioPID=0x300
    DEBUG server comment - sdp: v=0
    DEBUG server comment - sdp: o=- -2062705833 -2062705833 IN IP4 127.0.0.1
    DEBUG server comment - sdp: s=WowzaMediaServer
    DEBUG server comment - sdp: t=0 0
    DEBUG server comment - sdp: a=range:npt=now-
    DEBUG server comment - sdp: c=IN IP4 239.192.0.200
    DEBUG server comment - sdp: m=mpegts-transport 10000 RTP/AVP 96
    DEBUG server comment - sdp: a=rtpmap:96 MP2T/90000
    DEBUG server comment - sdp: a=control:mpegts
    DEBUG server comment - sdp: a=audioPID:0x300
    DEBUG server comment - sdp: a=videoPID:0x310
    DEBUG server comment - LiveReceiver.onFlushNotifyClients[live/_definst_/]: false
    DEBUG server comment - LiveReceiver.flushInterval[live/_definst_/]: 50
    DEBUG server comment - LiveReceiver.verboseDebug[live/_definst_/]: false
    INFO stream create - -
    DEBUG server comment - RTPDePacketizerMPEGTS.init
    INFO server comment - RTPDePacketizerMPEGTS.init: Drop incomplete video frames
    INFO stream publish mpegts.stream -
    INFO server comment - MulticastTransport.bind[live/_definst_]: 239.192.0.200/10000
    DEBUG server comment - MulticastTransport.bind.joinGroup: multicastInterfaceAddress: /239.192.0.200:10000:name:em3 (em3)
    INFO server comment - RTPMediaCaster.Reconnector[9052195:live/_definst_:mpegts.stream]: done: 1
    INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [live/_definst_]: flv:mpegts.stream
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    INFO server comment - RTPMediaCaster.streamTimeout[9052195:live/_definst_:mpegts.stream]: timeout:12000 diff:12011 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[9052195:live/_definst_:mpegts.stream]:
    INFO server comment - RTPMediaCaster.closeRTPSession[9052195:live/_definst_:mpegts.stream]
    ERROR server comment - RTPMulticastListener.unbind: java.net.SocketException: Cannot assign requested address
    INFO stream unpublish mpegts.stream -
    INFO stream destroy mpegts.stream -



    Here's with both conf/VHost.xml AND conf/live/Application.xml updated:

    INFO application app-start _definst_ live/_definst_
    INFO server comment - RTPMediaCaster.create[418787413]
    INFO server comment - RTPMediaCaster.init[418787413]
    DEBUG server comment - RTPSessionDescriptionDataProviderBasic.rtspSessionTimeout: 15000
    DEBUG server comment - RTPSessionDescriptionDataProviderBasic.rtspConnectionTimeout: 4000
    INFO server comment - RTPMediaCaster.Reconnector[418787413:live/_definst_:mpegts.stream]: start: 1
    DEBUG server comment - RTPMediaCaster#Reconnector.run: reconnectDelay: 100
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.192.0.200:10000?videoPID=0x310&audioPID=0x300
    DEBUG server comment - sdp: v=0
    DEBUG server comment - sdp: o=- 2109999969 2109999969 IN IP4 127.0.0.1
    INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [live/_definst_]: flv:mpegts.stream
    DEBUG server comment - sdp: s=WowzaMediaServer
    DEBUG server comment - sdp: t=0 0
    DEBUG server comment - sdp: a=range:npt=now-
    DEBUG server comment - sdp: c=IN IP4 239.192.0.200
    DEBUG server comment - sdp: m=mpegts-transport 10000 RTP/AVP 96
    DEBUG server comment - sdp: a=rtpmap:96 MP2T/90000
    DEBUG server comment - sdp: a=control:mpegts
    DEBUG server comment - sdp: a=audioPID:0x300
    DEBUG server comment - sdp: a=videoPID:0x310
    DEBUG server comment - LiveReceiver.onFlushNotifyClients[live/_definst_/]: false
    DEBUG server comment - LiveReceiver.flushInterval[live/_definst_/]: 50
    DEBUG server comment - LiveReceiver.verboseDebug[live/_definst_/]: false
    INFO stream create - -
    DEBUG server comment - RTPDePacketizerMPEGTS.init
    INFO server comment - RTPDePacketizerMPEGTS.init: Drop incomplete video frames
    INFO stream publish mpegts.stream -
    INFO server comment - MulticastTransport.bind[live/_definst_]: 239.192.0.200/10000
    INFO server comment - MulticastTransport.bind: multicastInterfaceAddress: /10.0.0.1
    DEBUG server comment - MulticastTransport.bind.joinGroup: multicastInterfaceAddress: /239.192.0.200:10000:name:em3 (em3)
    INFO server comment - RTPMediaCaster.Reconnector[418787413:live/_definst_:mpegts.stream]: done: 1
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    DEBUG server comment - ServerHandler.handleSessionIdle: idleTimeout: 32
    INFO server comment - RTPMediaCaster.streamTimeout[418787413:live/_definst_:mpegts.stream]: timeout:12000 diff:12011 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[418787413:live/_definst_:mpegts.stream]:
    INFO server comment - RTPMediaCaster.closeRTPSession[418787413:live/_definst_:mpegts.stream]
    INFO server comment - MulticastTransport.unbind[live/_definst_]: 239.192.0.200/10000 sent:0 recv:0
    INFO stream unpublish mpegts.stream -
    INFO stream destroy mpegts.stream -

    Here are my XML files for reference:

    VHost.xml http://pastebin.com/raw.php?i=7ys89Hey
    Application.xml http://pastebin.com/raw.php?i=ugt4MfuD

    Thanks!!

  4. #4
    Join Date
    Oct 2013
    Posts
    5

    Default

    Ping!

    Can you think of anything else I might be able to check/try/provide to get moving on this?

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Try setting the Application.xml /RTP /RTSP /RTPTransportMode to "udp"

    Also, follow this RTSP guide:

    And this trouble-shooting guide

    Richard

  6. #6
    Join Date
    Oct 2013
    Posts
    5

    Default

    It was a firewall issue. I added "-A INPUT -m pkttype --pkt-type multicast -j ACCEPT" before "-A INPUT -j REJECT --reject-with icmp-host-prohibited" in /etc/sysconfig/iptables and that did the trick.

    Thanks!

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Great, glad it's sorted. Thanks for the update

    Richard

Similar Threads

  1. Playback of MPTS Streams
    By Goldsmith81 in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 09-20-2013, 07:50 AM
  2. Live MPTS Streaming showing Black Screen
    By dhamibirendra in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 05-11-2013, 04:44 AM
  3. mpts transcode
    By raputza in forum AddOn: Transcoder
    Replies: 5
    Last Post: 12-11-2011, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •