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/MediaLibDemosFor 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