Fastapi: stream music with websocket

Created on 8 Jul 2020  路  3Comments  路  Source: tiangolo/fastapi

is it possible to stream music with tcp websocket?

i want to chunk a music to 10 pieces and each time send them to client
and if client seek the music the server send from the second requested
i need this for low latency

thanks for your help

question

Most helpful comment

@includeamin
its online streaming
i want to stream music to client by streaming like spotify
after searching a lot i found hls (HTTP LIVE STREAMING) and its good for now

by the way hls is ok im going to close the issue

All 3 comments

what is your use-case?
is that live streaming or offline streaming?

@includeamin
its online streaming
i want to stream music to client by streaming like spotify
after searching a lot i found hls (HTTP LIVE STREAMING) and its good for now

by the way hls is ok im going to close the issue

@includeamin
i want to stream music to client by streaming like spotify
after searching a lot i found hls (HTTP LIVE STREAMING) and its good for now

I wanted to say exactly the same things :)). HLS, Dash .etc

Was this page helpful?
0 / 5 - 0 ratings

Related issues

updatatoday picture updatatoday  路  3Comments

danielgtaylor picture danielgtaylor  路  3Comments

DrPyser picture DrPyser  路  3Comments

mr-bjerre picture mr-bjerre  路  3Comments

RogerioDosSantos picture RogerioDosSantos  路  3Comments