Start/stop/restart live stream - do stream files need to be removed first?

When streaming a live event if something happens and we need to stop our encoder and then restart it again.
Do we need to delete the stream files created in the 'application/event/' directory and also delete the f4f stream,bootstrap, etc... files too?
If we don't delete the stream files before restarting the live stream. It will only play about 10 seconds of the stream then just hang buffering.
What is causing this?
My application log shows no access when I restarted the stream.
2013-09-04
09:02:21
3960
(s)2641173
onPublish : cfhsstream4
2013-09-04
09:02:21
3960
(s)2641173
Stream name is: cfhsstream4 and live event is: cfhs
2013-09-04
09:02:21
3960
(i)2611173
Event level recording configuration: General[flags: 3, keyframe interval: 60000, max size: -1, max length: -1, io buffer size: 0], Fragment[frag duration: 4000, seg duration: 0, duration precision: 0, allowed drift: 1000, frame rate: 0.000000, frames per interval: 0, intervals per frag: 1, frame precision: 1, disk management duration: 0.000000], ContentProtection[enabled=false(overridable)]
2013-09-04
09:02:21
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Publish.Start
2013-09-04
09:02:21
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Play.Reset
2013-09-04
09:02:21
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Data.Start
2013-09-04
09:02:22
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.Start
2013-09-04
09:02:23
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.NoAccess
2013-09-04
09:02:23
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.Stop
2013-09-04
09:02:23
3960
(s)2641173
f4f:cfhsstream4 - NetStream.Record.NoAccess
Thanks,
Dave

I have a similar issue like Mr Dave explained. If need to stop, start, stop and restart again, the encoder is sending, but in player not shows nothing. Then we need to stop and disconnect in encoder, and remove the stream file in /event and the cache files in livestream folder for after then restart the streaming. Only after this action, the streaming works fine and the streaming shows again in player.
Have other way to solve this issue without need all that actions? Note that I use the Adobe FME to live streaming and encoding in HDS http streaming
I hope for a help
Thanks
Pedro
Message was edited by: asaweb2013

