Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

hi,

    I am working on a videorecording application in which i am capturing the videos n sending i to the sever... in this i hv to send the data parallelly to the server while recording...i read that threading in brew is cooperative threading how could we run to process parallelly....pls help me if anybody has any knowledge regarding this issue.

Pls refer article on co-operative multithreading with sample code
http://www.devx.com/wireless/Article/32077

Pls refer article on co-operative multithreading with sample code
http://www.devx.com/wireless/Article/32077

i had followed this  article but whenever the thread through which i send data work,the other thread thru wch m doing recording is not workng(camera wont b able to invoke).

i had followed this  article but whenever the thread through which i send data work,the other thread thru wch m doing recording is not workng(camera wont b able to invoke).

Ryan, i would suggest to let recording complete and then send whole file to server.

Ryan, i would suggest to let recording complete and then send whole file to server.

samesh... but my application is about real time...i have to send the data while recording...how wuld i do that????

samesh... but my application is about real time...i have to send the data while recording...how wuld i do that????

thats true, but camera frames and networking calls both are asynchronous calls and there would be synchronization issues between these calls. As Brew single threaded with coperative threads, this may not work for you.

thats true, but camera frames and networking calls both are asynchronous calls and there would be synchronization issues between these calls. As Brew single threaded with coperative threads, this may not work for you.

so it wont b possible in brew to make this kind of application...tnx samhesh for ur help.

so it wont b possible in brew to make this kind of application...tnx samhesh for ur help.

Certainly possible, You can try IThread for removing sync issues.

Certainly possible, You can try IThread for removing sync issues.