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

Failed get get previous chunk #25

Open
Nux-xader opened this issue Oct 31, 2024 · 0 comments
Open

Failed get get previous chunk #25

Nux-xader opened this issue Oct 31, 2024 · 0 comments

Comments

@Nux-xader
Copy link

I tried publish livestream using some android app livestream camera publisher just for testing,
And i getting this error

Traceback (most recent call last):
File "C:\Users\satri\Documents\tcp_udp\env\Lib\site-packages\pyrtmp\rtmp.py", line 83, in client_callback
async for chunk in session.read_chunks_from_stream():
File "C:\Users\satri\Documents\tcp_udp\env\Lib\site-packages\pyrtmp\session_manager.py", line 64, in read_chunks_from_stream
raw_chunk = await self.read_raw_chunk()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\satri\Documents\tcp_udp\env\Lib\site-packages\pyrtmp\session_manager.py", line 128, in read_raw_chunk
previous_chunk = self.get_previous_chunk(cs_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\satri\Documents\tcp_udp\env\Lib\site-packages\pyrtmp\session_manager.py", line 41, in get_previous_chunk
return self.latest_chunks[str(chunk_id)]
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: '40'

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

1 participant