Similar Messages

  • Is root required to start/stop/restart mysql?

    I'm trying to have all users in the mysql be able to start/stop/restart mysql. I'm currently getting permission denied for the /var/lib/mysql folder even though I'm logged in as a user that is a member of the mysql group (and mysql is the owner of the directory)
    Is what I am trying to achieve possible?
    I'm not sure if this is related but I am also unable to start mysql from rc.d on bootup, but once I am logged in I can use the root user to start it up.
    Thank you!

    /etc/rc.d/mysqld wrote:/usr/bin/mysqld_safe --user=mysql &>/dev/null &
    Doesn't mysqld get started as mysql user by default?
    Did you modify any of mysql's configuration files while trying to do this? I imagine that would cause troubles for you.
    Post anything else you think is relevant, too.

  • AS10g EM start/stop/restart components fails

    In a new install of the AS10g on Win 2000. After I login to the EM - I am unable to control (start/stop/restart) components such as HTTP_Server, OC4J_Security, OID. The componets are up but I can't control them. When I select a component to control I am asked to confirm (I select yes) and then I get an error msg "No components were selected". Any help on this would be appreciated. - Thanks

    OC4J_OC4J_Portal log
    05/10/17 21:09:52 Start process
    05/10/17 20:12:16 Auto-starting uddirepl...
    05/10/17 20:12:17 Error starting HTTP-Server: Address already in use
    05/10/17 20:12:17 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    05/10/17 21:12:20 Start process
    05/10/17 20:13:51 Auto-starting uddirepl...
    05/10/17 20:13:54 Warning: Error reading transaction-log file (/opt/oracle/product/10.1.2.0.2/OraAS/j2ee/OC4J_Portal/persistence/OC4J_Portal_default_island_1/transaction.state) for recovery: premature end of file
    05/10/17 20:13:54 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    05/10/17 20:13:54 Recovery completed, 0 connections committed and 0 rolled back...
    05/10/17 21:34:19 Stop process
    Error: Unexpected error during lookup : Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for default (admin)
    ------

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • Separate Start/Stop times for a single song file

    I am trying to create some playlists for different moods e.g. calm, happy, upbeat etc.
    Now, my problem is this. I have some songs that have more than one mood within them, and I would like to set different start/stop times for the one song file.
    I would like to be able to set different start/stop times in each playlist and not affect the start/stop times for the file in the music library.
    Thanks in advance to anyone who can help!

    The only way to do this is to make a duplicate copy of the song for your playlist and adjust the times for the duplicate.

  • Some files need to be updated first .Specify --force to overwrite remote files. while vlt command co

    Hi
    apps\collab\commons\components\components\.content.xml:
    Some files need to be updated first .Specify --force to overwrite remote files. while vlt command co
    What has to be done?

    have you tried vlt up --force ? Make sure that you are using latest version of vault tool. Also let us know sequence of command you are using ?
    http://dev.day.com/docs/en/crx/current/how_to/how_to_use_the_vlttool.html
    Yogesh

  • I have windows vista and bonjour file needs to be removed to update itunes version to 10.5.2

    I have windows vista and a bonjour file needs to be removed to update itunes 10.5.2.

    What's the precise text of the message please, neal?

  • Start, stop, restart WebLogic with WLST

    Hi,
    does Oracle have any example WLST scipts to start/restart WebLogic server? Please point me to them, 'cos I haven't found any.
    Thanks in advance.

    Hi,
    http://download.oracle.com/docs/cd/E13222_01/wls/docs90/config_scripting/manage_servers.html#start_managed_server
    You can record all that you doing in admin console and automatically you will get .py script for that operations.
    Regards

  • How to Start/Stop from Server Manager

    Hello,
    I am trying to figure out how to start/stop/restart my coldfusion servers from server manager.  I have seen the instruction at this link:
    http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSfd7453be0f56bba4-2a6b48f122a6582c7f-7ff e.html
    However it mentions "place the jrunappstartup.war file under the directory <CF_Home>/runtime/servers/admin"
    I do not know where to get this file from.  Please help!
    I am running ColdFusion standalone.
    Any help is much appreciated,
    Thanks,
    David

    An update to eariler posting. Configure CF9 Enterprise multiserver.
    Likewise unable to find jrunappstartup.war file mentioned.
    If I follow the instructions and try configure the SM Start Stop Details the Start Stop Restart
    does not become an highlighted option.
    Here are a couple screen cuts for interested readers-
    Start Stop Details (are these correct Jrun items to fill in?):
    Unable to restart from SM:
    Regards, Carl.

  • Starting/Stopping Application Server Forms and Reports

    Hello,
    Are there any scripts (like dbstart and dbshut for Oracle DB) for starting and stopping "Application Server Forms and Reports". If not, any special suggestions?
    I must automatically start this application on Unix. I know that during starting some steps must be performedy by the root user (export DISPLAY env variable and issue the "xhost +" command) and later the oracle user must do some things( export ORACLE_HOME and DISPLAY and issue the "opmnctl startall" command). Does anybody have scripts like that?
    Regards,
    Tim

    If you're on 10.1.2, there is a script (requires an X Windows session). It's called runstartupconsole.sh, but you've got to update the install type to Portal in the ias.properties file if I remember right. It looks cool, but a shell script works better.
    Here is a shell script that does some of those things. You still need to run xhost+ after running a display if you're using something that requires a DISPLAY to start. Someone may have a better one, but this one works.
    We actually use one that starts all the different components individually except for Reports in rc scripts. That is the only thing we have that needs a Display set to start. So then xhost + is run & at the same time, the Unix sysadmin runs a script that start Reports from opmn.
    I hope this is useful.
    Cordially,
    Steve
    #!/bin/sh
    # =======================
    # Collect Global Variables
    # =======================
    # Collect server specific install location
    export ORACLE_BASE=/u01/app/oracle
    export MIDDLE_TIER_ORACLE_HOME=$ORACLE_BASE/product/ias/101202_EE/mt_maxportal_02
    export INFRASTRUCTURE_ORACLE_HOME=$ORACLE_BASE/product/ias/101202_EE/if_maxportal_02
    export SID=orcl
    # Collect current PATH and LD_LIBRARY_PATH for reuse
    export OLD_PATH=$PATH
    export OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
    # Unset variables that can cause problems starting or stopping
    unset CLASSPATH
    case "$1" in
    start)
    # =======================
    # Start Infrastructure
    # =======================
    # Set environment to start infrastructure components
    export ORACLE_SID=$SID
    export ORACLE_HOME=$INFRASTRUCTURE_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Start Infrastructure Database Listener
    echo -n "Starting Infrastructure Database Listener: "
    $ORACLE_HOME/bin/lsnrctl start
    echo "OK"
    # Start Infrastructure Database
    echo -n "Starting Infrastructure Database: "
    $ORACLE_HOME/bin/dbstart
    echo "OK"
    # Start Infrastructure OPMN managed components
    echo -n "Starting Infrastructure OPMN Managed Components: "
    $ORACLE_HOME/opmn/bin/opmnctl startall
    echo "OK"
    # =======================
    # Start Middle Tier
    # =======================
    # Change environment for middle tier
    unset ORACLE_SID
    export ORACLE_HOME=$MIDDLE_TIER_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Start Middle Tier OPMN managed components
    echo -n "Starting Middle Tier OPMN Managed Components: "
    $ORACLE_HOME/opmn/bin/opmnctl startall
    echo "OK"
    # Start Application Server Control
    echo -n "Starting Application Server Control: "
    $ORACLE_HOME/bin/emctl startifdown iasconsole
    echo "OK"
    stop)
    # =======================
    # Stop Middle Tier
    # =======================
    # Set environment for middle tier
    unset ORACLE_SID
    export ORACLE_HOME=$MIDDLE_TIER_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Stop Application Server Control
    echo -n "Stopping Application Server Control: "
    $ORACLE_HOME/bin/emctl stop iasconsole
    echo "OK"
    # Stop Middle Tier OPMN managed components
    echo -n "Stopping Middle Tier OPMN managed components: "
    $ORACLE_HOME/opmn/bin/opmnctl stopall
    echo "OK"
    # =======================
    # Stop Infrastructure
    # =======================
    # Set environment to start infrastructure components
    export ORACLE_SID=$SID
    export ORACLE_HOME=$INFRASTRUCTURE_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Stop Infrastructure OPMN managed components
    echo -n "Stopping Infrastructure OPMN managed components: "
    $ORACLE_HOME/opmn/bin/opmnctl stopall
    echo "OK"
    # Stop Infrastructure Database
    echo -n "Stopping Infrastructure Database: "
    $ORACLE_HOME/bin/dbshut
    echo "OK"
    # Stop Infrastructure Database Listener
    echo -n "Stopping Infrastrucutre Database Listener: "
    $ORACLE_HOME/bin/lsnrctl stop
    echo "OK"
    reload|restart)
         $0 stop
    $0 start
    echo "Usage: `basename $0` start|stop|restart|reload"
    exit 1
    esac
    exit 0

  • Windows Server 2008 - Group policy for domain client to start/stop services installed on it

    Hello Experts
    I am a newbie to windows server administration , though did a Google  , but ended up with these question with my requirements
    I have created a new domain and 2 client/computer (A & B namely) to domain . Now A & B has tomcat server running with port 8080 , 9090 which i have installed
    domain ADMIN account .
    && now i am want to start/stop/restart services enabled for domain users  !! How do i achieve this !!
    basic question : How can i access A & B tomcat services on DOMAIN CONTROLLER server to create a GPO and that are on (A & B)
    what is the easiest way to achieve the same , (if not using GPO)???
    similarly I am looking for many features : where I want to control the permission to user on (A & B ) like : If the binaries of tomcat is available on machine say : A , if the user can install (now
    it ask for ADMIN credentials) 
    Thanks
    Mike~Ed

    Controlling services with Group Policy is done under Computer Configuration\Policies\Windows Settings\Security Settings\System Services.
    The limitation is that system services can only see the services the computer running the Group Policy management console. To access other services, you will either need to create the services on your computer (install the software the adds the service)
    or install the remote server administration toolkit (RSAT) on the computer with the service already on it.
    If my answer helped you, check out my blog:
    Deploy Happiness

  • Service start stop scripts and Nagios scripts

    Hello. Are there some "official" service start stop scripts somewhere? And: Has somebody already written a Nagios monitoring script for Oracle NoSQL? Thanks, Jesus.

    Hi. Yes, but I mean something like service kvclient start / stop / restart / status, and using e.g. daemon without nohup. Of course one can be written, e.g. I have a simple one based on a script I found in internet long time ago for Cassandra, but then by Murphy's Law you will probably have an "official" one in the .124 version : - ).

  • Manually start/stop cmsdk Agents

    Hi gurus,
    is there a way to start/stop those cmsdk's Agents without the need of Enterprise manager > node configuration ?
    My node configuration page in EM does not submit to the action correctly when i select a Agent and click on EDIT. It just goes up to the top of the page and do not
    show the EM's Edit Agent Configuration Page.
    Thanks in advance.

    Just a thought, but have you got JavaScript enabled?
    as far as I know, you can't start and stop agents without the Enterprise Manager.
    However, why are you clicking on 'Edit' when there are start / stop etc buttons at the top? Are you looking at the right page?

  • HDR-CX405 How to stop dual recording, only mp4 file needed.

    Hello Sony, Yesterday i purchased HDR-CX405. My question is, how to stop dual recording? Only mp4 file needed. Both file created on memory card while shooing video scene - AVCHD and mp4. I don't want AVCHD (too big file), just want mp4 file only.

    Hi mkpi49,
    Welcome to the Sony Community!
    I would just like to confirm the answer VideoGeek posted. The camera can only record in Mp4 when it's set to Dual Rec. Both an AVCHD and Mp4 file will be created and written on your card. We would also suggest recording in AVCHD and later converting the file to Mp4 using the PlayMemories Home software. 
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    If my post answers your question, please mark it as "Accept as Solution". Thanks_Mitch

  • Live streaming from mp4 file

    Hello everybody,
    I know that's a noob question (as I am) but i can't make it run.
    I have an mp4 file and the folders structure is....
    Application/test/sources/_definst_
    in _definst_ source.mp4
    in test folder main.asc file
    main.asc file contains
    var mystream;
    var intervalID;
    application.onAppStart = function(){
    mystream = Stream.get("mylive");
    intervalID = setInterval(startPublish,100); / checking every 100 ms if we can start publish
    function startPublish(){
    if(checkTime() == true){
    clearInterval(intervalID ); //clearing the interval so that startPublish won't be called again
    myStream.play("mp4:sample.mp4",0,-1,true) //starting the live publish of recorded file sample.mp4
    function checkTime(){
    myDate = new Date();
    if(myDate.getHours() == 21) // This means its 2 PM
    return true;
    else
    return false;
    All this stuff doesn't work. When I go to the admin panel and select test under new instance the stream appears on the left side but if press enter on _definst_ it disappears from the column.
    What's wrong?
    Is possible with this code run that video on ios devices?
    Thank you very much

    Hi,
    By default the FMS looks for the media under <application>/streams/_definst_/ and not sources/_definst_/. In case you want to specify the media location then copy the Application.xml from the vod sample application and edit the Streams tag. For eg :
    <StreamManager>
                        <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   --> 
           <Streams>/;<root_install>/applications/vod/sources/_definst_/</Streams>    
                        </VirtualDirectory>
    </StreamManager>
    This should solve your problem. The main.asc is fine.
    Hope this helps.
    Thanks,
    Apurva

Maybe you are looking for

  • A Sysprep question on SID changes

    Hello, I have an issue with Sysprep and the Generalize option in WIN 7. According to all M/S conventional wisdom I need to run this pass to remove COMPUTER NAME and SID's on a machine that I am going to deploy to the field multiple times.  I have cre

  • XML mapping, PDF output

    Hi! I am working with the latest JDeveloper release. Does JDeveloper have a tool to create custom layouts from xml data and print(output) the results as a pdf file?

  • Updated Statement of Direction now available...

    Hello, Please read the updated SOD for new information on Oracle Workflow including Oracle Workflow for Java(OW4J) posted on the workflow web site. http://www.oracle.com/technology/products/ias/workflow/index.html Cheers, Raja

  • Complex xls spreadsheets dont open correcly?

    im using a xls spreadsheet made for excel and it is not opening correctly in numbers. There are functions that doesnt work for some reason. the most important thing is that it doesnt sum up the numbers.. anywhere. The sheet goes for an entire year so

  • OO Graphic Engine, how to add Rotation?

    I'm trying to program a simple GameEngine, so far I've created a gameloop (doing stuff, render stuff and wait) Now I want to add to the rendering process a way to rotate every single object with a different angle my object would looke like this: publ