jgh-/VideoCore-Inactive

Wowza publish stream with VideoCore

MurphyHBrantley opened this issue · 1 comments

I am trying to publish a video stream to my Wowza Streaming Engine, but I receive the message: NetStream.Publish.Denied

These are two of the ways I have attempted to publish this stream, but I always get the same error (NetStream.Publish.Denied).

  1. [_session startRtmpSessionWithURL:
    @"rtmp://username:password@ec2-xx-xxx-xxx-xx.compute-1.amaz‌​onaws.com/MyStreamName"
    andStreamKey:@"myStream"];

  2. [_session startRtmpSessionWithURL:
    @"rtmp://ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com/MyStr‌​eamName"
    andStreamKey:@"myStream"];

Has anyone successfully published a video stream to Wowza using this library? If so, could you please share the correct way to format the url or what else needs to be done to successfully publish the stream to your Wowza Streaming Engine?

*Note: I am using Wowza Streaming Engine with AWS Cloudfront for video streaming.

I solved my problem by turning the password off on the wowza server settings and using this:

[_session startRtmpSessionWithURL:
@"rtmp://ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com/MyStr‌​eamName"
andStreamKey:@"myStream"];

But I have yet to figure out how to add username/password to the url to be able to stream.