Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document streaming best practices and provide ideal streaming demos (for both livestream and preview stream) #229

Open
m5a0r7 opened this issue Sep 10, 2022 · 4 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@m5a0r7
Copy link

m5a0r7 commented Sep 10, 2022

Is the anyway to get access to a preview stream on an Android/IOS app like what we have in the quick gopro?
I tried couple of approaches but in terms of quality and latency the quick go pro is completely different. I was wondering if anyone else has explored this feature and has a good solution for it.

Thanks!

@m5a0r7 m5a0r7 added the enhancement New feature or request label Sep 10, 2022
@tcamise-gpsw
Copy link
Collaborator

Hello. Have you tried the Preview Stream from the spec?
If so, what exactly is the problem? Is it the latency?

@tcamise-gpsw tcamise-gpsw added the feedback requested Further information is requested label Sep 15, 2022
@m5a0r7
Copy link
Author

m5a0r7 commented Sep 19, 2022

Hi,

Thanks for the reply. Yeah I tried. The problem is that when I read the UDP packages from the 8554 port after starting the preview, I get choppy frames with a bit delay.
I'm using the HERO 10 camera. I also noticed that the latency and quality is dependent on the camera mode, like vide, time lapse and photo. Maybe the encoding is different in each case. The video compression encoding on gopro is H.264 + HEVC.
After all, I used the GStreamer to parse the UDP packages and after lots of trial and errors for a good setting, I could get a real time/high quality stream on the mobile device. I still get some choppy frames but the Quick app is working fantastic. I was wondering what is the best practice approach for streaming from a GoPro camera on an Android/IOS app, like what Quick go pro does.

Looking forward to hearing from you.

@tcamise-gpsw
Copy link
Collaborator

The short and unhelpful answer is that Quik is proprietary software which has been tweaked over many years for optimal streaming. So there could be any number of problems / inconsistencies in the decoder / library you are using.

However, I think we need to provide, at minimum, some "best practices" documentation for streaming. And also a demo that will show ideal streaming. I will update the ticket title to reflect this.

@tcamise-gpsw tcamise-gpsw changed the title Stream on custom Android/IOS app Document streaming best practices and provide ideal streaming demo Sep 20, 2022
@tcamise-gpsw tcamise-gpsw removed the feedback requested Further information is requested label Sep 20, 2022
@tcamise-gpsw tcamise-gpsw changed the title Document streaming best practices and provide ideal streaming demo Document streaming best practices and provide ideal streaming demos (for both livestream and preview stream) Sep 28, 2022
@tangjw
Copy link

tangjw commented Nov 17, 2022

try ijkplayer, work fine on Android

@tcamise-gpsw tcamise-gpsw added the documentation Improvements or additions to documentation label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants