Open imclean opened 11 years ago
I have experienced exactly the same problem.
Hi, I've fixed this bug - you can pull the fixed libs
Pulled and tested, not fixed, still crashes. just put this after the upstream is created: [upstream setVideoBitrate:32000];
I can not reproduce this crash ((
I've added [upstream setVideoBitrate:32000]; just after upstream instance creation, and in camerasToggle: method - all works! Can you describe you crash scenario in detail?
And bit rate = 32000 is wrong value - the default value for RESOLUTION_LOW is 272000
OK, here is the crash:
All I have is this: upstream = [[BroadcastStreamClient alloc] initWithClient:socket resolution:RESOLUTION_LOW]; [upstream setVideoBitrate:272000];
Crashes on [BroadcastStreamClient sendVideoFrame:]
2013-08-15 16:28:30.690 RTMPStreamComeback[8843:907] audio codec context: bit_rate = 128000, sample_rate = 16000, channels = 1, sample_fmt = 3, frame_bits = 0
2013-08-15 16:28:32.954 RTMPStreamComeback[8843:4003] $$$$$$
Does this mean we cant go any lower than 272000 ? which seems a bit high for mobile live streaming.
Hi,
Can you please let me know if you are going to use my test server for testing on, thanks.
Iain
Hi,
You can update & test again
Slava
On Mon, Aug 26, 2013 at 2:49 PM, imclean notifications@github.com wrote:
Hi,
Can you please let me know if you are going to use my test server for testing on, thanks.
Iain
— Reply to this email directly or view it on GitHubhttps://github.com/slavavdovichenko/MediaLibDemos/issues/8#issuecomment-23257480 .
Still Crashes
When i set RESOLUTION_MEDIUM it going crash after 4 to 5 second and it gives memory warning.
Changing the video bitrate after the initialisation of the upstream crashes the app because the codec seems to have been deallocated.