https://kotlinlang.org logo
#feed
Title
# feed
b

brandonmcansh

07/28/2020, 1:53 PM
Put out my first OSS library for Android 🙂 https://bmcreations.dev/blog/introducing-scrcast
👍 10
👏 6
p

Parthiv Mistri

07/30/2020, 5:31 AM
Hey. this is a great help. Is it possible to upload over RTMP with the help of scrcast? 🙂
b

brandonmcansh

07/30/2020, 10:55 AM
Now that's a very interesting idea. I'll take a look at what could be done to support that. Thanks!
p

Parthiv Mistri

07/30/2020, 5:13 PM
I think we need to work with FileObserver, every time file gets modified convert it to byte buffer and upload through socket.
b

brandonmcansh

07/30/2020, 5:59 PM
Yep I have a file watcher via Coroutines in place for an app I'm using that uses scrcast so that would be the hook I'd need
p

Parthiv Mistri

07/31/2020, 5:46 AM
Cool, do ping me if there’s an update on this.
b

brandonmcansh

07/31/2020, 12:18 PM
will be certain to 🙂 @Parthiv Mistri Could you add a feature request to the issue tracker so I can learn more about your usecase and expected behavior?
p

Parthiv Mistri

07/31/2020, 12:46 PM
Cool I’ll do in sometime.
👍 1
b

brandonmcansh

07/31/2020, 12:47 PM
much appreciated
👍 1
p

Parthiv Mistri

07/31/2020, 12:50 PM
Just letting u know, it won’t be easy stuff as we need to work with native cpp codes using Muxer, AudioEncoder, VideoEncoder based on multiple format and resolutions and finally Socket based RTMP connection which will send packets to server 🙂 Checkout Reference : https://github.com/pedroSG94/rtmp-rtsp-stream-client-java
6 Views