Open Narcissuz opened 10 years ago
Please reply
Hi,
How can I reproduce this situation? What version of Wowza Media Server do you use? How did you set the authentication mode on the server - give me the configuration files.
wowza version 4.0.4
Please advice
Thankyou
in file Application.xml
I am passing user credentials as rtmp://user:password@domain.com:port. But this is giving me an error NetStream.Publish.Denied. Logs are below.
If above is the wrong way to do, then How to pass credentials in RTMP url while making session, If I would like to provide secure publish?
anyone have a solution to this?
Have anybody found any solution?
do you have some updates about this issue ?
in project RTMPStreamPublisher
Cannot connect to wowza server with authentication.
Mycode
if 0 // use inside RTMPClient instance
upstream = [[BroadcastStreamClient alloc] initOnlyVideo:hostTextField.text resolution:resolution]; upstream.parameters = @[@"myUsername", @"myPassword"];
else // use outside RTMPClient instance
if (!socket) { socket = [[RTMPClient alloc] init:hostTextField.text]; if (!socket) { [self showAlert:@"Socket has not be created"]; return; }
}
upstream = [[BroadcastStreamClient alloc] initWithClient:socket resolution:resolution];
endif
//orientation = AVCaptureVideoOrientationPortrait; //orientation = AVCaptureVideoOrientationPortraitUpsideDown; //orientation = AVCaptureVideoOrientationLandscapeRight; orientation = AVCaptureVideoOrientationLandscapeLeft; //orientation = orientation % AVCaptureVideoOrientationLandscapeLeft + 1; [upstream setVideoOrientation:orientation];
// [upstream setVideoBitrate:136000]; //[upstream setVideoBitrate:4000]; //[upstream setAudioBitrate:4000];
upstream.delegate = self;
[upstream stream:streamTextField.text publishType:PUBLISH_LIVE]; //[upstream stream:streamTextField.text publishType:PUBLISH_RECORD]; //[upstream stream:streamTextField.text publishType:PUBLISH_APPEND];
btnConnect.title = @"Disconnect";
Please advice