This Visual Basic example
Private Sub Form_Load() Screen2Video1.RTMPUrl = "rtmp://localhost:1935/live/myStream" Screen2Video1.RTMPAudioBitrate = 9600 Screen2Video1.RTMPAudioSamples = 48000 Screen2Video1.RTMPH264Profile =0 Screen2Video1.RTMPVideoQuality =1 Screen2Video1.RTMPVideoBitrate = 1000000 Screen2Video1.CaptureWidth = 1600 Screen2Video1.CaptureHeight = 900 Screen2Video1.FPS = 15 Screen2Video1.CaptureHWND = 0 Screen2Video1.CaptureArea 0, 0, 1600, 900 Screen2Video1.CaptureCursor = true Screen2Video1.AudioDevice = 0 Screen2Video1.AudioInputPin = 0 result = Screen2Video1.StartRTMP End Sub
|