├── .gitignore ├── BallControl.fla ├── DevNotes_NetConnection.fla ├── FITCHollywoodPresentation.fla ├── FITCPresentation.fla ├── LICENSE ├── MessageRecorder.fla ├── README.md ├── RemotingDataMTASC.bat ├── RemotingTest.fla ├── SimpleChat.fla ├── admin ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── assets │ ├── css │ │ └── main.css │ ├── icons │ │ ├── r5-128.png │ │ ├── r5-16.png │ │ ├── r5-32.png │ │ └── r5-48.png │ └── images │ │ ├── FinalLogo.png │ │ ├── application.png │ │ ├── application_delete.png │ │ ├── application_go.png │ │ ├── arrow_switch.png │ │ ├── resultset_next.png │ │ ├── server.png │ │ ├── user.png │ │ └── user_delete.png ├── build.properties ├── build.xml └── src │ ├── Red5Admin.mxml │ ├── Red5AdminAIR-app.xml │ └── Red5AdminAIR.mxml ├── authdemo ├── .actionScriptProperties ├── .flexProperties ├── .project ├── libs │ └── as3crypto.swc └── src │ └── authdemo.mxml ├── bwcheck ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml └── src │ ├── bwcheck.mxml │ └── org │ └── red5 │ └── flash │ └── bwcheck │ ├── BandwidthDetection.as │ ├── ClientServerBandwidth.as │ ├── ServerClientBandwidth.as │ ├── app │ └── BandwidthDetectionApp.as │ └── events │ └── BandwidthDetectEvent.as ├── bwcheckNative ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml └── src │ ├── bwcheck.mxml │ └── org │ └── red5 │ └── flash │ └── bwcheck │ ├── BandwidthDetection.as │ ├── ClientServerBandwidth.as │ ├── ServerClientBandwidth.as │ ├── app │ └── BandwidthDetectionApp.as │ └── events │ └── BandwidthDetectEvent.as ├── classes ├── com │ ├── acmewebworks │ │ ├── controls │ │ │ └── BaseClip.as │ │ └── utils │ │ │ └── CoordinateTools.as │ ├── blitzagency │ │ ├── controls │ │ │ └── GraphicButton.as │ │ ├── data │ │ │ ├── ContentFarm.as │ │ │ └── DecodeHTML.as │ │ ├── events │ │ │ ├── EventBroadcaster.as │ │ │ ├── IBroadcastable.as │ │ │ └── IStaticBroadcastable.as │ │ ├── util │ │ │ ├── ClipTransitionManager.as │ │ │ ├── ConfirmationDialog.as │ │ │ ├── LSOUserPreferences.as │ │ │ └── SimpleDialog.as │ │ └── xray │ │ │ ├── logger │ │ │ ├── ClassLoader.as │ │ │ ├── Debug.as │ │ │ ├── Log.as │ │ │ ├── LogManager.as │ │ │ ├── Logger.as │ │ │ ├── XrayLog.as │ │ │ └── XrayLogger.as │ │ │ └── util │ │ │ ├── MtascUtility.as │ │ │ ├── XrayConnect.as │ │ │ └── XrayLoader.as │ ├── dynamicflash │ │ └── utils │ │ │ └── Delegate.as │ ├── gskinner │ │ ├── events │ │ │ └── GDispatcher.as │ │ ├── geom │ │ │ └── ColorMatrix.as │ │ └── transitions │ │ │ └── MultiTween.as │ ├── mosesSupposes │ │ └── fuse │ │ │ ├── Fuse-Kit-License.html │ │ │ ├── Fuse.as │ │ │ ├── FuseFMP.as │ │ │ ├── FuseItem.as │ │ │ ├── FuseKitCommon.as │ │ │ ├── PennerEasing.as │ │ │ ├── Shortcuts.as │ │ │ ├── ZManager.as │ │ │ └── ZigoEngine.as │ └── neoarchaic │ │ └── ui │ │ └── Tooltip.as └── org │ ├── osflash │ └── data │ │ └── XMLObject.as │ └── red5 │ ├── admin │ ├── connector │ │ ├── Red5Connector.as │ │ └── event │ │ │ └── Red5Event.as │ ├── panels │ │ ├── AdminPanel.mxml │ │ └── Login.mxml │ └── utils │ │ └── SharedObjectHandler.as │ ├── controls │ └── GraphicButton.as │ ├── data │ ├── RemotingTest.as │ └── RemotingTestData.as │ ├── fitc │ └── presentation │ │ ├── ConfigDelegate.as │ │ ├── DemoSection.as │ │ ├── Main.as │ │ ├── Section.as │ │ ├── SectionAPI.as │ │ └── SpeakerBroadcaster.as │ ├── net │ ├── Connection.as │ └── Stream.as │ ├── samples │ ├── echo │ │ ├── commands │ │ │ ├── ConnectCommand.as │ │ │ ├── DisconnectCommand.as │ │ │ ├── PrintTextCommand.as │ │ │ ├── RunTestCommand.as │ │ │ ├── SetupConnectionCommand.as │ │ │ └── StartTestsCommand.as │ │ ├── controller │ │ │ └── EchoController.as │ │ ├── events │ │ │ ├── ConnectEvent.as │ │ │ ├── DisconnectEvent.as │ │ │ ├── EchoTestEvent.as │ │ │ ├── PrintTextEvent.as │ │ │ ├── RunTestEvent.as │ │ │ ├── SetupConnectionEvent.as │ │ │ ├── StartTestsEvent.as │ │ │ └── TestSelectEvent.as │ │ ├── model │ │ │ ├── EchoTest.as │ │ │ ├── EchoTestData.as │ │ │ ├── ModelLocator.as │ │ │ └── tests │ │ │ │ ├── ArrayCollectionTest.as │ │ │ │ ├── ArrayTest.as │ │ │ │ ├── BaseTest.as │ │ │ │ ├── BooleanTest.as │ │ │ │ ├── ByteArrayTest.as │ │ │ │ ├── CustomClassTest.as │ │ │ │ ├── DateTest.as │ │ │ │ ├── ExternalizableTest.as │ │ │ │ ├── NullTest.as │ │ │ │ ├── NumberTest.as │ │ │ │ ├── ObjectProxyTest.as │ │ │ │ ├── ObjectTest.as │ │ │ │ ├── RemoteClassTest.as │ │ │ │ ├── StringTest.as │ │ │ │ ├── UndefinedTest.as │ │ │ │ ├── UnsupportedTest.as │ │ │ │ ├── XMLDocumentTest.as │ │ │ │ └── XMLTest.as │ │ ├── view │ │ │ ├── CredentialsView.mxml │ │ │ ├── Main.as │ │ │ ├── MainView.mxml │ │ │ ├── ServiceConfigView.mxml │ │ │ └── TestSelectionView.mxml │ │ └── vo │ │ │ ├── EchoClass.as │ │ │ ├── EchoTestResult.as │ │ │ ├── ExternalizableClass.as │ │ │ ├── RemoteClass.as │ │ │ ├── TestSelection.as │ │ │ └── User.as │ ├── games │ │ └── othello │ │ │ ├── GameBoard.as │ │ │ ├── GameManager.as │ │ │ ├── GamePiece.as │ │ │ ├── GamePieceCenter.as │ │ │ ├── Main.as │ │ │ └── MultiPlayerManager.as │ ├── livestream │ │ ├── broadcaster │ │ │ └── Main.as │ │ ├── recorder │ │ │ └── Main.as │ │ ├── subscriber │ │ │ └── Main.as │ │ └── videoconference │ │ │ ├── Broadcaster.as │ │ │ ├── Chat.as │ │ │ ├── Connection.as │ │ │ ├── ConnectionLight.as │ │ │ ├── Connector.as │ │ │ ├── GlobalObject.as │ │ │ ├── Subscriber.as │ │ │ ├── TextFilter.as │ │ │ ├── VideoConference.as │ │ │ └── VideoPool.as │ ├── messagerecorder │ │ ├── Main.as │ │ ├── Recorder.as │ │ └── ThankYou.as │ ├── pausetester │ │ └── Main.as │ ├── porttester │ │ ├── Main.as │ │ └── PortTest.as │ ├── publisher │ │ ├── business │ │ │ ├── NetConnectionDelegate.as │ │ │ ├── NetStreamDelegate.as │ │ │ └── Services.mxml │ │ ├── command │ │ │ ├── ChangeMonitorViewCommand.as │ │ │ ├── ChangePresetCommand.as │ │ │ ├── ChangeSettingsViewCommand.as │ │ │ ├── CloseConnectionCommand.as │ │ │ ├── CloseFullScreenCommand.as │ │ │ ├── CreatePresetCommand.as │ │ │ ├── EnableAudioCommand.as │ │ │ ├── EnableVideoCommand.as │ │ │ ├── OpenDocsCommand.as │ │ │ ├── PauseStreamCommand.as │ │ │ ├── PlayStreamCommand.as │ │ │ ├── PublishStreamCommand.as │ │ │ ├── RemovePresetsCommand.as │ │ │ ├── ResumeStreamCommand.as │ │ │ ├── SavePresetCommand.as │ │ │ ├── SetupConnectionCommand.as │ │ │ ├── SetupDevicesCommand.as │ │ │ ├── SetupStreamsCommand.as │ │ │ ├── StartCameraCommand.as │ │ │ ├── StartConnectionCommand.as │ │ │ ├── StartFullScreenCommand.as │ │ │ ├── StartMicrophoneCommand.as │ │ │ ├── StopCameraCommand.as │ │ │ ├── StopMicrophoneCommand.as │ │ │ ├── StopStreamCommand.as │ │ │ └── UnpublishStreamCommand.as │ │ ├── control │ │ │ └── DashboardController.as │ │ ├── events │ │ │ ├── ChangeMonitorViewEvent.as │ │ │ ├── ChangePresetEvent.as │ │ │ ├── ChangeSettingsViewEvent.as │ │ │ ├── CloseConnectionEvent.as │ │ │ ├── CloseFullScreenEvent.as │ │ │ ├── CreatePresetEvent.as │ │ │ ├── EnableAudioEvent.as │ │ │ ├── EnableVideoEvent.as │ │ │ ├── OpenDocsEvent.as │ │ │ ├── PauseStreamEvent.as │ │ │ ├── PlayStreamEvent.as │ │ │ ├── PublishStreamEvent.as │ │ │ ├── RemovePresetsEvent.as │ │ │ ├── ResumeStreamEvent.as │ │ │ ├── SavePresetEvent.as │ │ │ ├── SetupConnectionEvent.as │ │ │ ├── SetupDevicesEvent.as │ │ │ ├── SetupStreamsEvent.as │ │ │ ├── StartCameraEvent.as │ │ │ ├── StartConnectionEvent.as │ │ │ ├── StartFullScreenEvent.as │ │ │ ├── StartMicrophoneEvent.as │ │ │ ├── StopCameraEvent.as │ │ │ ├── StopMicrophoneEvent.as │ │ │ ├── StopStreamEvent.as │ │ │ └── UnpublishStreamEvent.as │ │ ├── model │ │ │ ├── Logger.as │ │ │ ├── Main.as │ │ │ ├── Media.as │ │ │ ├── ModelLocator.as │ │ │ └── Navigation.as │ │ ├── view │ │ │ ├── LogPod.mxml │ │ │ ├── LogPodClass.as │ │ │ ├── MonitorPod.mxml │ │ │ ├── MonitorPodClass.as │ │ │ ├── Publisher.mxml │ │ │ ├── PublisherClass.as │ │ │ ├── general │ │ │ │ ├── Images.as │ │ │ │ ├── SaveConnection.mxml │ │ │ │ └── SaveConnectionClass.as │ │ │ ├── images │ │ │ │ ├── control_play.png │ │ │ │ ├── control_stop.png │ │ │ │ ├── error.png │ │ │ │ ├── famfamfam.txt │ │ │ │ ├── fms.gif │ │ │ │ ├── monitor.png │ │ │ │ ├── red5.png │ │ │ │ ├── report.png │ │ │ │ ├── server.png │ │ │ │ ├── server_add.png │ │ │ │ ├── server_connect.png │ │ │ │ ├── server_error.png │ │ │ │ ├── server_go.png │ │ │ │ ├── server_key.png │ │ │ │ ├── server_lightning.png │ │ │ │ ├── server_link.png │ │ │ │ ├── sound.png │ │ │ │ ├── sound_add.png │ │ │ │ ├── sound_delete.png │ │ │ │ ├── webcam.png │ │ │ │ ├── webcam_add.png │ │ │ │ └── webcam_delete.png │ │ │ ├── log │ │ │ │ ├── LogAppBar.mxml │ │ │ │ ├── LogAppBarClass.as │ │ │ │ ├── LogControlBar.mxml │ │ │ │ ├── LogControlBarClass.as │ │ │ │ ├── LogDisplay.mxml │ │ │ │ └── LogDisplayClass.as │ │ │ ├── monitor │ │ │ │ ├── MonitorAppBar.mxml │ │ │ │ ├── MonitorAppBarClass.as │ │ │ │ ├── MonitorControlBar.mxml │ │ │ │ ├── MonitorControlBarClass.as │ │ │ │ ├── MonitorDisplay.mxml │ │ │ │ └── MonitorDisplayClass.as │ │ │ └── settings │ │ │ │ ├── SettingsAppBar.mxml │ │ │ │ ├── SettingsAppBarClass.as │ │ │ │ ├── SettingsDisplay.mxml │ │ │ │ ├── SettingsDisplayClass.as │ │ │ │ ├── SettingsStatusBar.mxml │ │ │ │ ├── SettingsStatusBarClass.as │ │ │ │ ├── StatusBar.mxml │ │ │ │ └── StatusBarClass.as │ │ └── vo │ │ │ ├── ServerPreset.as │ │ │ └── settings │ │ │ ├── AudioSettings.as │ │ │ ├── GeneralSettings.as │ │ │ └── VideoSettings.as │ ├── simplechat │ │ ├── BasicChat.as │ │ └── Main.as │ └── soball │ │ ├── BallControl.as │ │ └── Main.as │ ├── ui │ ├── ConnectionLight.as │ ├── VideoContainer.as │ └── controls │ │ ├── Help.as │ │ └── IconButton.as │ └── utils │ ├── Connector.as │ ├── Debug.as │ ├── Delegate.as │ ├── GlobalObject.as │ ├── GridManager.as │ ├── PNGEnc.as │ └── SharedObjectHandler.as ├── deploy ├── BallControl.html ├── BallControl.swf ├── DevNotes_NetConnection.swf ├── FITCPresentation.swf ├── FITCSpeakerBroadcaster.swf ├── MessageRecorder.swf ├── RemotingTest.swf ├── SimpleChat.html ├── SimpleChat.swf ├── adminPanel.air ├── adminPanel.html ├── adminPanel.swf ├── assets │ ├── expressInstall.swf │ └── swfobject.js ├── bwcheck.html ├── bwcheck.swf ├── echo_test.html ├── echo_test.swf ├── index.html ├── ofla_demo.html ├── ofla_demo.swf ├── othello.swf ├── publisher.html ├── publisher.swf ├── simpleBroadcaster.html ├── simpleBroadcaster.swf ├── simpleRecorder.html ├── simpleRecorder.swf ├── simpleSubscriber.html ├── simpleSubscriber.swf ├── videoConference.html ├── videoConference.swf ├── videoConference_Flash7.swf ├── xray.swf ├── xrayConnector_1.6.1.swf └── xrayconnector.swf ├── echo ├── .actionScriptProperties ├── .as3_classpath ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml ├── famfam.txt └── src │ ├── assets │ ├── main.css │ ├── test_active.png │ ├── test_complete.png │ ├── test_error.png │ ├── test_failed.png │ ├── test_init.png │ └── test_timeout.png │ └── echo_test.mxml ├── flex.properties ├── installer ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml └── src │ ├── Item.as │ ├── ProgressWindow.mxml │ ├── assets │ └── red5_logo.png │ ├── functions.as │ └── installer.mxml ├── lib ├── Cairngorm.swc └── cairngorm_license.txt ├── loadtest ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml ├── flex.properties └── src │ ├── SOUser.as │ ├── Viewer.as │ ├── functions.as │ └── loadtest.mxml ├── miniplayer ├── .actionScriptProperties ├── .flexProperties ├── .project ├── html-template │ ├── index.template.html │ └── swfobject.js └── src │ └── miniplayer.mxml ├── ofla_demo.fla ├── pause-tester ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt └── pause_tester.mxml ├── player4 ├── .actionScriptProperties ├── .as3_classpath ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml ├── libs │ └── as3crypto.swc └── src │ ├── Main.as │ ├── functions.as │ └── player4.mxml ├── port-tester ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml └── port_tester.mxml ├── publisher ├── .actionScriptProperties ├── .flexProperties ├── .project ├── Readme.txt ├── build.properties ├── build.xml └── main.mxml ├── red5_tester.fla ├── samples ├── SimpleBallDemo.fla ├── SimpleBroadcaster.fla ├── SimpleChat.fla ├── SimpleChatUsingSoSend.fla ├── SimpleRecorder.fla ├── SimpleStreamPlayer.fla └── SimpleSubscriber.fla ├── selftest ├── .actionScriptProperties ├── .flexProperties ├── .project ├── LICENSE.txt ├── README.txt ├── build.xml ├── lib │ └── ivy-2.0.0-beta2.jar ├── mk │ ├── Linux.properties │ ├── Mac OS X.properties │ ├── Windows Vista.properties │ ├── build.properties │ ├── flex.properties │ ├── ivy.xml │ └── ivysettings.xml ├── share │ └── build.xml ├── src │ └── net │ │ └── theyard │ │ └── components │ │ └── test │ │ └── YardTestCase.as └── test │ └── src │ ├── AllTests.as │ ├── AsUnitTestRunner.mxml │ ├── net │ ├── AllTests.as │ └── theyard │ │ ├── AllTests.as │ │ └── components │ │ ├── AllTests.as │ │ ├── netconnectionsm │ │ ├── AllTests.as │ │ └── NetConnectionStateMachineTest.as │ │ ├── netstreamsm │ │ ├── AllTests.as │ │ ├── NetStreamPlaybackRecordedFileTest.as │ │ ├── NetStreamPublishLiveAndPlaybackTest.as │ │ └── NetStreamRecordFileFromCameraTest.as │ │ └── test │ │ ├── AllTests.as │ │ ├── DefaultFixtures.as │ │ └── YardTestCaseTest.as │ └── org │ ├── AllTests.as │ └── red5 │ ├── AllTests.as │ └── server │ ├── AllTests.as │ └── io │ ├── AllTests.as │ ├── CustomObject.as │ ├── EchoArrayTest.as │ ├── EchoExternalizableObjectTest.as │ ├── EchoObjectTest.as │ ├── EchoStringTest.as │ ├── EchoXMLTest.as │ └── ExternalizableClass.as ├── simpleBroadcaster.fla ├── simpleRecorder.fla ├── simpleSubscriber.fla ├── videoConference.fla └── videoConference_Flash7.fla /.gitignore: -------------------------------------------------------------------------------- 1 | # Build and Release Folders 2 | bin/ 3 | bin-debug/ 4 | bin-release/ 5 | 6 | # Other files and folders 7 | .settings/ 8 | 9 | # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` 10 | # should NOT be excluded as they contain compiler settings and other important 11 | # information for Eclipse / Flash Builder. 12 | -------------------------------------------------------------------------------- /BallControl.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/BallControl.fla -------------------------------------------------------------------------------- /DevNotes_NetConnection.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/DevNotes_NetConnection.fla -------------------------------------------------------------------------------- /FITCHollywoodPresentation.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/FITCHollywoodPresentation.fla -------------------------------------------------------------------------------- /FITCPresentation.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/FITCPresentation.fla -------------------------------------------------------------------------------- /MessageRecorder.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/MessageRecorder.fla -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # red5-flash 2 | Flash components 3 | -------------------------------------------------------------------------------- /RemotingDataMTASC.bat: -------------------------------------------------------------------------------- 1 | "C:/mtasc/mtasc.exe" -swf "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/deploy/RemotingTest.swf" -mx -cp "C:/Documents and Settings/John/Local Settings/Application Data/Macromedia/Flash 8/en/Configuration/Classes" -cp "C:/Documents and Settings/John/My Documents/Blitz/Microsoft/MSVL/svn/DEV_Source/classes" -cp "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/classes" "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/classes/org/red5/data/RemotingTest.as" "C:/Documents and Settings/John/My Documents/Acmewebworks/OS Projects/RED5/SVN/flash/trunk/classes/org/red5/data/RemotingTestData.as" -trace Xray.trace -version 8 -------------------------------------------------------------------------------- /RemotingTest.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/RemotingTest.fla -------------------------------------------------------------------------------- /SimpleChat.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/SimpleChat.fla -------------------------------------------------------------------------------- /admin/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /admin/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /admin/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Red5 Admin 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.apollobuilder 10 | 11 | 12 | 13 | 14 | com.adobe.flexbuilder.project.flexbuilder 15 | 16 | 17 | 18 | 19 | com.adobe.flexbuilder.apollo.apollobuilder 20 | 21 | 22 | 23 | 24 | 25 | com.adobe.flexbuilder.project.apollonature 26 | com.adobe.flexbuilder.apollo.apollonature 27 | com.adobe.flexbuilder.project.flexnature 28 | com.adobe.flexbuilder.project.actionscriptnature 29 | 30 | 31 | -------------------------------------------------------------------------------- /admin/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Flex Builder/Eclipse: 5 | 6 | 1. Checkout this folder using Subclipse 7 | 2. Go to Project > Properties > Flex Build Path and change the 8 | additional source folder path (currently defined as 9 | '/path/to/classes/folder') and point it to a checked out copy 10 | of this folder: http://red5.googlecode.com/svn/flash/trunk/classes 11 | 12 | Using Ant: 13 | 14 | 1. Make sure you have a copy of this file in the folder below this one: 15 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 16 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 17 | 3. Type 'ant' to build the application 18 | -------------------------------------------------------------------------------- /admin/assets/css/main.css: -------------------------------------------------------------------------------- 1 | /* adminPanel CSS file */ 2 | 3 | .adminPanel { 4 | Logo : Embed(source="../images/FinalLogo.png"); 5 | Application : Embed(source="../images/application.png"); 6 | ApplicationGo : Embed(source="../images/application_go.png"); 7 | User : Embed(source="../images/user.png"); 8 | UserDelete : Embed(source="../images/user_delete.png"); 9 | } 10 | 11 | Application { 12 | background-color : #eeeeee; 13 | background-alpha : 1; 14 | } 15 | 16 | .flowStack { 17 | border-style : solid; 18 | border-color : #cccccc; 19 | border-alpha : 1; 20 | border-thickness : 1; 21 | corner-radius : 5; 22 | background-color : #eeeeee; 23 | } -------------------------------------------------------------------------------- /admin/assets/icons/r5-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-128.png -------------------------------------------------------------------------------- /admin/assets/icons/r5-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-16.png -------------------------------------------------------------------------------- /admin/assets/icons/r5-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-32.png -------------------------------------------------------------------------------- /admin/assets/icons/r5-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/icons/r5-48.png -------------------------------------------------------------------------------- /admin/assets/images/FinalLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/FinalLogo.png -------------------------------------------------------------------------------- /admin/assets/images/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/application.png -------------------------------------------------------------------------------- /admin/assets/images/application_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/application_delete.png -------------------------------------------------------------------------------- /admin/assets/images/application_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/application_go.png -------------------------------------------------------------------------------- /admin/assets/images/arrow_switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/arrow_switch.png -------------------------------------------------------------------------------- /admin/assets/images/resultset_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/resultset_next.png -------------------------------------------------------------------------------- /admin/assets/images/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/server.png -------------------------------------------------------------------------------- /admin/assets/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/user.png -------------------------------------------------------------------------------- /admin/assets/images/user_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/admin/assets/images/user_delete.png -------------------------------------------------------------------------------- /admin/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = adminPanel 3 | air.swf.name = Red5Admin 4 | 5 | # Default HTML page title. 6 | swf.release.title = Red5 Admin 7 | 8 | # Debug HTML page title. 9 | swf.debug.title = ${swf.release.title} (debug version) 10 | 11 | # Main MXML file. 12 | main.application = src/Red5Admin.mxml 13 | air.application = src/Red5AdminAIR.mxml 14 | air.descriptor = src/Red5AdminAIR-app.xml 15 | air.release = bin/release/Red5Admin.air 16 | 17 | air.cert.cname = osflash.org 18 | air.cert.ounit = Red5 19 | air.cert.oname = OSFlash 20 | air.cert.country = US 21 | air.cert.key_type = 2048-RSA 22 | air.cert.file = Red5Air.pfx 23 | air.cert.password = red5 24 | 25 | # Class-folders you want to search for classes to be included in the docs, 26 | # seperated by spaces (for example ../com/ ../net/ ). 27 | # To include every .as and .mxml file within your project, just state ../ 28 | asdoc.domainextensions = ${src.dir}/org/red5/admin -------------------------------------------------------------------------------- /admin/src/Red5Admin.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /admin/src/Red5AdminAIR.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /authdemo/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /authdemo/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /authdemo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | authdemo 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /authdemo/libs/as3crypto.swc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/authdemo/libs/as3crypto.swc -------------------------------------------------------------------------------- /bwcheck/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /bwcheck/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /bwcheck/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | bwcheck 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /bwcheck/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Ant: 5 | 6 | 1. Make sure you have a copy of this file in the folder below this one: 7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 9 | 3. Type 'ant' to build the application -------------------------------------------------------------------------------- /bwcheck/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = bwcheck 3 | 4 | # Default HTML page title. 5 | swf.release.title = Bandwidth Checker 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = src/bwcheck.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = ${src.dir} 17 | -------------------------------------------------------------------------------- /bwcheck/src/bwcheck.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /bwcheck/src/org/red5/flash/bwcheck/BandwidthDetection.as: -------------------------------------------------------------------------------- 1 | package org.red5.flash.bwcheck 2 | { 3 | import flash.events.EventDispatcher; 4 | import flash.net.NetConnection; 5 | import org.red5.flash.bwcheck.events.BandwidthDetectEvent; 6 | 7 | [Event(name=BandwidthDetectEvent.DETECT_STATUS, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")] 8 | [Event(name=BandwidthDetectEvent.DETECT_COMPLETE, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")] 9 | 10 | public class BandwidthDetection extends EventDispatcher 11 | { 12 | protected var nc:NetConnection; 13 | 14 | public function BandwidthDetection() 15 | { 16 | 17 | } 18 | 19 | protected function dispatch(info:Object, eventName:String):void 20 | { 21 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(eventName); 22 | event.info = info; 23 | dispatchEvent(event); 24 | } 25 | 26 | protected function dispatchStatus(info:Object):void 27 | { 28 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_STATUS); 29 | event.info = info; 30 | dispatchEvent(event); 31 | } 32 | 33 | protected function dispatchComplete(info:Object):void 34 | { 35 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_COMPLETE); 36 | event.info = info; 37 | dispatchEvent(event); 38 | } 39 | 40 | protected function dispatchFailed(info:Object):void 41 | { 42 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_FAILED); 43 | event.info = info; 44 | dispatchEvent(event); 45 | } 46 | 47 | public function set connection(connect:NetConnection):void 48 | { 49 | nc = connect; 50 | } 51 | 52 | } 53 | } -------------------------------------------------------------------------------- /bwcheck/src/org/red5/flash/bwcheck/ServerClientBandwidth.as: -------------------------------------------------------------------------------- 1 | package org.red5.flash.bwcheck 2 | { 3 | import flash.net.Responder; 4 | 5 | public class ServerClientBandwidth extends BandwidthDetection 6 | { 7 | 8 | private var _service:String; 9 | private var info:Object = new Object(); 10 | private var res:Responder; 11 | 12 | public function ServerClientBandwidth() 13 | { 14 | res = new Responder(onResult, onStatus); 15 | } 16 | 17 | public function onBWCheck(obj:Object):void 18 | { 19 | dispatchStatus(obj); 20 | } 21 | 22 | public function onBWDone(obj:Object):void 23 | { 24 | dispatchComplete(obj); 25 | } 26 | 27 | public function set service(service:String):void 28 | { 29 | _service = service; 30 | } 31 | 32 | public function start():void 33 | { 34 | nc.client = this; 35 | nc.call(_service,res); 36 | } 37 | 38 | private function onResult(obj:Object):void 39 | { 40 | dispatchStatus(obj); 41 | 42 | } 43 | 44 | private function onStatus(obj:Object):void 45 | { 46 | switch (obj.code) 47 | { 48 | case "NetConnection.Call.Failed": 49 | dispatchFailed(obj); 50 | break; 51 | } 52 | 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /bwcheck/src/org/red5/flash/bwcheck/events/BandwidthDetectEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.flash.bwcheck.events 2 | { 3 | import flash.events.Event; 4 | 5 | public class BandwidthDetectEvent extends Event 6 | { 7 | public static const DETECT_STATUS:String = "detect_status"; 8 | public static const DETECT_COMPLETE:String = "detect_complete"; 9 | public static const DETECT_FAILED:String = "detect_failed"; 10 | 11 | private var _info:Object; 12 | 13 | public function BandwidthDetectEvent(eventName:String) 14 | { 15 | super (eventName); 16 | } 17 | 18 | public function set info(obj:Object):void 19 | { 20 | _info = obj; 21 | } 22 | 23 | public function get info():Object 24 | { 25 | return _info; 26 | } 27 | 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /bwcheckNative/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /bwcheckNative/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /bwcheckNative/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | bwcheckNative 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /bwcheckNative/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Ant: 5 | 6 | 1. Make sure you have a copy of this file in the folder below this one: 7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 9 | 3. Type 'ant' to build the application -------------------------------------------------------------------------------- /bwcheckNative/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = bwcheck 3 | 4 | # Default HTML page title. 5 | swf.release.title = Bandwidth Checker 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = src/bwcheck.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = ${src.dir} 17 | -------------------------------------------------------------------------------- /bwcheckNative/src/bwcheck.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /bwcheckNative/src/org/red5/flash/bwcheck/BandwidthDetection.as: -------------------------------------------------------------------------------- 1 | package org.red5.flash.bwcheck 2 | { 3 | import flash.events.EventDispatcher; 4 | import flash.net.NetConnection; 5 | import org.red5.flash.bwcheck.events.BandwidthDetectEvent; 6 | 7 | [Event(name=BandwidthDetectEvent.DETECT_STATUS, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")] 8 | [Event(name=BandwidthDetectEvent.DETECT_COMPLETE, type="org.red5.flash.bwcheck.events.BandwidthDetectEvent")] 9 | 10 | public class BandwidthDetection extends EventDispatcher 11 | { 12 | protected var nc:NetConnection; 13 | 14 | public function BandwidthDetection() 15 | { 16 | 17 | } 18 | 19 | protected function dispatch(info:Object, eventName:String):void 20 | { 21 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(eventName); 22 | event.info = info; 23 | dispatchEvent(event); 24 | } 25 | 26 | protected function dispatchStatus(info:Object):void 27 | { 28 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_STATUS); 29 | event.info = info; 30 | dispatchEvent(event); 31 | } 32 | 33 | protected function dispatchComplete(info:Object):void 34 | { 35 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_COMPLETE); 36 | event.info = info; 37 | dispatchEvent(event); 38 | } 39 | 40 | protected function dispatchFailed(info:Object):void 41 | { 42 | var event:BandwidthDetectEvent = new BandwidthDetectEvent(BandwidthDetectEvent.DETECT_FAILED); 43 | event.info = info; 44 | dispatchEvent(event); 45 | } 46 | 47 | public function set connection(connect:NetConnection):void 48 | { 49 | nc = connect; 50 | } 51 | 52 | } 53 | } -------------------------------------------------------------------------------- /bwcheckNative/src/org/red5/flash/bwcheck/ServerClientBandwidth.as: -------------------------------------------------------------------------------- 1 | package org.red5.flash.bwcheck 2 | { 3 | import flash.net.Responder; 4 | 5 | public class ServerClientBandwidth extends BandwidthDetection 6 | { 7 | 8 | private var _service:String; 9 | private var info:Object = new Object(); 10 | private var res:Responder; 11 | 12 | public function ServerClientBandwidth() 13 | { 14 | res = new Responder(onResult, onStatus); 15 | } 16 | 17 | public function onBWCheck(obj:Object):void 18 | { 19 | dispatchStatus(obj); 20 | } 21 | 22 | public function onBWDone(obj:Object):void 23 | { 24 | dispatchComplete(obj); 25 | } 26 | 27 | public function set service(service:String):void 28 | { 29 | _service = service; 30 | } 31 | 32 | public function start():void 33 | { 34 | nc.client = this; 35 | nc.call(_service,res); 36 | } 37 | 38 | private function onResult(obj:Object):void 39 | { 40 | dispatchStatus(obj); 41 | 42 | } 43 | 44 | private function onStatus(obj:Object):void 45 | { 46 | switch (obj.code) 47 | { 48 | case "NetConnection.Call.Failed": 49 | dispatchFailed(obj); 50 | break; 51 | } 52 | 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /bwcheckNative/src/org/red5/flash/bwcheck/events/BandwidthDetectEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.flash.bwcheck.events 2 | { 3 | import flash.events.Event; 4 | 5 | public class BandwidthDetectEvent extends Event 6 | { 7 | public static const DETECT_STATUS:String = "detect_status"; 8 | public static const DETECT_COMPLETE:String = "detect_complete"; 9 | public static const DETECT_FAILED:String = "detect_failed"; 10 | 11 | private var _info:Object; 12 | 13 | public function BandwidthDetectEvent(eventName:String) 14 | { 15 | super (eventName); 16 | } 17 | 18 | public function set info(obj:Object):void 19 | { 20 | _info = obj; 21 | } 22 | 23 | public function get info():Object 24 | { 25 | return _info; 26 | } 27 | 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /classes/com/acmewebworks/controls/BaseClip.as: -------------------------------------------------------------------------------- 1 | import mx.events.EventDispatcher; 2 | 3 | class com.acmewebworks.controls.BaseClip extends MovieClip 4 | { 5 | // Constants: 6 | public static var CLASS_REF = com.acmewebworks.controls.BaseClip; 7 | // Public Properties: 8 | public var addEventListener:Function; 9 | public var removeEventListener:Function; 10 | // Private Properties: 11 | private var dispatchEvent:Function; 12 | 13 | // Initialization: 14 | public function BaseClip() 15 | { 16 | EventDispatcher.initialize(this); 17 | } 18 | 19 | // Public Methods: 20 | public function scale(p_scale:Number):Void 21 | { 22 | _xscale = p_scale; 23 | _yscale = p_scale; 24 | } 25 | 26 | public function size(p_size:Number):Void 27 | { 28 | _x = p_size; 29 | _y = p_size; 30 | } 31 | // Semi-Private Methods: 32 | // Private Methods: 33 | 34 | } 35 | -------------------------------------------------------------------------------- /classes/com/acmewebworks/utils/CoordinateTools.as: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Developer: John Grden 4 | 5 | */ 6 | 7 | class com.acmewebworks.utils.CoordinateTools 8 | 9 | { 10 | 11 | private function CoordinateTools() 12 | 13 | { 14 | 15 | _global.localToLocal = localToLocal; 16 | 17 | } 18 | 19 | 20 | 21 | public static function localToLocal(from:Object, to:Object):Object 22 | 23 | { 24 | 25 | var point:Object = {x: 0, y: 0}; 26 | 27 | from.localToGlobal(point); 28 | 29 | to.globalToLocal(point); 30 | 31 | return point; 32 | 33 | } 34 | 35 | 36 | 37 | public static function getAngle(pointAX:Number, pointAY:Number, pointBX:Number, pointBY:Number):Number 38 | 39 | { 40 | 41 | //return angle 42 | 43 | var nYdiff:Number = (pointAY - pointBY); 44 | 45 | var nXdiff:Number = (pointAX - pointBX); 46 | 47 | var rad:Number = Math.atan2(nYdiff, nXdiff); 48 | 49 | 50 | 51 | var deg:Number = Math.round(rad * 180 / Math.PI); 52 | 53 | 54 | 55 | //this will return a true 360 value 56 | 57 | deg < 0 ? 180 + (180-Math.abs(deg)) : deg; 58 | 59 | return deg; 60 | 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /classes/com/blitzagency/data/ContentFarm.as: -------------------------------------------------------------------------------- 1 | import com.blitzagency.data.DecodeHTML; 2 | 3 | import org.red5.fitc.presentation.ConfigDelegate; 4 | 5 | 6 | 7 | class com.blitzagency.data.ContentFarm { 8 | 9 | // Constants: 10 | 11 | public static var CLASS_REF = com.blitzagency.data.ContentFarm; 12 | 13 | // Public Properties: 14 | 15 | // Private Properties: 16 | 17 | public static function getContent(p_location:String):String 18 | 19 | { 20 | 21 | //_global.tt("getContent", p_location); 22 | 23 | var content = getRawContent(p_location); 24 | 25 | //_global.tt("content", content); 26 | 27 | content = DecodeHTML.decode(content); 28 | 29 | //_global.tt("content", content); 30 | 31 | return content; 32 | 33 | } 34 | 35 | 36 | 37 | public static function getRawContent(p_location:String):String 38 | 39 | { 40 | 41 | _global.tt("getRawContent", p_location); 42 | 43 | //var content = ConfigDelegate.getContent(p_location); 44 | 45 | return _global.org.red5.fitc.presentation.ConfigDelegate.getContent(p_location); 46 | 47 | //_global.tt("getRawContent", p_location, content, _global.ConfigDelegate.getContent); 48 | 49 | //return content 50 | 51 | } 52 | 53 | 54 | 55 | // Public Methods: 56 | 57 | // Semi-Private Methods: 58 | 59 | // Private Methods: 60 | 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /classes/com/blitzagency/events/IBroadcastable.as: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | Interface used to enforce proper inheritance of the EventBroadcaster through composition. 4 | 5 | 6 | 7 | @class 8 | 9 | @author Danny Patterson 10 | 11 | @version 1.0.0 2005-07-23 12 | 13 | @see com.blitzagency.events.EventBroadcaster 14 | 15 | */ 16 | 17 | 18 | 19 | interface com.blitzagency.events.IBroadcastable { 20 | 21 | 22 | 23 | /** 24 | 25 | @see com.blitzagency.events.EventBroadcaster#addEventListener 26 | 27 | */ 28 | 29 | public function addEventListener(eventName:String, listener:Object, methodName:String):Void; 30 | 31 | 32 | 33 | /** 34 | 35 | @see com.blitzagency.events.EventBroadcaster#broadcastEvent 36 | 37 | */ 38 | 39 | public function broadcastEvent(eventName:String, data:Object):Void; 40 | 41 | 42 | 43 | /** 44 | 45 | @see com.blitzagency.events.EventBroadcaster#removeEventListener 46 | 47 | */ 48 | 49 | public function removeEventListener(eventName:String, listener:Object, methodName:String):Void; 50 | 51 | } 52 | -------------------------------------------------------------------------------- /classes/com/blitzagency/events/IStaticBroadcastable.as: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | Interface used to enforce proper inheritance of the EventBroadcaster through composition. 4 | 5 | 6 | 7 | @class 8 | 9 | @author Danny Patterson 10 | 11 | @version 1.0.0 2005-07-23 12 | 13 | @see com.blitzagency.events.EventBroadcaster 14 | 15 | */ 16 | 17 | 18 | 19 | interface com.blitzagency.events.IStaticBroadcastable { 20 | 21 | /** 22 | 23 | @see com.blitzagency.events.EventBroadcaster#addEventListener 24 | 25 | */ 26 | 27 | public function addSingletonEventListener(eventName:String, listener:Object, methodName:String):Void; 28 | 29 | 30 | 31 | /** 32 | 33 | @see com.blitzagency.events.EventBroadcaster#broadcastEvent 34 | 35 | */ 36 | 37 | public function broadcastSingletonEvent(eventName:String, data:Object):Void; 38 | 39 | 40 | 41 | /** 42 | 43 | * This is for use with to broadcast a Singleton instance of a utility class 44 | 45 | */ 46 | 47 | public function removeSingletonEventListener(eventName:String, listener:Object, methodName:String):Void; 48 | 49 | } 50 | -------------------------------------------------------------------------------- /classes/com/blitzagency/xray/logger/ClassLoader.as: -------------------------------------------------------------------------------- 1 | /** 2 | * @author John Grden 3 | */ 4 | class com.blitzagency.xray.logger.ClassLoader 5 | { 6 | public static var CLASS_REF = com.blitzagency.xray.logger.ClassLoader; 7 | 8 | public static var initialized:Boolean = initialize(); 9 | 10 | private static function initialize():Boolean 11 | { 12 | initializeClasses(); 13 | return true; 14 | } 15 | 16 | public static function getClassByName(name:String):Function 17 | { 18 | if(!initialized) initialize(); 19 | var clazz:Function = eval('_global.'+name); 20 | return clazz; 21 | } 22 | 23 | public static function getInstanceByName(name:String, args:Array):Object 24 | { 25 | if(!initialized) initialize(); 26 | var clazz:Function = getClassByName(name); 27 | if(args==undefined) args = new Array(); 28 | var result:Object = new Object(); 29 | result.__proto__ = clazz.prototype; 30 | clazz.apply(result, args); 31 | return result; 32 | } 33 | 34 | /** 35 | * References all of the classes that need to be loaded dynamically. This could eventually be 36 | * replaced with Simon Wacker's Ant Script that loads all needed classes via MTASC from 37 | * a Spring context.xml file. This is not yet production ready at this time (May 24, 2006) 38 | */ 39 | public static function initializeClasses():Void 40 | { 41 | //_global.trace("initializeClasses called"); 42 | var obj = com.blitzagency.xray.logger.XrayLogger; 43 | //obj = com.blitzagency.xray.logger.asUnitLogger; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /classes/com/blitzagency/xray/logger/Log.as: -------------------------------------------------------------------------------- 1 | import com.blitzagency.xray.logger.XrayLogger; 2 | 3 | 4 | 5 | class com.blitzagency.xray.logger.Log 6 | 7 | { 8 | 9 | private var message:String; 10 | 11 | private var dump:Object; 12 | 13 | private var level:Number; 14 | 15 | 16 | 17 | function Log(p_message:String, p_dump:Object, p_level:Number) 18 | 19 | { 20 | 21 | setMessage(p_message); 22 | 23 | setDump(p_dump); 24 | 25 | setLevel(p_level); 26 | 27 | } 28 | 29 | 30 | 31 | public function setMessage(p_message:String):Void 32 | 33 | { 34 | 35 | message = p_message; 36 | 37 | } 38 | 39 | 40 | 41 | public function setDump(p_dump:Object):Void 42 | 43 | { 44 | 45 | dump = p_dump; 46 | 47 | } 48 | 49 | 50 | 51 | public function setLevel(p_level:Number):Void 52 | 53 | { 54 | 55 | level = p_level; 56 | 57 | } 58 | 59 | 60 | 61 | public function getMessage():String 62 | 63 | { 64 | 65 | return message; 66 | 67 | } 68 | 69 | 70 | 71 | public function getDump():Object 72 | 73 | { 74 | 75 | return dump; 76 | 77 | } 78 | 79 | 80 | 81 | public function getLevel():Number 82 | 83 | { 84 | 85 | return level; 86 | 87 | } 88 | 89 | } 90 | 91 | -------------------------------------------------------------------------------- /classes/com/blitzagency/xray/logger/LogManager.as: -------------------------------------------------------------------------------- 1 | import com.blitzagency.xray.logger.ClassLoader; 2 | import com.blitzagency.xray.util.MtascUtility; 3 | /** 4 | * @author John Grden 5 | */ 6 | class com.blitzagency.xray.logger.LogManager 7 | { 8 | public static var CLASS_REF = com.blitzagency.xray.logger.LogManager; 9 | public static var initialized:Boolean; 10 | 11 | private static var loggerList:Object; 12 | 13 | 14 | public static function initialize():Void 15 | { 16 | if(initialized) return; 17 | MtascUtility.initialize(); 18 | loggerList = new Object(); 19 | initialized = true; 20 | } 21 | 22 | public static function getLogger(p_logger:String):Object 23 | { 24 | // initialize loggers object if not done so already 25 | var package:String = p_logger.split(".").join("_"); 26 | if(loggerList[package].instance != undefined) 27 | { 28 | // if instance already exists, pass it back 29 | return loggerList[package].instance; 30 | } 31 | else 32 | { 33 | // grag logger class 34 | var loggerObject = ClassLoader.getClassByName(p_logger); 35 | 36 | // create new instance 37 | var instance:Object = new loggerObject(); 38 | 39 | // update list 40 | loggerList[package] = new Object(); 41 | loggerList[package].instance = instance; 42 | 43 | // return logger instance 44 | return instance; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /classes/com/blitzagency/xray/logger/Logger.as: -------------------------------------------------------------------------------- 1 | /** 2 | * @author John Grden 3 | */ 4 | interface com.blitzagency.xray.logger.Logger 5 | { 6 | public function setLevel(p_level:Number):Void; 7 | public function debug(message:String, dump:Object, package:String):Void; 8 | public function info(message:String, dump:Object, package:String):Void; 9 | public function warn(message:String, dump:Object, package:String):Void; 10 | public function error(message:String, dump:Object, package:String):Void; 11 | public function fatal(message:String, dump:Object, package:String):Void; 12 | public function log(message:String, dump:Object, package:String, level:Number):Void; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /classes/com/blitzagency/xray/logger/XrayLog.as: -------------------------------------------------------------------------------- 1 | import com.blitzagency.xray.logger.XrayLogger; 2 | import com.blitzagency.xray.logger.Log; 3 | 4 | class com.blitzagency.xray.logger.XrayLog 5 | { 6 | function XrayLog() 7 | { 8 | // CONSTRUCT 9 | } 10 | 11 | public function debug(message:String, dump:Object):Object 12 | { 13 | return new Log(message, dump, XrayLogger.DEBUG); 14 | } 15 | 16 | public function info(message:String, dump:Object):Log 17 | { 18 | return new Log(message, dump, XrayLogger.INFO); 19 | } 20 | 21 | public function warn(message:String, dump:Object):Log 22 | { 23 | return new Log(message, dump, XrayLogger.WARN); 24 | } 25 | 26 | public function error(message:String, dump:Object):Log 27 | { 28 | return new Log(message, dump, XrayLogger.ERROR); 29 | } 30 | 31 | public function fatal(message:String, dump:Object):Log 32 | { 33 | return new Log(message, dump, XrayLogger.FATAL); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /classes/org/red5/admin/connector/event/Red5Event.as: -------------------------------------------------------------------------------- 1 | package org.red5.admin.connector.event 2 | { 3 | 4 | /** 5 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 6 | * 7 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or modify it under the 10 | * terms of the GNU Lesser General Public License as published by the Free Software 11 | * Foundation; either version 2.1 of the License, or (at your option) any later 12 | * version. 13 | * 14 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 15 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 16 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public License along 19 | * with this library; if not, write to the Free Software Foundation, Inc., 20 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | import flash.events.Event; 24 | 25 | /** 26 | * 27 | * @author Martijn van Beek 28 | */ 29 | public class Red5Event extends Event 30 | { 31 | private var _code : String; 32 | private var _level : String; 33 | 34 | public function Red5Event(type:String, info:Object, bubbles:Boolean=false, cancelable:Boolean=false) 35 | { 36 | _code = info.code; 37 | _level = info.level; 38 | super(type, bubbles, cancelable); 39 | } 40 | 41 | public function get code():String 42 | { 43 | return _code; 44 | } 45 | 46 | public function get level():String 47 | { 48 | return _level; 49 | } 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/commands/DisconnectCommand.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.commands 20 | { 21 | import com.adobe.cairngorm.commands.ICommand; 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.echo.events.DisconnectEvent; 25 | import org.red5.samples.echo.model.ModelLocator; 26 | 27 | /** 28 | * @author Thijs Triemstra (info@collab.nl) 29 | */ 30 | public class DisconnectCommand implements ICommand 31 | { 32 | private var _model : ModelLocator = ModelLocator.getInstance(); 33 | 34 | /** 35 | * @param cgEvent 36 | */ 37 | public function execute(cgEvent:CairngormEvent):void 38 | { 39 | var event : DisconnectEvent = DisconnectEvent(cgEvent); 40 | _model.nc.close(); 41 | } 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/events/ConnectEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.events 20 | { 21 | import com.adobe.cairngorm.control.CairngormEvent; 22 | 23 | import org.red5.samples.echo.controller.EchoController; 24 | 25 | /** 26 | * @author Thijs Triemstra (info@collab.nl) 27 | */ 28 | public class ConnectEvent extends CairngormEvent 29 | { 30 | public var protocol : String; 31 | public var encoding : uint; 32 | 33 | /** 34 | * @param protocol 35 | * @param encoding 36 | */ 37 | public function ConnectEvent(protocol:String, encoding:uint) 38 | { 39 | super( EchoController.EVENT_CONNECT ); 40 | this.protocol = protocol; 41 | this.encoding = encoding; 42 | } 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/events/DisconnectEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.events 20 | { 21 | import com.adobe.cairngorm.control.CairngormEvent; 22 | 23 | import org.red5.samples.echo.controller.EchoController; 24 | 25 | /** 26 | * @author Thijs Triemstra (info@collab.nl) 27 | */ 28 | public class DisconnectEvent extends CairngormEvent 29 | { 30 | public function DisconnectEvent() 31 | { 32 | super( EchoController.EVENT_DISCONNECT ); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/events/PrintTextEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.events 20 | { 21 | import com.adobe.cairngorm.control.CairngormEvent; 22 | 23 | import org.red5.samples.echo.controller.EchoController; 24 | 25 | /** 26 | * @author Thijs Triemstra (info@collab.nl) 27 | */ 28 | public class PrintTextEvent extends CairngormEvent 29 | { 30 | public var msg : String; 31 | 32 | /** 33 | * @param msg 34 | */ 35 | public function PrintTextEvent(msg:String="") 36 | { 37 | super(EchoController.EVENT_PRINT_TEXT); 38 | this.msg = msg; 39 | } 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/events/RunTestEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.events 20 | { 21 | import com.adobe.cairngorm.control.CairngormEvent; 22 | 23 | import org.red5.samples.echo.controller.EchoController; 24 | 25 | /** 26 | * @author Thijs Triemstra (info@collab.nl) 27 | */ 28 | public class RunTestEvent extends CairngormEvent 29 | { 30 | public function RunTestEvent() 31 | { 32 | super(EchoController.EVENT_RUN_TEST); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/events/SetupConnectionEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.events 20 | { 21 | import com.adobe.cairngorm.control.CairngormEvent; 22 | 23 | import org.red5.samples.echo.controller.EchoController; 24 | 25 | /** 26 | * @author Thijs Triemstra (info@collab.nl) 27 | */ 28 | public class SetupConnectionEvent extends CairngormEvent 29 | { 30 | public function SetupConnectionEvent() 31 | { 32 | super(EchoController.EVENT_SETUP_CONNECTION); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/events/StartTestsEvent.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.events 20 | { 21 | import com.adobe.cairngorm.control.CairngormEvent; 22 | 23 | import org.red5.samples.echo.controller.EchoController; 24 | 25 | /** 26 | * @author Thijs Triemstra (info@collab.nl) 27 | */ 28 | public class StartTestsEvent extends CairngormEvent 29 | { 30 | public function StartTestsEvent() 31 | { 32 | super(EchoController.EVENT_START_TESTS); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/ArrayCollectionTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | import mx.collections.ArrayCollection; 22 | 23 | /** 24 | * @author Thijs Triemstra (info@collab.nl) 25 | */ 26 | public class ArrayCollectionTest extends BaseTest 27 | { 28 | public function ArrayCollectionTest() 29 | { 30 | var tmp1: ArrayCollection = new ArrayCollection(); 31 | tmp1.addItem("one"); 32 | tmp1.addItem(123); 33 | tmp1.addItem(null); 34 | tests.push(tmp1); 35 | 36 | var tmp_2: Array = new Array(); 37 | tmp_2.push(tmp1); 38 | tmp_2.push(tmp1); 39 | tests.push(tmp_2); 40 | } 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/ArrayTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | /** 22 | * @author Thijs Triemstra (info@collab.nl) 23 | */ 24 | public class ArrayTest extends BaseTest 25 | { 26 | public function ArrayTest() 27 | { 28 | super(); 29 | 30 | tests.push(new Array()); 31 | 32 | var tmp1: Array = new Array(); 33 | tmp1.push(1); 34 | tests.push(tmp1); 35 | tests.push([1, 2]); 36 | tests.push([1, 2, 3]); 37 | tests.push([1, 2, [1, 2]]); 38 | 39 | var tmp2: Array = new Array(); 40 | tmp2.push(1); 41 | tmp2[100] = 100; 42 | tests.push(tmp2); 43 | 44 | var tmp3: Array = new Array(); 45 | tmp3.push(1); 46 | tmp3["one"] = 1; 47 | tests.push(tmp3); 48 | } 49 | 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/BooleanTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | /** 22 | * @author Thijs Triemstra (info@collab.nl) 23 | */ 24 | public class BooleanTest extends BaseTest 25 | { 26 | public function BooleanTest() 27 | { 28 | super(); 29 | 30 | tests.push(true); 31 | tests.push(false); 32 | } 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/CustomClassTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | import org.red5.samples.echo.vo.EchoClass; 22 | 23 | /** 24 | * @author Thijs Triemstra (info@collab.nl) 25 | */ 26 | public class CustomClassTest extends BaseTest 27 | { 28 | public function CustomClassTest() 29 | { 30 | super(); 31 | 32 | var tmp1: EchoClass = new EchoClass(); 33 | tmp1.attr1 = "one"; 34 | tmp1.attr2 = 1; 35 | tests.push(tmp1); 36 | 37 | var tmp2: Array = new Array(); 38 | tmp2.push(tmp1); 39 | tmp2.push(tmp1); 40 | tests.push(tmp2); 41 | } 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/DateTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | /** 22 | * @author Thijs Triemstra (info@collab.nl) 23 | */ 24 | public class DateTest extends BaseTest 25 | { 26 | public function DateTest() 27 | { 28 | super(); 29 | 30 | var now: Date = new Date(); 31 | tests.push(now); 32 | 33 | var tmp1: Array = new Array(); 34 | tmp1.push(now); 35 | tmp1.push(now); 36 | tests.push(tmp1); 37 | } 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/ExternalizableTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | import org.red5.samples.echo.vo.ExternalizableClass; 22 | 23 | /** 24 | * @author Thijs Triemstra (info@collab.nl) 25 | */ 26 | public class ExternalizableTest extends BaseTest 27 | { 28 | public function ExternalizableTest() 29 | { 30 | super(); 31 | 32 | var ext: ExternalizableClass = new ExternalizableClass(); 33 | tests.push(ext); 34 | 35 | var tmp_1: Array = new Array(); 36 | tmp_1.push(ext); 37 | tmp_1.push(ext); 38 | tests.push(tmp_1); 39 | } 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/NullTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | /** 22 | * @author Thijs Triemstra (info@collab.nl) 23 | */ 24 | public class NullTest extends BaseTest 25 | { 26 | public function NullTest() 27 | { 28 | tests.push(null); 29 | } 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/ObjectProxyTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | import mx.utils.ObjectProxy; 22 | 23 | /** 24 | * @author Thijs Triemstra (info@collab.nl) 25 | */ 26 | public class ObjectProxyTest extends BaseTest 27 | { 28 | public function ObjectProxyTest() 29 | { 30 | super(); 31 | 32 | var temp1: ObjectProxy = new ObjectProxy( { a: "foo", b: 5 } ); 33 | tests.push(temp1); 34 | 35 | var temp2: Array = new Array(); 36 | temp2.push(temp1); 37 | temp2.push(temp1); 38 | tests.push(temp2); 39 | } 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/ObjectTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | /** 22 | * @author Thijs Triemstra (info@collab.nl) 23 | */ 24 | public class ObjectTest extends BaseTest 25 | { 26 | public function ObjectTest() 27 | { 28 | super(); 29 | 30 | var tmp1: Object = {a: "foo", b: "bar"}; 31 | tests.push(tmp1); 32 | 33 | var tmp2: Array = new Array(); 34 | tmp2.push(tmp1); 35 | tmp2.push(tmp1); 36 | tests.push(tmp2); 37 | } 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/UndefinedTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | /** 22 | * @author Thijs Triemstra (info@collab.nl) 23 | */ 24 | public class UndefinedTest extends BaseTest 25 | { 26 | public function UndefinedTest() 27 | { 28 | super(); 29 | 30 | tests.push(undefined); 31 | } 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/model/tests/UnsupportedTest.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.model.tests 20 | { 21 | import flash.display.BitmapData; 22 | 23 | /** 24 | * @author Thijs Triemstra (info@collab.nl) 25 | */ 26 | public class UnsupportedTest extends BaseTest 27 | { 28 | public function UnsupportedTest() 29 | { 30 | super(); 31 | 32 | var bmp1:BitmapData = new BitmapData( 80, 80, false, 0xCCCCCC ); 33 | 34 | // Draw a blue line in a BitmapData object 35 | for (var h:uint = 0; h < 80; h++) 36 | { 37 | var blue:uint = 0x3232CD; 38 | bmp1.setPixel( h, 40, blue ); 39 | } 40 | tests.push(bmp1); 41 | 42 | var tmp1: Array = new Array(); 43 | tmp1.push(bmp1); 44 | tmp1.push(bmp1); 45 | tests.push(tmp1); 46 | } 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/view/CredentialsView.mxml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 23 | 24 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/vo/EchoClass.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.vo 20 | { 21 | /** 22 | * @author Joachim Bauch ( jojo@struktur.de ) 23 | */ 24 | public class EchoClass 25 | { 26 | public var attr1: String; 27 | public var attr2: Number; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/vo/RemoteClass.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.vo 20 | { 21 | [RemoteClass(alias="org.red5.demos.echo.RemoteClass")] 22 | 23 | /** 24 | * @author Joachim Bauch (jojo@struktur.de) 25 | */ 26 | public class RemoteClass 27 | { 28 | public var attribute1: String; 29 | public var attribute2: Number; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/vo/TestSelection.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.vo 20 | { 21 | [Bindable] 22 | /** 23 | * @author Thijs Triemstra (info@collab.nl) 24 | */ 25 | public class TestSelection 26 | { 27 | public var parent : String; 28 | public var name : String; 29 | public var selected : Boolean; 30 | 31 | /** 32 | * @param parent 33 | * @param name 34 | * @param selected 35 | */ 36 | public function TestSelection( parent:String="", name:String="", 37 | selected:Boolean=true) 38 | { 39 | this.parent = parent; 40 | this.name = name; 41 | this.selected = selected; 42 | } 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /classes/org/red5/samples/echo/vo/User.as: -------------------------------------------------------------------------------- 1 | /** 2 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 3 | * 4 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package org.red5.samples.echo.vo 20 | { 21 | [Bindable] 22 | /** 23 | * @author Thijs Triemstra (info@collab.nl) 24 | */ 25 | public class User 26 | { 27 | public var userid : String; 28 | public var password : String; 29 | 30 | public function User(userid:String="", password:String="") 31 | { 32 | this.userid = userid; 33 | this.password = password; 34 | } 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/business/Services.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/ChangePresetEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.ChangePresetCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class ChangePresetEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public var index : Number; 36 | 37 | /** 38 | * 39 | * @param index 40 | */ 41 | public function ChangePresetEvent( index : Number ) 42 | { 43 | super( DashboardController.EVENT_CHANGE_PRESET ); 44 | this.index = index; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/CloseConnectionEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.CloseConnectionCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class CloseConnectionEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | * @return 35 | * 36 | */ 37 | public function CloseConnectionEvent() 38 | { 39 | super( DashboardController.EVENT_CLOSE_CONNECTION ); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/EnableAudioEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.EnableAudioCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class EnableAudioEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public var enable : Boolean; 36 | 37 | /** 38 | * 39 | * @return 40 | */ 41 | public function EnableAudioEvent( enable : Boolean ) 42 | { 43 | super( DashboardController.EVENT_ENABLE_AUDIO ); 44 | this.enable = enable; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/EnableVideoEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.EnableVideoCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class EnableVideoEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public var enable : Boolean; 36 | 37 | /** 38 | * 39 | */ 40 | public function EnableVideoEvent( enable : Boolean ) 41 | { 42 | super( DashboardController.EVENT_ENABLE_VIDEO ); 43 | this.enable = enable; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/PauseStreamEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.PauseStreamCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class PauseStreamEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | * @return 35 | */ 36 | public function PauseStreamEvent() 37 | { 38 | super( DashboardController.EVENT_PAUSE_STREAM ); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/RemovePresetsEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.RemovePresetsCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class RemovePresetsEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | * @return 35 | */ 36 | public function RemovePresetsEvent() 37 | { 38 | super( DashboardController.EVENT_REMOVE_PRESETS ); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/ResumeStreamEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.ResumeStreamCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class ResumeStreamEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | * @return 35 | */ 36 | public function ResumeStreamEvent() 37 | { 38 | super( DashboardController.EVENT_RESUME_STREAM ); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/SavePresetEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.SavePresetCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class SavePresetEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public var newName : String; 36 | 37 | /** 38 | * 39 | */ 40 | public function SavePresetEvent( newName : String ) 41 | { 42 | super( DashboardController.EVENT_SAVE_PRESET ); 43 | this.newName = newName; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/SetupConnectionEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.SetupConnectionCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class SetupConnectionEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public function SetupConnectionEvent() 36 | { 37 | super( DashboardController.EVENT_SETUP_CONNECTION ); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/SetupDevicesEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.SetupDevicesCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class SetupDevicesEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | * @return 35 | */ 36 | public function SetupDevicesEvent() 37 | { 38 | super( DashboardController.EVENT_SETUP_DEVICES ); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/SetupStreamsEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.SetupStreamsCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class SetupStreamsEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public function SetupStreamsEvent() 36 | { 37 | super( DashboardController.EVENT_SETUP_STREAMS ); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/StopCameraEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.StopCameraCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class StopCameraEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public function StopCameraEvent() 36 | { 37 | super( DashboardController.EVENT_STOP_CAMERA ); 38 | } 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/StopMicrophoneEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.StopMicrophoneCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class StopMicrophoneEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public function StopMicrophoneEvent() 36 | { 37 | super( DashboardController.EVENT_STOP_MICROPHONE ); 38 | } 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/StopStreamEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.StopStreamCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class StopStreamEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public function StopStreamEvent() 36 | { 37 | super( DashboardController.EVENT_STOP_STREAM ); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/events/UnpublishStreamEvent.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.events 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEvent; 23 | 24 | import org.red5.samples.publisher.control.DashboardController; 25 | 26 | /** 27 | * @copy org.red5.samples.publisher.command.UnpublishStreamCommand 28 | * @author Thijs Triemstra 29 | */ 30 | public class UnpublishStreamEvent extends CairngormEvent 31 | { 32 | /** 33 | * 34 | */ 35 | public function UnpublishStreamEvent() 36 | { 37 | super( DashboardController.EVENT_UNPUBLISH_STREAM ); 38 | } 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/LogPod.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 13 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/LogPodClass.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.view 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import mx.containers.Box; 23 | import mx.controls.TextArea; 24 | 25 | import org.red5.samples.publisher.model.*; 26 | 27 | /** 28 | * 29 | * @author Thijs Triemstra 30 | */ 31 | public class LogPodClass extends Box 32 | { 33 | /** 34 | * 35 | */ 36 | private var model : ModelLocator = ModelLocator.getInstance(); 37 | 38 | [Bindable] 39 | /** 40 | * 41 | */ 42 | public var logger : Logger = model.logger; 43 | 44 | [Bindable] 45 | /** 46 | * 47 | */ 48 | public var main : Main; 49 | 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/MonitorPodClass.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.view 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import com.adobe.cairngorm.control.CairngormEventDispatcher; 23 | 24 | import mx.containers.Box; 25 | 26 | import org.red5.samples.publisher.model.*; 27 | 28 | /** 29 | * 30 | * @author Thijs Triemstra 31 | */ 32 | public class MonitorPodClass extends Box 33 | { 34 | 35 | [Bindable] 36 | /** 37 | * 38 | */ 39 | public var main : Main; 40 | 41 | [Bindable] 42 | /** 43 | * 44 | */ 45 | public var navigation : Navigation; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/Publisher.mxml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 13 | 14 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/general/SaveConnection.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/control_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/control_play.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/control_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/control_stop.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/error.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/famfamfam.txt: -------------------------------------------------------------------------------- 1 | Silk icon set 1.3 2 | 3 | _________________________________________ 4 | Mark James 5 | http://www.famfamfam.com/lab/icons/silk/ 6 | _________________________________________ 7 | 8 | This work is licensed under a 9 | Creative Commons Attribution 2.5 License. 10 | [ http://creativecommons.org/licenses/by/2.5/ ] 11 | 12 | This means you may use it for any purpose, 13 | and make any changes you like. 14 | All I ask is that you include a link back 15 | to this page in your credits. 16 | 17 | Are you using this icon set? Send me an email 18 | (including a link or picture if available) to 19 | mjames@gmail.com 20 | 21 | Any other questions about this icon set please 22 | contact mjames@gmail.com -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/fms.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/fms.gif -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/monitor.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/red5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/red5.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/report.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_add.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_connect.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_error.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_go.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_key.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_lightning.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/server_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/server_link.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/sound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/sound.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/sound_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/sound_add.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/sound_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/sound_delete.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/webcam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/webcam.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/webcam_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/webcam_add.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/images/webcam_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/classes/org/red5/samples/publisher/view/images/webcam_delete.png -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/log/LogAppBar.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/log/LogAppBarClass.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.view.log 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import mx.containers.ApplicationControlBar; 23 | 24 | import org.red5.samples.publisher.model.*; 25 | 26 | /** 27 | * 28 | * @author Thijs Triemstra 29 | */ 30 | public class LogAppBarClass extends ApplicationControlBar 31 | { 32 | /** 33 | * 34 | */ 35 | private var model : ModelLocator = ModelLocator.getInstance(); 36 | 37 | [Bindable] 38 | /** 39 | * 40 | */ 41 | public var logger : Logger = model.logger; 42 | 43 | [Bindable] 44 | /** 45 | * 46 | */ 47 | public var main : Main = model.main; 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/log/LogDisplay.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/monitor/MonitorAppBar.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/monitor/MonitorDisplay.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/monitor/MonitorDisplayClass.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.view.monitor 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import mx.containers.ViewStack; 23 | 24 | import org.red5.samples.publisher.model.Main; 25 | 26 | /** 27 | * 28 | * @author Thijs Triemstra 29 | */ 30 | public class MonitorDisplayClass extends ViewStack 31 | { 32 | [Bindable] 33 | /** 34 | * 35 | */ 36 | public var main : Main; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/settings/SettingsAppBar.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/settings/SettingsStatusBar.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/settings/SettingsStatusBarClass.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.view.settings 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import mx.containers.ApplicationControlBar; 23 | 24 | import org.red5.samples.publisher.model.*; 25 | 26 | /** 27 | * 28 | * @author Thijs Triemstra 29 | */ 30 | public class SettingsStatusBarClass extends ApplicationControlBar 31 | { 32 | [Bindable] 33 | /** 34 | * 35 | */ 36 | public var main : Main; 37 | 38 | [Bindable] 39 | /** 40 | * 41 | */ 42 | public var navigation : Navigation; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/settings/StatusBar.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /classes/org/red5/samples/publisher/view/settings/StatusBarClass.as: -------------------------------------------------------------------------------- 1 | package org.red5.samples.publisher.view.settings 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | import mx.containers.Canvas; 23 | 24 | /** 25 | * 26 | * @author Thijs Triemstra 27 | */ 28 | public class StatusBarClass extends Canvas 29 | { 30 | [Bindable] 31 | /** 32 | * 33 | */ 34 | public var labelText : String; 35 | 36 | [Bindable] 37 | /** 38 | * 39 | */ 40 | public var labelImage : Class; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /classes/org/red5/utils/Debug.as: -------------------------------------------------------------------------------- 1 | package org.red5.utils 2 | { 3 | /** 4 | * RED5 Open Source Flash Server - http://www.osflash.org/red5 5 | * 6 | * Copyright (c) 2006-2009 by respective authors (see below). All rights reserved. 7 | * 8 | * This library is free software; you can redistribute it and/or modify it under the 9 | * terms of the GNU Lesser General Public License as published by the Free Software 10 | * Foundation; either version 2.1 of the License, or (at your option) any later 11 | * version. 12 | * 13 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 14 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 15 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public License along 18 | * with this library; if not, write to the Free Software Foundation, Inc., 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | /** 23 | * 24 | * @author Martijn van Beek 25 | */ 26 | public class Debug 27 | { 28 | public static function dumpObj(obj:Object):void 29 | { 30 | //trace ( "dumpObj: "+obj ); 31 | for(var name:String in obj ) { 32 | //trace ( name +" - " + obj[name] + " - "+typeof(obj[name]) ); 33 | if ( typeof(obj[name]) == "object" ) { 34 | //trace(" -- ") 35 | dumpObj(obj[name]); 36 | } 37 | } 38 | } 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /deploy/BallControl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - Ball Control 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/BallControl.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/BallControl.swf -------------------------------------------------------------------------------- /deploy/DevNotes_NetConnection.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/DevNotes_NetConnection.swf -------------------------------------------------------------------------------- /deploy/FITCPresentation.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/FITCPresentation.swf -------------------------------------------------------------------------------- /deploy/FITCSpeakerBroadcaster.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/FITCSpeakerBroadcaster.swf -------------------------------------------------------------------------------- /deploy/MessageRecorder.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/MessageRecorder.swf -------------------------------------------------------------------------------- /deploy/RemotingTest.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/RemotingTest.swf -------------------------------------------------------------------------------- /deploy/SimpleChat.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - Simple Chat 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/SimpleChat.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/SimpleChat.swf -------------------------------------------------------------------------------- /deploy/adminPanel.air: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/adminPanel.air -------------------------------------------------------------------------------- /deploy/adminPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Admin 5 | 6 | 7 | 8 | 11 | 12 | 16 | 17 | 18 |
19 |

