slavavdovichenko / MediaLibDemos

98 stars 25 forks source link

Streaming of CIF format #29

Open mcodoni opened 10 years ago

mcodoni commented 10 years ago

Hi, I have tried to stream a CIF format video on a adsl 500 kbti/s upload on a wowza server. the pending frames are increase constantly. with a 5000 kbit/s upload connection it works good. for the tests I used the RTMPStreamPublisher demo.

I have made another test with the free app "broadcast me". It streams via RTMP also and it work very good even with higher quality formats (on the 500 kbit/s upload connection).

We can't understand where could be the difference.

regards

Maurizio

ankushdhawan commented 10 years ago

Hello, I m using the red5 server but when i set the RESOLUTION_CIF.My app is crash after some time.do you have solution please share with me.it gives memory warning

slavavdovichenko commented 10 years ago

Hi, I've fixed these problems - you can try

ankushdhawan commented 10 years ago

Hello, According to my app requirement it needs high resolution live streaming but my app is crash after few seconds .do you have any solution please help me to resolve that issue.

Thanks and Regards Ankush Dhawan.

slavavdovichenko commented 10 years ago

You can use RESOLUTION_VGA - 640x480px - isn't it enough? RESOLUTION_HIGH needs a very high device perfomance and is very power-consuming

slavavdovichenko commented 10 years ago

Now lib works with red5 - I've made a testing stream on RESOLUTION_MEDIUM during more then 16h

ankushdhawan commented 10 years ago

Thanks for help and quick reply .i will test and let you know.

mcodoni commented 10 years ago

Hi, I have tried to stream CUSTOM CIF with an ADSL 5000/500 and it is extremely slow. Is it normal? regards Maurizio

From: slavavdovichenko Sent: Friday, July 4, 2014 9:59 AM To: slavavdovichenko/MediaLibDemos Cc: mcodoni Subject: Re: [MediaLibDemos] Streaming of CIF format (#29)

Hi, I've fixed these problems - you can try

— Reply to this email directly or view it on GitHub.

ankushdhawan commented 10 years ago

Hello, I am checked that library .but my app is crash when i click on the connect button.the error is given below. 2014-07-09 13:25:05.184 apps[1988:907] initVideoCapture -> preset AVCaptureSessionPresetLow is supported, orientation = 3 2014-07-09 13:25:05.252 apps[1988:907] -[AVCaptureFigVideoDevice activeVideoMinFrameDuration]: unrecognized selector sent to instance 0x1e5ac920 2014-07-09 13:25:05.260 apps[1988:907] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AVCaptureFigVideoDevice activeVideoMinFrameDuration]: unrecognized selector sent to instance 0x1e5ac920'

slavavdovichenko commented 10 years ago

Hi mcodoni,

Now RTMPStreamPublisher demo sample shows the mean fps below the stream preview. If the fps value is less then 15 - your device performance is very low, and you should use the less frame resolution for stream publishing.

slavavdovichenko commented 10 years ago

Hi ankushdhawan,

It really took place on the devices with iOS < 7.0. I've fixed this bug - please, try again

ankushdhawan commented 10 years ago

Hi, Great work! it work fine in iOS7 but iOS6 live streaming not work.according to my App requirement it works both iOS6 and iOS7.Please , provide me solution to Resolve that issue.

Regards, Ankush

slavavdovichenko commented 10 years ago

Hi Ankush,

I am testing just now all our demo samples with the last MediaLibDemos commit on iPod with iOS 6.1.6 (10B500) - all exactly works without crashes!

Did you update last MediaLibDemos? What device & iOS version do you use? Do our demo samples work on your device?

Regards, Slava

ankushdhawan commented 10 years ago

HI Slavavdovichenko, Now it works well but there is an some issues live streaming in IOS6 .livestreaming stop after 4 to 5 second when i set it resolution Medium or VGA .what is issue behind it.

Thanks and Regard Ankush

ankushdhawan commented 10 years ago

HI Slavavdovichenko, When i integrate this library to my app .and run the app in IOS6.My app become very slow when i perform any operation on my app.My App become crash.i think it memory issue, Thanks and Regards Ankush

slavavdovichenko commented 10 years ago

Hi,

Maybe, the device with iOS6 has low performance - and you should use less resolution and/or less bitrate.

bhagyalakshmikad commented 9 years ago

Hi slavavdovichenko ,

I have downloaded MediaLibDemos project and through RTMPStreamPublisher, I can able to connect wowza streaming engine. Through RTMPStreamPublisher, If I click on start or toggle cameras , nothing I can see. Where can I see the running live stream?

Through RTMPStreamPlayer, I am getting the following error.

2014-09-03 16:52:21.530 RTMPStreamPlayer[4876:1103] MPMediaDecoder -> playing: try to open the stream rtmp://192.168.1.29:1935/live/slavav3 ... 2014-09-03 16:52:21.587 RTMPStreamPlayer[4876:1103] @@@@@@@@@@@@@@@@@@>>>> MPMediaDecoder -> openStream: (BEGIN) [rtmp @ 0x6c8740] Server error: Failed to play slavav3; stream not found. 2014-09-03 16:52:21.814 RTMPStreamPlayer[4876:1103] MPMediaDecoder -> ERROR avformat_open_input() : Operation not permitted 2014-09-03 16:52:21.823 RTMPStreamPlayer[4876:1103] MPMediaDecoder -> playing: stream is not opened, wait about 1 sec

Please provide me solution to resolve this issue. How can I see the uploaded live stream video in the Wowza streaming engine?

Thanks & Regards, Bhagya

Samratcn commented 8 years ago

Hi slavavdovichenko ,

I have downloaded MediaLibDemos project and successfully implemented single video sending and receiving in same view controller. But I can not implement multiple video streaming receive in same view controller. Is it possible sir? Please help me.

Thanks, Samrat