Skip to content

Commit

Permalink
Updated for 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mondain committed Sep 4, 2019
1 parent 1e35cf6 commit 71a72ee
Show file tree
Hide file tree
Showing 39 changed files with 5,363 additions and 5,338 deletions.
27 changes: 14 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-client</artifactId>
Expand Down Expand Up @@ -72,15 +72,6 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
Expand All @@ -94,14 +85,24 @@
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
Expand Down
295 changes: 295 additions & 0 deletions red5-eclipse-format.xml

Large diffs are not rendered by default.

75 changes: 32 additions & 43 deletions src/main/java/org/red5/client/PublishModes.java
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";

}
89 changes: 39 additions & 50 deletions src/main/java/org/red5/client/Red5Client.java
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;
}

}
Loading

0 comments on commit 71a72ee

Please sign in to comment.