You need the Adobe Flash Player for the Red5 Admin, download it by clicking the image below.

20 |

Get Adobe Flash player

21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /deploy/adminPanel.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/adminPanel.swf -------------------------------------------------------------------------------- /deploy/assets/expressInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/assets/expressInstall.swf -------------------------------------------------------------------------------- /deploy/bwcheck.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - Bandwidth Check 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/bwcheck.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/bwcheck.swf -------------------------------------------------------------------------------- /deploy/echo_test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | Red5 Demo - Echo Test 9 | 10 | 11 | 14 | 15 | 16 |
17 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

18 |

Get Adobe Flash player

19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /deploy/echo_test.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/echo_test.swf -------------------------------------------------------------------------------- /deploy/ofla_demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - OFLA 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/ofla_demo.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/ofla_demo.swf -------------------------------------------------------------------------------- /deploy/othello.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/othello.swf -------------------------------------------------------------------------------- /deploy/publisher.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | Red5 Demo - Publisher 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 |
22 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

23 |

Get Adobe Flash player

24 |
25 | 26 | -------------------------------------------------------------------------------- /deploy/publisher.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/publisher.swf -------------------------------------------------------------------------------- /deploy/simpleBroadcaster.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - Simple Broadcaster 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/simpleBroadcaster.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/simpleBroadcaster.swf -------------------------------------------------------------------------------- /deploy/simpleRecorder.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - Simple Recorder 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/simpleRecorder.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/simpleRecorder.swf -------------------------------------------------------------------------------- /deploy/simpleSubscriber.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Red5 Demo - Simple Subscriber 5 | 6 | 7 | 10 | 11 | 12 |
13 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

14 |

Get Adobe Flash player

15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /deploy/simpleSubscriber.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/simpleSubscriber.swf -------------------------------------------------------------------------------- /deploy/videoConference.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | Red5 Demo - Video Conference 9 | 10 | 11 | 14 | 15 | 16 |
17 |

You need the Adobe Flash Player for this demo, download it by clicking the image below.

18 |

Get Adobe Flash player

19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /deploy/videoConference.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/videoConference.swf -------------------------------------------------------------------------------- /deploy/videoConference_Flash7.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/videoConference_Flash7.swf -------------------------------------------------------------------------------- /deploy/xray.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/xray.swf -------------------------------------------------------------------------------- /deploy/xrayConnector_1.6.1.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/xrayConnector_1.6.1.swf -------------------------------------------------------------------------------- /deploy/xrayconnector.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/deploy/xrayconnector.swf -------------------------------------------------------------------------------- /echo/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /echo/.as3_classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | RED5_BASE_AS3 4 | src 5 | playerglobal.swc 6 | flex.swc 7 | framework.swc 8 | rpc.swc 9 | utilities.swc 10 | RED5_LIBS_AS3 11 | RED5_LIBS_AS3/Cairngorm.swc 12 | 13 | -------------------------------------------------------------------------------- /echo/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /echo/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Flex Builder/Eclipse: 5 | 6 | 1. Checkout this folder using Subclipse 7 | 2. Go to Project > Properties > Flex Build Path and change the 8 | additional source folder path (currently defined as 9 | '/path/to/classes/folder') and point it to a checked out copy 10 | of this folder: http://red5.googlecode.com/svn/flash/trunk/classes 11 | 3. Go to Project > Properties > Flex Build Path and click on the 12 | 'Library Path' tab. Modify the library path folder (currently 13 | defined as '/path/to/lib/folder') and point it to a checked out 14 | copy of this folder: http://red5.googlecode.com/svn/flash/trunk/lib 15 | 16 | Using Ant: 17 | 18 | 1. Make sure you have a copy of this file in the folder below this one: 19 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 20 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 21 | 3. Type 'ant' to build the application 22 | -------------------------------------------------------------------------------- /echo/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = echo_test 3 | 4 | # Default HTML page title. 5 | swf.release.title = Echo Test 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = echo_test.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = ${src.dir}/org/red5/samples/echo 17 | -------------------------------------------------------------------------------- /echo/famfam.txt: -------------------------------------------------------------------------------- 1 | Silk icon set 1.3 2 | 3 | _________________________________________ 4 | Mark James 5 | http://www.famfamfam.com/lab/icons/silk/ 6 | _________________________________________ 7 | 8 | This work is licensed under a 9 | Creative Commons Attribution 2.5 License. 10 | [ http://creativecommons.org/licenses/by/2.5/ ] 11 | 12 | This means you may use it for any purpose, 13 | and make any changes you like. 14 | All I ask is that you include a link back 15 | to this page in your credits. 16 | 17 | Are you using this icon set? Send me an email 18 | (including a link or picture if available) to 19 | mjames@gmail.com 20 | 21 | Any other questions about this icon set please 22 | contact mjames@gmail.com -------------------------------------------------------------------------------- /echo/src/assets/main.css: -------------------------------------------------------------------------------- 1 | Application { 2 | background-color: #FFFFFF; 3 | theme-color: haloBlue; 4 | } 5 | 6 | .mainPanel { 7 | rounded-bottom-corners: true; 8 | corner-radius: 5; 9 | padding-bottom: 10; 10 | padding-top: 10; 11 | padding-left: 10; 12 | padding-right: 10; 13 | } 14 | 15 | .mainGrid { 16 | TestActive: Embed(source = "/assets/test_active.png"); 17 | TestComplete: Embed(source = "/assets/test_complete.png"); 18 | TestError: Embed(source = "/assets/test_error.png"); 19 | TestFailed: Embed(source = "/assets/test_failed.png"); 20 | TestInit: Embed(source = "/assets/test_init.png"); 21 | TestTimeout: Embed(source = "/assets/test_timeout.png"); 22 | } 23 | 24 | .testActiveIcon { 25 | upSkin: Embed(source = "/assets/test_active.png"); 26 | } 27 | 28 | .testSuccessIcon { 29 | upSkin: Embed(source = "/assets/test_complete.png"); 30 | } 31 | 32 | .testErrorIcon { 33 | upSkin: Embed(source = "/assets/test_error.png"); 34 | } 35 | 36 | .testFailedIcon { 37 | upSkin: Embed(source = "/assets/test_failed.png"); 38 | } 39 | 40 | .testInitIcon { 41 | upSkin: Embed(source = "/assets/test_init.png"); 42 | } 43 | 44 | .testTimeoutIcon { 45 | upSkin: Embed(source = "/assets/test_timeout.png"); 46 | } -------------------------------------------------------------------------------- /echo/src/assets/test_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/echo/src/assets/test_active.png -------------------------------------------------------------------------------- /echo/src/assets/test_complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/echo/src/assets/test_complete.png -------------------------------------------------------------------------------- /echo/src/assets/test_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/echo/src/assets/test_error.png -------------------------------------------------------------------------------- /echo/src/assets/test_failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/echo/src/assets/test_failed.png -------------------------------------------------------------------------------- /echo/src/assets/test_init.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/echo/src/assets/test_init.png -------------------------------------------------------------------------------- /echo/src/assets/test_timeout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/echo/src/assets/test_timeout.png -------------------------------------------------------------------------------- /echo/src/echo_test.mxml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /flex.properties: -------------------------------------------------------------------------------- 1 | # The location of your Flex SDK (no spaces allowed in path!). 2 | FLEX_HOME = /Applications/Adobe Flex Builder 3 Plug-in/sdks/3.0.0/ 3 | 4 | # Specifies the location of the configuration file that defines compiler options. 5 | flex.config.xml = ${FLEX_HOME}/frameworks/flex-config.xml 6 | air.config.xml = ${FLEX_HOME}/frameworks/air-config.xml 7 | 8 | # Specifies the output path and filename for the resulting files. 9 | build.dir = bin 10 | 11 | # Source path folder. 12 | src.dir = ../classes/ 13 | 14 | # Lib path folder. 15 | lib.dir = ../lib/ 16 | 17 | # Cairngorm SWC library location. 18 | lib.cairngorm.swc = ${lib.dir}/Cairngorm.swc 19 | 20 | # The location of your asdoc executable (no spaces allowed in path!). 21 | asdoc.exe = ${FLEX_HOME}/bin/asdoc 22 | 23 | # The folder where the asdoc templates are located. 24 | asdoc.templates.dir = ${FLEX_HOME}/asdoc/templates 25 | 26 | # The folder where the asdoc HTML-files will be created. 27 | asdoc.output.dir = doc 28 | 29 | # Left frameset width. 30 | asdoc.framewidth = 300 31 | -------------------------------------------------------------------------------- /installer/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /installer/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /installer/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | installer 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /installer/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Ant: 5 | 6 | 1. Make sure you have a copy of this file in the folder below this one: 7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 9 | 3. Type 'ant' to build the application -------------------------------------------------------------------------------- /installer/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = installer 3 | 4 | # Default HTML page title. 5 | swf.release.title = Applications Installer 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = src/installer.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = ${src.dir} 17 | -------------------------------------------------------------------------------- /installer/src/Item.as: -------------------------------------------------------------------------------- 1 | package { 2 | [Bindable] 3 | 4 | public class Item { 5 | public var name:String; 6 | public var description:String; 7 | public var author:String; 8 | public var filename:String; 9 | public var javaVersion:String; 10 | 11 | public function Item() { 12 | } 13 | 14 | public function toString():String { 15 | return "[Item]" + this.name; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /installer/src/ProgressWindow.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 26 | 27 | 28 | 33 | 35 | 40 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /installer/src/assets/red5_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/installer/src/assets/red5_logo.png -------------------------------------------------------------------------------- /lib/Cairngorm.swc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/lib/Cairngorm.swc -------------------------------------------------------------------------------- /lib/cairngorm_license.txt: -------------------------------------------------------------------------------- 1 | BSD License 2 | The BSD License (http://www.opensource.org/licenses/bsd-license.php) specifies the terms and conditions of use for Cairngorm: 3 | 4 | Copyright (c) 2006. Adobe Systems Incorporated. 5 | All rights reserved. 6 | 7 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 8 | 9 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 10 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 11 | Neither the name of Adobe Systems Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 12 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 13 | -------------------------------------------------------------------------------- /loadtest/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /loadtest/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /loadtest/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | loadtest 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /loadtest/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Ant: 5 | 6 | 1. Make sure you have a copy of this file in the folder below this one: 7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 9 | 3. Type 'ant' to build the application -------------------------------------------------------------------------------- /loadtest/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = loadtest 3 | 4 | # Default HTML page title. 5 | swf.release.title = Load Test 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = src/loadtest.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = src 17 | -------------------------------------------------------------------------------- /loadtest/flex.properties: -------------------------------------------------------------------------------- 1 | # The location of your Flex SDK (no spaces allowed in path!). 2 | FLEX_HOME = /home/mondain/dev/tools/flex-sdk/adobe/4.6 3 | # /home/mondain/dev/tools/flex-sdk/apache/4.11 4 | 5 | # Specifies the location of the configuration file that defines compiler options. 6 | flex.config.xml = ${FLEX_HOME}/frameworks/flex-config.xml 7 | air.config.xml = ${FLEX_HOME}/frameworks/air-config.xml 8 | 9 | # Specifies the output path and filename for the resulting files. 10 | build.dir = bin 11 | 12 | # Source path folder. 13 | src.dir = ../classes/ 14 | 15 | # Lib path folder. 16 | lib.dir = ../lib/ 17 | 18 | # Cairngorm SWC library location. 19 | lib.cairngorm.swc = ${lib.dir}/Cairngorm.swc 20 | 21 | # The location of your asdoc executable (no spaces allowed in path!). 22 | asdoc.exe = ${FLEX_HOME}/bin/asdoc 23 | 24 | # The folder where the asdoc templates are located. 25 | asdoc.templates.dir = ${FLEX_HOME}/asdoc/templates 26 | 27 | # The folder where the asdoc HTML-files will be created. 28 | asdoc.output.dir = doc 29 | 30 | # Left frameset width. 31 | asdoc.framewidth = 300 32 | -------------------------------------------------------------------------------- /miniplayer/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniplayer/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /miniplayer/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | miniplayer 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniplayer/src/miniplayer.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | { 9 | public var hostString:String = 'localhost'; 10 | 11 | private function init():void { 12 | Security.allowDomain("*"); 13 | var pattern:RegExp = new RegExp("http://([^/]*)/"); 14 | if (pattern.test(this.url) == true) { 15 | var results:Array = pattern.exec(this.url); 16 | hostString = results[1]; 17 | //need to strip the port to avoid confusion 18 | if (hostString.indexOf(":") > 0) { 19 | hostString = hostString.split(":")[0]; 20 | } 21 | } 22 | } 23 | 24 | } 25 | 26 | 29 | 30 | -------------------------------------------------------------------------------- /ofla_demo.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/ofla_demo.fla -------------------------------------------------------------------------------- /pause-tester/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /pause-tester/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /pause-tester/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pause Tester 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | 20 | [source path] folder 21 | 2 22 | /path/to/classes/folder 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /pause-tester/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Flex Builder/Eclipse: 5 | 6 | 1. Checkout this folder using Subclipse 7 | 2. Go to Project > Properties > Flex Build Path and change the 8 | additional source folder path (currently defined as 9 | '/path/to/classes/folder') and point it to a checked out copy 10 | of this folder: http://red5.googlecode.com/svn/flash/trunk/classes 11 | -------------------------------------------------------------------------------- /player4/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /player4/.as3_classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | src 4 | libs/as3crypto.swc 5 | playerglobal.swc 6 | flex.swc 7 | framework.swc 8 | rpc.swc 9 | utilities.swc 10 | 11 | -------------------------------------------------------------------------------- /player4/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /player4/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | player4 4 | 5 | 6 | 7 | 8 | 9 | com.powerflasher.fdt.core.FlashBuilder 10 | 11 | 12 | 13 | 14 | com.adobe.flexbuilder.project.flexbuilder 15 | 16 | 17 | 18 | 19 | 20 | com.adobe.flexbuilder.project.flexnature 21 | com.adobe.flexbuilder.project.actionscriptnature 22 | com.powerflasher.fdt.core.FlashNature 23 | 24 | 25 | 26 | flex.swc 27 | 1 28 | Flex_3_SDK_4/frameworks/libs/flex.swc 29 | 30 | 31 | framework.swc 32 | 1 33 | Flex_3_SDK_4/frameworks/libs/framework.swc 34 | 35 | 36 | playerglobal.swc 37 | 1 38 | Flex_3_SDK_4/frameworks/libs/player/9/playerglobal.swc 39 | 40 | 41 | rpc.swc 42 | 1 43 | Flex_3_SDK_4/frameworks/libs/rpc.swc 44 | 45 | 46 | utilities.swc 47 | 1 48 | Flex_3_SDK_4/frameworks/libs/utilities.swc 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /player4/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Ant: 5 | 6 | 1. Make sure you have a copy of this file in the folder below this one: 7 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 8 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 9 | 3. Type 'ant' to build the application 10 | -------------------------------------------------------------------------------- /player4/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = player4 3 | 4 | # Default HTML page title. 5 | swf.release.title = Player4 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = src/player4.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = src 17 | -------------------------------------------------------------------------------- /player4/libs/as3crypto.swc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/player4/libs/as3crypto.swc -------------------------------------------------------------------------------- /port-tester/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /port-tester/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /port-tester/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Port Tester 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | 20 | [source path] folder 21 | 2 22 | /path/to/classes/folder 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /port-tester/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Flex Builder/Eclipse: 5 | 6 | 1. Checkout this folder using Subclipse 7 | 2. Go to Project > Properties > Flex Build Path and change the 8 | additional source folder path (currently defined as 9 | '/path/to/classes/folder') and point it to a checked out copy 10 | of this folder: http://red5.googlecode.com/svn/flash/trunk/classes 11 | 12 | Using Ant: 13 | 14 | 1. Make sure you have a copy of this file in the folder below this one: 15 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 16 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 17 | 3. Type 'ant' to build the application 18 | -------------------------------------------------------------------------------- /port-tester/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = port_tester 3 | 4 | # Default HTML page title. 5 | swf.release.title = Port Tester 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = port_tester.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = ${src.dir}/org/red5/samples/porttester 17 | -------------------------------------------------------------------------------- /port-tester/port_tester.mxml: -------------------------------------------------------------------------------- 1 | 2 |
4 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
-------------------------------------------------------------------------------- /publisher/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /publisher/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /publisher/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Publisher 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | 20 | [source path] folder 21 | 2 22 | /path/to/classes/folder 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /publisher/Readme.txt: -------------------------------------------------------------------------------- 1 | Howto Build 2 | =========== 3 | 4 | Using Flex Builder/Eclipse: 5 | 6 | 1. Checkout this folder using Subclipse 7 | 2. Go to Project > Properties > Flex Build Path and change the 8 | additional source folder path (currently defined as 9 | '/path/to/classes/folder') and point it to a checked out copy 10 | of this folder: http://red5.googlecode.com/svn/flash/trunk/classes 11 | 3. Go to Project > Properties > Flex Build Path and click on the 12 | 'Library Path' tab. Modify the library path folder (currently 13 | defined as '/path/to/lib/folder') and point it to a checked out 14 | copy of this folder: http://red5.googlecode.com/svn/flash/trunk/lib 15 | 16 | Using Ant: 17 | 18 | 1. Make sure you have a copy of this file in the folder below this one: 19 | http://red5.googlecode.com/svn/flash/trunk/flex.properties 20 | 2. Modify flex.properties and point it to your Flex SDK (2 or newer) 21 | 3. Type 'ant' to build the application 22 | -------------------------------------------------------------------------------- /publisher/build.properties: -------------------------------------------------------------------------------- 1 | # SWF output filename. 2 | output.swf.name = publisher 3 | 4 | # Default HTML page title. 5 | swf.release.title = Red5 Publisher 6 | 7 | # Debug HTML page title. 8 | swf.debug.title = ${swf.release.title} (debug version) 9 | 10 | # Main MXML file. 11 | main.application = main.mxml 12 | 13 | # Class-folders you want to search for classes to be included in the docs, 14 | # seperated by spaces (for example ../com/ ../net/ ). 15 | # To include every .as and .mxml file within your project, just state ../ 16 | asdoc.domainextensions = ${src.dir}/org/red5/samples/publisher 17 | -------------------------------------------------------------------------------- /publisher/main.mxml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /red5_tester.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/red5_tester.fla -------------------------------------------------------------------------------- /samples/SimpleBallDemo.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleBallDemo.fla -------------------------------------------------------------------------------- /samples/SimpleBroadcaster.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleBroadcaster.fla -------------------------------------------------------------------------------- /samples/SimpleChat.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleChat.fla -------------------------------------------------------------------------------- /samples/SimpleChatUsingSoSend.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleChatUsingSoSend.fla -------------------------------------------------------------------------------- /samples/SimpleRecorder.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleRecorder.fla -------------------------------------------------------------------------------- /samples/SimpleStreamPlayer.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleStreamPlayer.fla -------------------------------------------------------------------------------- /samples/SimpleSubscriber.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/samples/SimpleSubscriber.fla -------------------------------------------------------------------------------- /selftest/.actionScriptProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /selftest/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /selftest/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Selftest 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | com.powerflasher.fdt.core.FlashBuilder 15 | 16 | 17 | 18 | 19 | 20 | com.adobe.flexbuilder.project.flexnature 21 | com.adobe.flexbuilder.project.actionscriptnature 22 | com.powerflasher.fdt.core.FlashNature 23 | 24 | 25 | 26 | core 27 | 2 28 | AS2_CORE_DEFAULT 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /selftest/LICENSE.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | -------------------------------------------------------------------------------- /selftest/lib/ivy-2.0.0-beta2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/selftest/lib/ivy-2.0.0-beta2.jar -------------------------------------------------------------------------------- /selftest/mk/Linux.properties: -------------------------------------------------------------------------------- 1 | # The location of your asdoc executable (no spaces allowed in path!). 2 | asdoc.exe = ${FLEX_HOME}/bin/asdoc 3 | 4 | # application used to view the flash program 5 | flash.exec = firefox 6 | 7 | # standalone application to view a flash program 8 | standalone.flash.exec = flash-player 9 | 10 | # unattended (headless) application to view a flash program 11 | unattended.flash.exec = red5-flash-player-headless 12 | -------------------------------------------------------------------------------- /selftest/mk/Mac OS X.properties: -------------------------------------------------------------------------------- 1 | # The location of your asdoc executable (no spaces allowed in path!). 2 | asdoc.exe = ${FLEX_HOME}/bin/asdoc 3 | 4 | # application used to view the flash program 5 | flash.exec = open 6 | 7 | # standalone application to view a flash program 8 | standalone.flash.exec = flash-player 9 | 10 | # unattended (headless) application to view a flash program 11 | unattended.flash.exec = red5-flash-player-headless 12 | -------------------------------------------------------------------------------- /selftest/mk/Windows Vista.properties: -------------------------------------------------------------------------------- 1 | # application used to view the flash program 2 | asdoc.exe = ${FLEX_HOME}/bin/asdoc.exe 3 | flash.exec = explorer 4 | standalone.flash.exec = ${FLEX_HOME}/runtimes/player/win/FlashPlayer.exe 5 | # unattended (headless) application to view a flash program 6 | unattended.flash.exec = red5-flash-player-headless 7 | -------------------------------------------------------------------------------- /selftest/mk/build.properties: -------------------------------------------------------------------------------- 1 | # the project title 2 | project.title = Red5 Self Test Application 3 | 4 | # output filename for the Flash library (SWC) generated by this build (compiled with compc) 5 | # output.swc.name = red5-selftest 6 | # output.swc.filename = ${output.swc.name}.swc 7 | 8 | # output filename for the Flex applicaton (SWF) generated by this build (compiled with mxmlc) 9 | #output.swf.name = red5-selftest 10 | #output.swf.filename = ${output.swf.name}.swf 11 | # The class file that should be used as Main for the output.swf.name application 12 | # output.swf.inputfile = 13 | 14 | # output filename for the Test Flex applicaton (SWF) generated by this build (compiled with mxmlc) 15 | output.test.swf.name = red5-selftest 16 | output.test.swf.filename = ${output.test.swf.name}.swf 17 | # The class fle that should be used as Main for the output.test.swf.name application 18 | output.test.swf.inputfile = AsUnitTestRunner.mxml 19 | 20 | # default html page title. 21 | output.swf.title = ${project.title} 22 | 23 | # default html page title. 24 | output.test.swf.title = ${project.title} (unit tests) 25 | 26 | # Settings to use for HTML wrappers 27 | wrapper.dir=${share.dir}/flash-wrapper 28 | swf.height=100% 29 | swf.width=100% 30 | swf.version.major=9 31 | swf.version.minor=0 32 | swf.version.revision=0 33 | swf.bgcolor="#FFFFFF" 34 | 35 | # Set if you want debug or not 36 | compiler.debug = true 37 | # Set if you want to use incremental compilation 38 | compiler.incremental = true 39 | compiler.keep-generated-actionscript = false 40 | compiler.strict = true 41 | compiler.benchmark = true 42 | 43 | -------------------------------------------------------------------------------- /selftest/mk/flex.properties: -------------------------------------------------------------------------------- 1 | # The location of your Flex SDK (no spaces allowed in path!). 2 | FLEX_HOME=${env.FLEX_HOME} 3 | 4 | # Specifies the location of the configuration file that defines compiler options. 5 | flex.config.xml = ${FLEX_HOME}/frameworks/flex-config.xml 6 | 7 | # The folder where the asdoc templates are located. 8 | asdoc.templates.dir = ${FLEX_HOME}/asdoc/templates 9 | 10 | # Left frameset width. 11 | asdoc.framewidth = 300 12 | -------------------------------------------------------------------------------- /selftest/mk/ivy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /selftest/share/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /selftest/test/src/AsUnitTestRunner.mxml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /selftest/test/src/net/AllTests.as: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package net 20 | { 21 | import asunit.framework.TestSuite; 22 | import net.theyard.AllTests; 23 | 24 | /** 25 | * @private 26 | */ 27 | public class AllTests extends TestSuite 28 | { 29 | public function AllTests() 30 | { 31 | addTest(new net.theyard.AllTests()); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /selftest/test/src/net/theyard/AllTests.as: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package net.theyard 20 | { 21 | import asunit.framework.TestSuite; 22 | import net.theyard.components.AllTests; 23 | 24 | /** 25 | * @private 26 | */ 27 | public class AllTests extends TestSuite 28 | { 29 | public function AllTests() 30 | { 31 | addTest(new net.theyard.components.AllTests()); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /selftest/test/src/net/theyard/components/AllTests.as: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package net.theyard.components 20 | { 21 | import asunit.framework.TestSuite; 22 | import net.theyard.components.test.AllTests; 23 | import net.theyard.components.netconnectionsm.AllTests; 24 | import net.theyard.components.netstreamsm.AllTests; 25 | 26 | /** 27 | * @private 28 | */ 29 | public class AllTests extends TestSuite 30 | { 31 | public function AllTests() 32 | { 33 | addTest(new net.theyard.components.test.AllTests()); 34 | addTest(new net.theyard.components.netconnectionsm.AllTests()); 35 | addTest(new net.theyard.components.netstreamsm.AllTests()); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /selftest/test/src/net/theyard/components/netconnectionsm/AllTests.as: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package net.theyard.components.netconnectionsm 20 | { 21 | import asunit.framework.TestSuite; 22 | import net.theyard.components.netconnectionsm.NetConnectionStateMachineTest; 23 | 24 | /** 25 | * @private 26 | */ 27 | public class AllTests extends TestSuite 28 | { 29 | public function AllTests() 30 | { 31 | addTest(new net.theyard.components.netconnectionsm.NetConnectionStateMachineTest()); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /selftest/test/src/net/theyard/components/test/AllTests.as: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package net.theyard.components.test 20 | { 21 | import asunit.framework.TestSuite; 22 | 23 | /** 24 | * @private 25 | */ 26 | public class AllTests extends TestSuite 27 | { 28 | public function AllTests() 29 | { 30 | addTest(new YardTestCaseTest()); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /selftest/test/src/net/theyard/components/test/DefaultFixtures.as: -------------------------------------------------------------------------------- 1 | /* 2 | * The Yard Utilties - http://www.theyard.net/ 3 | * 4 | * Copyright (c) 2008 by Vlideshow, Inc.. All Rights Resrved. 5 | * 6 | * This library is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free Software 8 | * Foundation; either version 2.1 of the License, or (at your option) any later 9 | * version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License along 16 | * with this library; if not, write to the Free Software Foundation, Inc., 17 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | package net.theyard.components.test 20 | { 21 | /** 22 | * This class contains some fixture values that other components 23 | * tests may find useful to use. 24 | */ 25 | public class DefaultFixtures 26 | { 27 | /** 28 | * The URI for the default RTMP application that tests attempt to connect to. 29 | */ 30 | public static const RUNNING_SERVER_URI :String ="rtmp://localhost/selftest"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /selftest/test/src/org/AllTests.as: -------------------------------------------------------------------------------- 1 | package org 2 | { 3 | import asunit.framework.TestSuite; 4 | import org.red5.AllTests; 5 | 6 | /** 7 | * @private 8 | */ 9 | public class AllTests extends TestSuite 10 | { 11 | public function AllTests() 12 | { 13 | addTest(new org.red5.AllTests()); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /selftest/test/src/org/red5/AllTests.as: -------------------------------------------------------------------------------- 1 | package org.red5 2 | { 3 | import asunit.framework.TestSuite; 4 | import org.red5.server.AllTests; 5 | 6 | /** 7 | * @private 8 | */ 9 | public class AllTests extends TestSuite 10 | { 11 | public function AllTests() 12 | { 13 | addTest(new org.red5.server.AllTests()); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /selftest/test/src/org/red5/server/AllTests.as: -------------------------------------------------------------------------------- 1 | package org.red5.server 2 | { 3 | import asunit.framework.TestSuite; 4 | import org.red5.server.io.AllTests; 5 | 6 | /** 7 | * @private 8 | */ 9 | public class AllTests extends TestSuite 10 | { 11 | public function AllTests() 12 | { 13 | addTest(new org.red5.server.io.AllTests()); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /selftest/test/src/org/red5/server/io/AllTests.as: -------------------------------------------------------------------------------- 1 | package org.red5.server.io 2 | { 3 | import asunit.framework.TestSuite; 4 | import org.red5.server.io.EchoStringTest; 5 | import org.red5.server.io.EchoStringTest; 6 | 7 | /** 8 | * @private 9 | */ 10 | 11 | public class AllTests extends TestSuite 12 | { 13 | public function AllTests() 14 | { 15 | addTest(new org.red5.server.io.EchoStringTest()); 16 | addTest(new org.red5.server.io.EchoArrayTest()); 17 | addTest(new org.red5.server.io.EchoXMLTest()); 18 | addTest(new org.red5.server.io.EchoObjectTest()); 19 | addTest(new org.red5.server.io.EchoExternalizableObjectTest()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /selftest/test/src/org/red5/server/io/CustomObject.as: -------------------------------------------------------------------------------- 1 | package org.red5.server.io 2 | { 3 | /** 4 | * This object is used by the custom object test to test marshalling 5 | * an object across the flash boundary, and making sure we get it back. 6 | */ 7 | public class CustomObject 8 | { 9 | public var mNumber: Number = 123; 10 | 11 | public var mString: String = "yo ducky"; 12 | 13 | public var mSelf:CustomObject = null; 14 | 15 | public function CustomObject(obj:Object=null) 16 | { 17 | // A reference to ourselves to make sure a server 18 | // doesn't choke on cyclic references. 19 | mSelf = this; 20 | 21 | if (obj != null) 22 | { 23 | mNumber = obj.mNumber; 24 | mString = obj.mString; 25 | } 26 | } 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /simpleBroadcaster.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/simpleBroadcaster.fla -------------------------------------------------------------------------------- /simpleRecorder.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/simpleRecorder.fla -------------------------------------------------------------------------------- /simpleSubscriber.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/simpleSubscriber.fla -------------------------------------------------------------------------------- /videoConference.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/videoConference.fla -------------------------------------------------------------------------------- /videoConference_Flash7.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red5/red5-flash/03bf8452a4932c054a1530f527b64068b49b3256/videoConference_Flash7.fla --------------------------------------------------------------------------------