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

Long Delay Between Connect and Stream Start #24

Open
bolunwang opened this issue Sep 4, 2015 · 1 comment
Open

Long Delay Between Connect and Stream Start #24

bolunwang opened this issue Sep 4, 2015 · 1 comment

Comments

@bolunwang
Copy link

Hi all,

Just noticed something strange. I'm using the following code to simulate the RTMP part of an application.

self.conn = librtmp.RTMP(rtmp_info['url'], playpath=rtmp_info['playpath'], app=rtmp_info['app'], tcurl=rtmp_info['tcurl'], live=rtmp_info['live'])
self.conn.connect()
self.stream = self.conn.create_stream()

And it seems there is a big delay between connect() and create_stream(), most time around 8s. I'm pretty sure this is not because of the server, cause there is no such delay for the application to connect to the same stream. I was wondering if I mis-config some parameters or there is something inside librtmp that I didn't understand. Thank you very much for your help!

@tbfly
Copy link

tbfly commented Aug 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants