Viscom Software Screen2Video ActiveX Control

StartRTMP Streaming Method

Description:   

Start RTMP Streaming to Wowza Media Server or Adobe Media Server.

Usage:   

Screen2Video1.StartRTMP Parameter1

Return Value:

Return true - successful , Return false - Failure.

Parameter:

No Parameter1. 

 

Example:   

This Visual Basic example start the RTMP Streaming

Private Sub cmdRTMPStreaming_Click()     

    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

    If result = False Then
        MsgBox "Cannnot RTMP Streaming"
    End If

End Sub