Here are few constants to help client connecting in more "standart" way
/*
* RED5 Open Source Flash Server - http://code.google.com/p/red5/
*
* Copyright 2006-2012 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
*
* @author Stoian Ivanov (s.ivanov_at_teracomm.bg)
*
* Quoting
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/Net
Stream.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.
*/
public final class PublishModes {
static public String LIVE="live";
static public String RECORD="record";
static public String APPEND="append";
static public String APPENDWITHGAP="appendWithGap";
}
Original issue reported on code.google.com by st.iv....@gmail.com on 7 Aug 2013 at 6:56
Original issue reported on code.google.com by
st.iv....@gmail.com
on 7 Aug 2013 at 6:56