private Sub ButtonCam_Click
Log("Start sender")
LabelInfo.Text="STARTING"
VideoStream.StreamCam(LocalIP,"prova.mp4",8554,180)
End Sub
Private Sub ButtonDesktop_Click
VideoStream.StreamDesktop(LocalIP,"prova.mp4",8554)
End Sub
Private Sub ButtonVideo_Click
ExternaFileName="file.mp4"
If File.Exists(File.DirApp,ExternaFileName) Then
Dim Options() As String = Array As String(":screen-fps=24", _
$":sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://${LocalIP}:8554/${ExternaFileName}"$, _
":sout-keep")
VideoLocalPlay.PlayExtra(Options,ExternaFileName)
Else
fx.Msgbox(MainForm, "source file don't exist","ERRORE")
End If
End Sub