ultravideo / uvgRTP

An open-source library for RTP/SRTP media delivery
BSD 2-Clause "Simplified" License
318 stars 90 forks source link

Best approach to send images? #169

Closed esteimle closed 1 year ago

esteimle commented 1 year ago

I compiled uvgRTP for Android, and then also on a linux box. I ported the send_generic example into my Android app and was able to use it to send packets to receiving_hook running on my linux machine. Now I want to try to send images, like an MJPEG stream, just one image after another. Should I be feeding the whole image buffer to push_frame or should I be breaking the image up into packet size chunks and feeding them one at a time?

Thanks!

esteimle commented 1 year ago

Nevermind I figured it out :) Just had to set the flags correct between those two demos.

bcizmeci commented 8 months ago

@esteimle Although this issue is closed, this is an interesting topic. How is it possible to compile uvgRTP on Android?