fyhertz / libstreaming-examples

Some examples of how to use libstreaming
283 stars 231 forks source link

front cam streaming is not working #31

Open beckondelve1 opened 8 years ago

beckondelve1 commented 8 years ago

hi everyone i have tried streaming with front cam but it not working Could you please suggest me what can i do ..

and i have one more question

Is 16*9 streaming possible by this library ? i have tried this thing but always i have got stream black from both corners. Please help me out these problems .. Thanks

fqcheng220 commented 7 years ago

@beckondelve1 I meet the same issuse,

03-01 15:08:57.338 19058-19070/net.majorkernelpanic.example1 E/Camera-JNI: Callback buffer was too small! Expected 115200 bytes, but got 38016 bytes! 03-01 15:08:57.338 19058-19070/net.majorkernelpanic.example1 E/Camera-JNI: Couldn't allocate byte array for JPEG data 03-01 15:08:57.348 19058-21964/net.majorkernelpanic.example1 E/VideoStream: onPreviewFrame data=empty 03-01 15:08:57.348 19058-21964/net.majorkernelpanic.example1 E/VideoStream: Symptom of the "Callback buffer was to small" problem...

Any ideas?

walidelrifai commented 2 years ago

same issue!