Streaming to Memory (using p_audio_data)

This forum is about all development around libVLC.
CaKlassen
New Cone
New Cone
Posts: 1
Joined: 03 Apr 2015 04:49

Streaming to Memory (using p_audio_data)

Postby CaKlassen » 03 Apr 2015 04:52

Hey everyone,

I've been using LibVLC for the purposes of streaming to memory in order to send PCM data through a UDP socket. This has worked fine until the point that I realized I needed to determine inside the handleStream callback which socket I needed to send a particular chunk of data to.

I've been following this tutorial:

https://wiki.videolan.org/Stream_to_mem ... _tutorial/

From what I can tell, the tutorial implies that I can use the p_audio_data parameter to pass an object into the callback for use. However, there are no resources anywhere to aid me in understanding how this actually works.

Any help figuring out this parameter would be greatly appreciated!

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 2 guests