• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • Live Streaming and Encoders /
avatar image
Question by Peter Burke · Jul 16, 2012 at 10:17 AM · live streaming and encoders

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
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Richard Lanham · Jul 16, 2012 at 11:47 PM

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.php?78-How-to-listen-for-a-multicast-stream-on-a-particular-network-interface

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Peter Burke · Jul 17, 2012 at 10:46 AM 0
Share
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
avatar image

Answer by Richard Lanham · Jul 17, 2012 at 05:48 PM

Actually, here is how:

http://www.wowza.com/forums/content.php?78-How-to-listen-for-a-multicast-stream-on-a-particular-network-interface

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Peter Burke · Jul 17, 2012 at 03:33 PM 0
Share
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.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Live-Record: Audio missing at the end of some recorded files 2 Answers

Why Flash player can't play video live streaming? 2 Answers

iOS device plays HLS stream encoded on DM365 only if it receives the first segment 1 Answer

Maximum Connections from a domain or IP-address 1 Answer

Re streaming MPEG4 IP camera (VLC transcode) 0 Answers

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges