-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
5,363 additions
and
5,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,33 @@ | ||
/* | ||
* RED5 Open Source Flash Server - https://github.com/Red5/ | ||
* | ||
* Copyright 2006-2015 by respective authors (see below). All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.red5.client; | ||
|
||
/** | ||
* Publish modes according Adobe ActionScript 3 documentation | ||
* | ||
* Quoting http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#publish%28%29 If you pass "record", | ||
* the server publishes and records live data, saving the recorded data to a new file with a name matching the value passed to the name | ||
* parameter. If the file exists, it is overwritten. If you pass "append", the server publishes and records live data, appending the | ||
* recorded data to a file with a name that matches the value passed to the name parameter. If no file matching the name parameter is found, | ||
* it is created. If you pass "appendWithGap", additional information about time coordination is passed to help the server determine the | ||
* correct transition point when dynamic streaming. If you omit this parameter or pass "live", the server publishes live data without | ||
* recording it. If a file with a name that matches the value passed to the name parameter exists, it is deleted. | ||
* | ||
* @author Stoian Ivanov (s.ivanov_at_teracomm.bg) | ||
* | ||
*/ | ||
public final class PublishModes { | ||
|
||
public static final String LIVE = "live"; | ||
|
||
public static final String RECORD = "record"; | ||
|
||
public static final String APPEND = "append"; | ||
|
||
public static final String APPENDWITHGAP = "appendWithGap"; | ||
|
||
/* | ||
* RED5 Open Source Flash Server - https://github.com/Red5/ Copyright 2006-2015 by respective authors (see below). All rights reserved. Licensed under the Apache License, Version | ||
* 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless | ||
* required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
* either express or implied. See the License for the specific language governing permissions and limitations under the License. | ||
*/ | ||
package org.red5.client; | ||
|
||
/** | ||
* Publish modes according Adobe ActionScript 3 documentation | ||
* | ||
* Quoting http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#publish%28%29 If you pass "record", | ||
* the server publishes and records live data, saving the recorded data to a new file with a name matching the value passed to the name | ||
* parameter. If the file exists, it is overwritten. If you pass "append", the server publishes and records live data, appending the | ||
* recorded data to a file with a name that matches the value passed to the name parameter. If no file matching the name parameter is found, | ||
* it is created. If you pass "appendWithGap", additional information about time coordination is passed to help the server determine the | ||
* correct transition point when dynamic streaming. If you omit this parameter or pass "live", the server publishes live data without | ||
* recording it. If a file with a name that matches the value passed to the name parameter exists, it is deleted. | ||
* | ||
* @author Stoian Ivanov (s.ivanov_at_teracomm.bg) | ||
* | ||
*/ | ||
public final class PublishModes { | ||
|
||
public static final String LIVE = "live"; | ||
|
||
public static final String RECORD = "record"; | ||
|
||
public static final String APPEND = "append"; | ||
|
||
public static final String APPENDWITHGAP = "appendWithGap"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,39 @@ | ||
/* | ||
* RED5 Open Source Flash Server - https://github.com/Red5/ | ||
* | ||
* Copyright 2006-2015 by respective authors (see below). All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.red5.client; | ||
|
||
/** | ||
* Utility class for accessing Red5 "client" objects. | ||
* | ||
* @author The Red5 Project | ||
* @author Paul Gregoire ([email protected]) | ||
*/ | ||
public final class Red5Client { | ||
|
||
/** | ||
* Current server version with revision | ||
*/ | ||
public static final String VERSION = "Red5 Client 1.0.9"; | ||
|
||
/** | ||
* Create a new Red5Client object using the connection local to the current thread A bit of magic that lets you access the red5 scope | ||
* from anywhere | ||
*/ | ||
public Red5Client() { | ||
} | ||
|
||
/** | ||
* Returns the current version with revision number | ||
* | ||
* @return String version | ||
*/ | ||
public static String getVersion() { | ||
return VERSION; | ||
} | ||
|
||
} | ||
/* | ||
* RED5 Open Source Flash Server - https://github.com/Red5/ Copyright 2006-2015 by respective authors (see below). All rights reserved. Licensed under the Apache License, Version | ||
* 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless | ||
* required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
* either express or implied. See the License for the specific language governing permissions and limitations under the License. | ||
*/ | ||
|
||
package org.red5.client; | ||
|
||
/** | ||
* Utility class for accessing Red5 "client" objects. | ||
* | ||
* @author The Red5 Project | ||
* @author Paul Gregoire ([email protected]) | ||
*/ | ||
public final class Red5Client { | ||
|
||
/** | ||
* Current server version with revision | ||
*/ | ||
public static final String VERSION = "Red5 Client 1.0.9"; | ||
|
||
/** | ||
* Create a new Red5Client object using the connection local to the current thread A bit of magic that lets you access the red5 scope | ||
* from anywhere | ||
*/ | ||
public Red5Client() { | ||
} | ||
|
||
/** | ||
* Returns the current version with revision number | ||
* | ||
* @return String version | ||
*/ | ||
public static String getVersion() { | ||
return VERSION; | ||
} | ||
|
||
} |
Oops, something went wrong.