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

Use RTP as protocol #66

Open
mincequi opened this issue Dec 21, 2019 · 2 comments
Open

Use RTP as protocol #66

mincequi opened this issue Dec 21, 2019 · 2 comments

Comments

@mincequi
Copy link

Hi @duncanthrax ,
could we implement some kind of "standard way" of distributing the audio stream?
RTP comes to my mind here. Then we could check for dropped packets, do recovering and so on.
This should be fairly simple to implement (on sender side).

Thanks a lot for your nice project!

@duncanthrax
Copy link
Owner

There is actually a branch that implements RTP as a transport (16bit 44,1kHz stereo only). This is based on an older version of the driver. It does work, but there's a problem with the Scream driver operation model:

Scream does not have it's own timer loop, but just gets triggered when the Windows sound subsystem dumps audio data via IRQ. It then puts that data on the network. If no data arrives, Scream just stops sending packets.

Most RTP receivers cannot cope with sound stream cutting in and out and will exhibit strange buffering problems in these cases. In addition, many RTP clients buffer RTP heavily, adding a lot of latency.

@mincequi
Copy link
Author

Ah ok, i missed that other branch.

Well, my intention was not to support a "real" RTP receiver. But one could reuse some code from a RTP receiver.

I experienced some dropped packets while using scream within a WiFi network. If there had been at least the RTP sequence number, I could detect those kind of drop outs.

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