WebTransport server does not support live-streaming
Maintainers usually reply within 13 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
Start with webtransport_server.py and the calls to _http._quic.send_stream_data shown in the reproduction. Read the related aioquic issue 226 to understand the streaming behavior and verify the server's event handling. Done means generated or media data is delivered continuously to the WebTransport client.
Written by the indexing model from the issue text.
Description
WebTransport server does not support live-streaming (media streams; data streams).
Steps to reproduce: Modify webtransport_server.py to stream content using, for example
for c in iter(lambda: ''.join(choice(digits) for i in range(512)).encode('ascii'), b''): # replace '' with b'' for Python 3
if c is not None:
self._http._quic.send_stream_data(
event.stream_id, c, end_stream=False)
and
cmd = 'parec', '-d', 'alsa_output.pci-0000_00_1.analog-stereo.monitor'
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
os.set_blocking(process.stdout.fileno(), False)
for c in iter(lambda: process.stdout.read(512), b''):
if c is not None:
self._http._quic.send_stream_data(
event.stream_id, c, end_stream=False)
Expected result: Data to be streamed to WebTransport client.
Actual result: No data is streamed to client.
Related: https://github.com/aiortc/aioquic/issues/226.
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 2.4k
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GoogleChrome/samples
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
GoogleChrome/samples#957 · 2 comments ·
Maintainers usually reply within 13 days
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
GoogleChrome/samples#876 · 1 reaction ·
Maintainers usually reply within 13 days
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
GoogleChrome/samples#869 · 1 reaction ·
Maintainers usually reply within 13 days
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GoogleChrome/samples#836 · 1 reaction ·
Maintainers usually reply within 13 days
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GoogleChrome/samples#827 ·
Maintainers usually reply within 13 days
All issues in GoogleChrome/samples
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
cloudflare/workers-sdk#17215 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
0xPolygon/polygon-token-list#851 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cline/mcp-marketplace#4171 ·