Results 1 to 5 of 5

Thread: Sourcing multicast encoder feed from specific interface card

  1. #1
    Join Date
    Jun 2012
    Posts
    4

    Default Sourcing multicast encoder feed from specific interface card

    How can I tell Wowza that a particular multicast camera can be accessed only on a particular network card - we have 5 connections on our server, of which 3 are multicast, however, Wowza is bound to one that isn't multicast enabled, so when I try to start the stream it usually fails. The only workaround so far has been to disable the interfaces that are non-multicast, then use stream manager to connect to the multicast source, then re-enable the main card to allow outgoing traffic. This is a hack, and short of having our network folks reconfigure something they aren't comfortable with, there may be some sort of routing command or paramter for the live application or mpegts.stream file that directs Wowza to the proper interface - hoping I am not the first one to run into that.

    Peter

    Ps - this is on Windows 2008 R2 server

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

    Default

    Peter,

    In the first /VHost.xml /HostPort, the one with /Port "1935", try replacing the "*" in /IpAddress with IP of network card. Then restart Wowza

    Here is how
    http://www.wowza.com/forums/content....work-interface

    Richard
    Last edited by rrlanham; 07-17-2012 at 10:49 AM.

  3. #3
    Join Date
    Jun 2012
    Posts
    4

    Default

    That entry is the IP address of the 10 gig card, which cannot receive the multicast. I tried adding one of the IPs that can, but that didn't help either. Wowza still tried to connect on the inerface without multicast. Could it work if I put that second ip block first in the vhost file?


    ----------------------
    Not working, trying to join multicast with 10G card enabled:
    ----------------------
    
    
    
    C:\Users\burke-ou>netsh interface ipv4 show joins
    
    Interface 20: Broadcom 4
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  No    224.0.0.1
    
    Interface 21: Broadcom 1
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  No    224.0.0.1
    
    Interface 22: Broadcom 2
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  No    224.0.0.1
    
    Interface 28: Intel 10G 1
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  Yes   224.0.0.1
    0                    1  Yes   233.0.59.8
    
    Interface 25: Broadcom 3
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  Yes   224.0.0.1
    
    
    
    
    
    ----------------------
    Working, join multicast with 10G card disabled at time of join. 
    ----------------------
    
    
    
    
    C:\Users\burke-ou>netsh interface ipv4 show joins
    
    Interface 20: Broadcom 4
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  No    224.0.0.1
    
    Interface 21: Broadcom 1
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  No    224.0.0.1
    0                    1  Yes   233.0.59.8
    
    Interface 22: Broadcom 2
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  No    224.0.0.1
    
    Interface 25: Broadcom 3
    
    Scope       References  Last  Address
    ----------  ----------  ----  ---------------------------------
    0                    0  Yes   224.0.0.1
    This also affects VLC - the moment we disable the 10 gig card, it will play the mulitcast. Once joined we re-enabled the 10G card and everything works fine in Wowza with traffic going out via the 10G interface.


    Here is what we see in the console when it is not working:

    INFO stream create - -
    INFO stream publish mpegts.stream -
    INFO server comment - MulticastTransport.bind[memorial/_definst_]: 233.0.59.8/1234
    INFO server comment - RTPMediaCaster.Reconnector[1678698879:memorial/_definst_:mpegts.stream]: done: 1444
    INFO server comment - RTPMediaCaster.streamTimeout[1678698879:memorial/_definst_:mpegts.stream]: timeout:12000 diff:12001 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[1678698879:memorial/_definst_:mpegts.stream]:
    INFO server comment - RTPMediaCaster.closeRTPSession[1678698879:memorial/_definst_:mpegts.stream]
    INFO server comment - MulticastTransport.unbind[memorial/_definst_]: 233.0.59.8/1234 sent:0 recv:0
    INFO stream unpublish mpegts.stream -
    INFO stream destroy mpegts.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1678698879:memorial/_definst_:mpegts.stream]: start: 1445
    INFO server comment - RTPMulticastListener.run(stop)
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[memorial/_definst_]: URI: udp://233.0.59.8:1234

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

  5. #5
    Join Date
    Jun 2012
    Posts
    4

    Default

    sweet - why on earth did google not bring this up??? :-) works like a charm. Now I need to see how that works with more than one webcam.
    do I need to worry about this entry the old article does not mention?

    <!-- <TrafficClass>0</TrafficClass> -->

    I left it where it is for now and it seems to work fine.

Similar Threads

  1. DVR specific times of a live feed
    By edmistj in forum AddOn: Wowza nDVR
    Replies: 2
    Last Post: 04-03-2012, 08:36 AM
  2. Multicast on fixed network interface
    By Lelik1985 in forum General Forum
    Replies: 2
    Last Post: 01-28-2012, 08:45 AM

Posting Permissions

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