magicsih / androidscreencaster Goto Github PK
View Code? Open in Web Editor NEWEfficient, low-latency Android screen casting with H.264 and WebM encoding via TCP and UDP.
License: MIT License
Efficient, low-latency Android screen casting with H.264 and WebM encoding via TCP and UDP.
License: MIT License
please code server socket java decode h264 and play stream
I try to decode the H.264 on another Android-device with MediaCodec and display on a SurfaceTexture.
Here are my codes on the server:
Init the Decoder:
Decode a frame:
The decoded result displayed on the SurfaceTexture:
The first frame is normal
But when I do some operations on the client ,It comes out like that:
I'm so sorry to bother you again! could you give me some advice.
does it needs usb connection
For example, I want to rotate the output screen or make the output screen grayscale. How should I do it?
I saw on the back service, there is only an encoder, and the byte array from outputbuffer is not an image format. Can you point me to the right direction.
Thanks for your time!
so no one will fail I hope you upload it and I will be watching
Hi!,
I like your app, it works fine with my device, but I was trying to mirror my Android-x86 testing environment and with H264 seems to work but with VP8 it doesn't. There are no errors in Android but ffplay cannot decode, this message appears: "nvalid data found when processing input".
Do you know if I must change something in the encoding configuration when it runs in Android-x86?, or why h264 works fine but vp8 no (both tcp/udp)?
i use tcp is success,but use udp can't work! anyone have this problem?
how to record video + internal audio?
Hello developer,
I'm trying to use your codes for one of our application in which we deploy your application on an Android Virtual Machine and trying to cast any application on the Virtual Machine remotely on a remote PC.
The whole application is kind of working; however, it is casting/displaying only the first couple of frames (h264 format) on the remote PC over the tcp network, then it hang up. We have been debugging for the last couple days without any luck.
Since you are the developer of these codes, can you provide me some helpful information where I can focus and fix this issue.
Very appreciate if you could help me on this issue.
Thanks
Tom
Great project!
Does this project have OSS LICENSE?
Hello,
Can you help me ? How can stream sound from microphone? I want stream screen and microphone audio and send to rmtp server using ffmpeg.
Please help me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.