Comments (7)
Having often the same issue. I noticed in logcat (VideoStream tag) that sometimes Surface Destroyed is called soon after Surface Changed, so when you start streaming nothing works and the output is 'sending message to a handler on a dead thread'.
Can't solve it yet.
from libstreaming.
I solved it by making the instantiation of the handler stop being static and being created for each Session.java instance.
from libstreaming.
@brunosiqueira very helpful, many thanks! I couldn't get out from this issue...
from libstreaming.
Thank you bruno, I accepted your patch, I have a little concern though:
Do you know if the thread created for the Session is ended/destroyed once the session object is garbage collected? Because if it's not then we have a memory leak issue here :/
from libstreaming.
I have actually rewrote that, to respect the naming conventions, and I actually realized that getLooper() is blocking until the LooperThread is fully ready, so the CountDownLatch is not needed.
from libstreaming.
Hey, Simon. I have seen the change in the code and I have updated that in
my app. It's working properly.
I researched for a while and couldn't get to a conclusion regarding the
garbage collector. I'll keep looking for it and I'll let you know.
Cheers,
Java é uma ilha, Ruby é uma pedra, Phyton é um réptil, C é uma letra e AJAX
é um detergente
2014-05-28 13:20 GMT-03:00 Simon [email protected]:
I have actually rewrote that, to respect the naming conventions, and I
actually realized that getLooper() is blocking until the LooperThread is
fully ready, so the CountDownLatch is not needed.—
Reply to this email directly or view it on GitHub
#31 (comment).
from libstreaming.
Hey, Simon.
I've been trying to figure out if it is possible to record in the sd card
and stream at the same time using libstreaming. Have you done it?
Thank you very much,
Bruno Siqueira
2014-06-06 13:22 GMT-03:00 Bruno [email protected]:
Hey, Simon. I have seen the change in the code and I have updated that in
my app. It's working properly.
I researched for a while and couldn't get to a conclusion regarding the
garbage collector. I'll keep looking for it and I'll let you know.
Cheers,Java é uma ilha, Ruby é uma pedra, Phyton é um réptil, C é uma letra e
AJAX é um detergente2014-05-28 13:20 GMT-03:00 Simon [email protected]:
I have actually rewrote that, to respect the naming conventions, and I
actually realized that getLooper() is blocking until the LooperThread is
fully ready, so the CountDownLatch is not needed.—
Reply to this email directly or view it on GitHub
#31 (comment)
.
from libstreaming.
Related Issues (20)
- MTU default 1300
- Does it have RTCP support?
- Does it have RTCP support? HOT 1
- Is there any receiver solution/example which decodes AAC format of audio? HOT 5
- Hi
- so if
- how to stream video over RTP Multicast
- Building cyber C HOT 1
- B HOT 2
- Urg
- Newbie
- hey bro HOT 2
- No
- Face recognition
- Streaming happens here:
- TrebEdit - Html Editor HOT 1
- T
- Hl
- Ccc
- Hello
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libstreaming.