Hi,
I am using VideolanCLient 1.0.5 (and I'm definetely happy with it) to connect to an rtp stream (audio or video) on a port on my local machine, display the stream (or hear it), record it and stream it with/without transcoding to another host on my lan.
IT WORKS.
I'd like to insert this behaviour inside an application I'm making with VB.net 2005 (or VB.net 2008).
In my tests with some VLC wrappers I can connect and display (hear) the stream: now I'd like to have the possibility to start and stop recording (just like pressing the red button on VLC interface) without being forced to close connection.
More over: there must be more than one "VLC-inside-my-application" (each one handling a separate stream).
I mean: my software must have buttons to:
- connect separately to one or more rtp stream/s
- display or hide (without closing connection) one or more of connected stream/s
- start recording (even if stream is not displayed) with/without transcoding
- stop recording (without closing connection!!!)
- stream with/without transcoding to another host on my lan
- disconnect
I am fairly confused about:
libvlcnet - .NET library based on libvlc
VideoLan.Interop a .Net libvlc 0.9.x wrapper
C# Wrapper for libvlc 0.9.0
(I exclude VLC activex since it can't record)
What is the best for my purposes?
Can you please show me some sample code (VB.net or C#) (working, please) that:
- connect
- start record
- stop record (without disconneting)
- stream with/without transcoding to another host
OK, maybe it's too much...
well... let's start with solving these issues
- start record just one rtp stream
- stop record (without disconneting)
Further features...:
- detect if connection is lost and try to reconnect (start recording again when connection is up again)
- display (in two different windows) two different audio-visualizations for the same audio stream (e.g. scope and spectrum) (or at least being able to switch between them without close/restarting connection)
I hope this thread will help many developers: please post here your code (tested).
Let's share our knoledge!
Thanks, very very much to all VLC developers!