RTSP streaming of audio using libvlc python bindings

This forum is about all development around libVLC.
krushiraj123
New Cone
New Cone
Posts: 1
Joined: 28 Nov 2017 12:19

RTSP streaming of audio using libvlc python bindings

Postby krushiraj123 » 28 Nov 2017 12:33

I'm working on a project in which if I start playing a song or an audio file in my application on my PC (provided audio file is present in disk of PC), the audio should also play on my android phone. After going through documentation I understood that I have to use RTSP with pc as server and my android phone as my client.
Example scenario: I start playing audio in my application on my PC and open my application on my android phone it should also start playing. If I press pause on pc it should pause on my phone too. There should be sync. In simple words I want to use my android phone as a virtual speaker.
How can I achieve this. Please help me.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTSP streaming of audio using libvlc python bindings

Postby Jean-Baptiste Kempf » 28 Nov 2017 13:30

It's not simple, because there will be a bit of delay for that. And VLC is probably not the right tool.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests