ScreenStream
ScreenStream copied to clipboard
H264/AAC mode
Hi,
very grate app, i use that to teach/show things on android (there are many neet apps for school environments 😉) from my physical device to the big wall. But is it possible to add an H264 mode with additional sound support so it can be also used for high framerates and does not require that much bandwith, our school wifi is much times quite over loaded when 30 pupils are online?
Grate
Hi, hi speed H264 is not a simple thing. I'd like to do this but ithis is my free time project, so feture wil not be avalible soon. But it's an open project too, so anyone my implement it )
While this is a different approach it is still a good read on how scrcpy transfers H264: https://blog.rom1v.com/2018/03/introducing-scrcpy/ ("No buffering" part) @treakiandroid if you need streaming performance have a look at scrcpy. You need to connect over adb and run the client on your machine though. It is not as standalone as this app
Thank you dkrivoruchko
Could you link to https://github.com/Genymobile/scrcpy somewhere in README for now?
@m1ga adb is not necessary in this case, scrcpy use adb to grant permission, in order to write touch event into a system file, which cannot be done by third-part app. ScreenStream doesn't include touch event pass function.
@kyze8439690 ok, thanks for the info (the post is two years old :smile: )
the new codec will help reduce the load on the network. h.264 compression is better than mjpeg. a useful and necessary function, and if there is hardware compression h.264, it is generally excellent.
i have done it with h.264 simple one .java file server and one .cs file client https://github.com/qaisbayabani/ANDROID-SCREEN-STREAM-CAST-MIRROR
@qaisbayabani there is one problem – user has to install some software on pc. The mail idea for Screen Stream app is to simplify for user and minimize amount of software to install/use. And one more thing – there are no sources for your apps.
one time instal app on mobile and copy paste the pc client application directory to pc and you are good to go. as regarding other about sources as you can debug and get the code, if u cant do it, sources are available at my other repo.
qaisbayabani/SCRCPY-C-Sharp-Client (github.com) https://github.com/qaisbayabani/SCRCPY-C-Sharp-Client
https://github.com/qaisbayabani/SCRCPY-C-Sharp-Client/blob/master/Sra6.java for server on android phone. https://github.com/qaisbayabani/SCRCPY-C-Sharp-Client/blob/master/clientformyserver.cs for pc client
"there is never any need of jumbled class libraries to execute the a thread" :)