• 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 /
  • Hire a Consultant /
  • Integrating Wowza into Your Workflow /
avatar image
Question by Dejan Deskoski · Jun 09, 2015 at 05:59 AM ·

Can't receive multicast UDP/RTP stream

Hello,

I've been trying to set the Wowza media server for live re-destribution of 10 channels to my webapp. I've gone through the documentation and forum questions, but didn't solve the problem. The problem is that i cannot receive the multicast stream.

First i created sdp file and i bind the multicast address.

v=0^M
s=Unnamed^M
c=IN IP4 234.168.214.3
m=video 5006 RTP/AVP 96^M
a=rtpmap:96 H264/90000^M
a=fmtp:96 packetization-mode=1;profile-level-id=420016;sprop-parameter-sets=Z0IAFukBQHsg,aM4BDyA=;^M


Wowza reads the sdp file but keeps restarting all the time. The output is:

INFO server comment - RTPMediaCaster.Reconnector[562938290:live/_definst_:teststream]: start: 1
INFO server comment - VHost.startStartupStreams: Stream successfully started [live/_definst_]: mp4:teststream
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: /usr/local/WowzaStreamingEngine/content/teststream
INFO stream create - -
INFO server comment - MulticastTransport.bind[live/_definst_]: 234.168.214.3/5006
INFO stream publish infel -
INFO server comment - MulticastTransport.bind[live/_definst_]: 234.168.214.3/5007
INFO server comment - RTPMediaCaster.Reconnector[562938290:live/_definst_:teststream]: done: 1
INFO server comment - MediaCasterStreamValidator.addMonitor[live/_definst_/teststream]
INFO server comment - MediaCasterStreamValidator.onValidateMediaCaster[live/_definst_] Stream not healthy [stream startup timeout]: mp4:teststream
INFO server comment - MediaCasterStreamValidator.onValidateMediaCastersStop[live/_definst_] Reset stream [mediaCaster]: mp4:teststream
INFO server comment - RTPMediaCaster.resetConnection[562938290:live/_definst_:teststream]: 
INFO server comment - RTPMediaCaster.closeRTPSession[562938290:live/_definst_:teststream]
INFO server comment - MulticastTransport.unbind[live/_definst_]: 234.168.214.3/5006 sent:0 recv:0
INFO server comment - MulticastTransport.unbind[live/_definst_]: 234.168.214.3/5007 sent:0 recv:0


In the Application.xml file the AppType is live.

Next i tried with stream files. In my teststream.stream file the url address is: rtp://234.168.214.3:5006

I connect to the stream, but the status is:Waiting for the stream and doesn't change to Active. The Wowza output is: SDP file missing: /usr/local/WowzaStreamingEngine/content/rtp://234.168.214.3:5006

But when i changed the protocol from the encoder to UDP, and the url in the teststream.stream to udp://234.168.214.3:6971, the status is Active and the output is:

INFO server comment - RTPMediaCaster.create[775949951]
INFO server comment - RTPMediaCaster.init[775949951]
INFO server comment - RTPMediaCaster.Reconnector[775949951:live/_definst_:teststream.stream]: start: 1
INFO server comment - REST API: Stream File connected: teststream.stream
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://234.168.214.3:6971
INFO stream create - -
INFO server comment - RTPDePacketizerMPEGTS.init: Drop incomplete video frames
INFO server comment - UDPPortSharingManager.bind[live/_definst_:true]: 234.168.214.3/234.168.214.3:6971
INFO server comment - MulticastTransport.bind[live/_definst_]: 234.168.214.3/6971
INFO stream publish teststream.stream -
INFO server comment - RTPMediaCaster.Reconnector[775949951:live/_definst_:teststream.stream]: done: 1
INFO server comment - MediaCasterStreamValidator.addMonitor[live/_definst_/teststream.stream]
INFO server comment - MediaCasterStreamValidator.onValidateMediaCaster[live/_definst_] Stream not healthy [stream startup timeout]: mp4:teststream.stream
INFO server comment - MediaCasterStreamValidator.onValidateMediaCastersStop[live/_definst_] Reset stream [mediaCaster]: mp4:teststream.stream
INFO server comment - RTPMediaCaster.resetConnection[775949951:live/_definst_:teststream.stream]: 
INFO server comment - RTPMediaCaster.closeRTPSession[775949951:live/_definst_:teststream.stream]
INFO server comment - MulticastTransport.unbind[live/_definst_]: 234.168.214.3/6971 sent:0 recv:0
INFO server comment - UDPPortSharingManager.unbind[live/_definst_:true]: 234.168.214.3/234.168.214.3:6971


... and keeps restarting.

In the Application.xml file in the <RTP>/<Properties> tag i added the following:

<Property>

<Name>rtpDePacketizerWrapper</Name>

<Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperReChunkMPEGTS</Value>

</Property>

.. but this didn't change anything.

I can receive the stream with vlc with no problems through RTP. I also checked with Wireshark and i can see the packets floating from source to destination address.

Please for advice,

Regards
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

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by Roman Shmelev · Jun 10, 2015 at 07:25 AM

Hi!

the workaround may be to use ffmpeg as a proxy between your multicast streams and wowza.

if you're interested then please contact me at roman@dynamicstreaming.net
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 Karel Boek-Senior Consultant · Jun 11, 2015 at 08:17 AM 0
Share
Hi,

As long as the codecs are supported, and the required multicast ports are open in the firewall (if applicable), Wowza should be perfectly capable of receiving the multicast stream. But it's difficult to be certain about this before we've analyzed this. You may contact me by email if you want us to take a look at the configuration.

Kind Regards,

Karel Boek

karel.boek@raskenlund.com



Raskenlund

www.raskenlund.com

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

2 People are following this question.

avatar image avatar image

Related Questions

Scheduled Playlist (TV Channel) style FEASIBILITY QUESTIONS 1 Answer

Consultant needed for custom development and security review 2 Answers

PHP Script Broadcast Video 1 Answer

Streaming expert needed 1 Answer

Consultant needed to set up VOD, PPM set up on my adult site 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