Recent

Author Topic: Stream audio to client  (Read 3435 times)

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Stream audio to client
« on: December 06, 2017, 01:15:21 pm »
hi All,
please advise on the best way to send and receive audio from another instance of the app.
i am looking for something for a metropolitan area with conference capabilities in the end.
best if cross platform.
thank you
« Last Edit: December 06, 2017, 01:27:35 pm by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Stream audio to client
« Reply #1 on: December 13, 2017, 01:55:06 pm »
Streaming :
(TCPClient and TCPServer) or (UDPClient and UDPServer) or (TCPClient TCPServer (Handle Protocol) and UDPClient UDPServer (Handle Audio Streams)

Server Listening Port
Client -> Connects to server (Auth here)
Server -> Client (Says OK)
Client -> Server (I'm begin to hear or stream data)
while (true)
Server -> Client (Start streaming waiting for data/Start rcv data)
Client -> Server (Send or rcv data)
end;

drama22

  • Newbie
  • Posts: 3
Re: Stream audio to client
« Reply #2 on: December 16, 2017, 05:36:04 am »
Streaming :
(TCPClient and TCPServer) or (UDPClient and UDPServer) or (TCPClient TCPServer (Handle Protocol) and UDPClient UDPServer (Handle Audio Streams)

Server Listening Port
Client -> Connects to server (Auth here)
Server -> Client (Says OK)
Client -> Server (I'm begin to hear or stream data)
while (true)
Server -> Client (Start streaming waiting for data/Start rcv data)
Client -> Server (Send or rcv data)
end;

can you show a code for udpserver ? to stream back to all subscribed clients ?

 

TinyPortal © 2005-2018