Java RTMP Publisher Applet (v.0.9.2)
Applet publishes selected audio/video sources to the RTMP server.
Features
- Audio sources: microphone
- Audio codecs: Nellymoser ASAO, Speex
- Video sources: desktops or desktop region
- Video codecs: ScreenVideo1, ScreenVideo2, H.264
- Supports FMS (>=3.5.2), Wowza, Red5
Please contact for details.
Applet parameters
- url - server url
- connectionParameter - string parameters that is passed to the NetConnection#connect(url, arg) method
- stream - published stream name
- audioCodec - audio codec to use, supported codecs are: na (Nellymoser ASAO), speex (Speex)
- videoSource - video source to use, supported sources are: desktop (to capture whole desktop),
desktopx (to capture desktop region)
- videoCodec - video codec to use, supported codecs are svc1 (ScreenVideo1), svc2 (ScreenVideo2)
- videoFrameRate - video frame rate (in frames per second)
- videoKeyFrameInterval - video key frame interval (in seconds), i.e. applet forces the encoder to send key
frame every 'videoKeyFrameInterval' seconds
- theme - define theme file path. Theme let you customize UI view.
If not defined then default theme is used (Windows 3.11 style)
- connectionMaxUploadBandwidth - specifies connection's max upload bandwidth, the applet tries to do not exceed this
value by skipping frames if necessary
- connectionAdjustMaxUploadBandwidth - set "yes" to let applet increase 'connectionMaxUploadBandwidth' if
real connection bandwidth is higher than defined in the parameter above
- debug - set "yes" to enable context menu that appears on the center image right mouse click
Applet methods
Methods are applet methods that can be invoked by JavaScript.
- configureVideoEncoder(String id) - configures video encoder
- configureVideoSource(String id) - configures video source
- configureAudioEncoder(String id) - configures audio encoder
- setStream(String stream) - sets stream name
- setUrl(String url) - sets server url
- startPublishing() - starts publishing
- stopPublishing() - stops publishing
Applet callbacks
Callbacks are JavaScript methods invoked by applet to notify about state change.
- onAppStart - invoked when applet is started
- onAppStop - invoked when applet is stopped
- onPublishStart - invoked when stream is published
- onPublishStop - invoked when stream is stopped and connection is closed