Welcome Guest Search | Active Topics | Members | Log In | Register

Live Streaming to Wowza from IOS Options · View
pravinuttarwar
Posted: Sunday, May 06, 2012 10:24:12 AM
Rank: Newbie Coder
Groups: Member

Joined: 5/6/2012
Posts: 2
Points: 6
Location: India
Hi ,

I want to implement live rtmp streaming of audio and video from IOS app to wowza, but i cant find any examples
as such, the example I have found is VideoStreamPublisher but I am unable to connect and my app got crashed.

Please give me proper inputs to go ahead.

Regards,
Pravin
Cyril
Posted: Monday, May 07, 2012 6:40:40 AM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
Quote:
my app got crashed


could you please provide the following information:

1. What is the library version
2. Did you find an example on the midnightcoders site or somewhere else?
3. Any chance to get more details about the application crash? Any info about your simplified use-case to reproduce the problem as well as any info about the exception will work

-Cyril
slavav
Posted: Saturday, October 06, 2012 2:22:31 AM

Rank: Apprentice Coder
Groups: Member

Joined: 3/23/2012
Posts: 30
Points: 87
Location: Kiev, Ukraine
Hi, everybody

I've added the constructors in BroadcasrStreamClient class:

-(id)initOnlyAudio:(NSString *)url;
-(id)initOnlyAudioWithClient:(RTMPClient *)client;
-(id)initOnlyVideo:(NSString *)url resolution:(VideoEncoderResolution)resolution;
-(id)initOnlyVideoWithClient:(RTMPClient *)client resolution:(VideoEncoderResolution)resolution;

You can publish only audio or only video stream. Audio or video part can be added to or removed from the existing stream by using the methods:

-(BOOL)setVideoMode:(VideoMode)mode;
-(BOOL)setAudioMode:(AudioMode)mode;

You can get MediaLibDemos from https://github.com/slavavdovichenko/MediaLibDemos

For devices less then iPhone 4s it is better to use LOW resolution for video, because for higher resolutions fps is less then 12, and playing stream quality is low. For iPhone 4s and more you can use LOW, MEDIUM & VGA (iPhone 5 + HIGH).

Slava
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.096 seconds.