Stream Exception Question

Hi all.
Question: When there is an exception operating on a stream, does the stream automatically get closed, not allowing any operations to be performed on the stream in any catch blocks?
If so, how does one "refresh" the stream to try again?
thanx

It depends on the actual signal the stream received. For example, a reset is generally recoverable. Other errors are not. The easiest thing to do is always ensure the stream is closed in a 'finally' clause.
- Saish

Similar Messages

  • Live Streaming Basic Question

    I am using the AWS version of the flash media server and attempting to stream content however, I am getting stuck. Following the instructions at http://help.adobe.com/en_US/flashmediaserver/amazonec2/WS6fc2df2b6d2ce24359910e2812c396a83 eb-7ff8.2.html, it says "4. Go to the Flash Media Playback Setup page at http://www.osmf.org/configurator/fmp/ and do the following:"  That link is broken. Can you advise where the updated link is?
    Thanks,
    Matt

    The answer was to go back to Wowza.  Adobe dropped the ball.
    RT
    ashish gupta. <mailto:[email protected]>
    December 15, 2014 at 3:44 AM
    >
          Live Streaming Basic Question
    created by ashish gupta.
    <https://forums.adobe.com/people/ashish+gupta.> in /Adobe Media
    Server/ - View the full discussion
    <https://forums.adobe.com/message/7015154#7015154>

  • Flash live streaming encoder question

    Does flash8 pro encode STREAMING video as VP6 or Sorenson?
    Non live streaming is VP6, but there seems to be no
    conclusive answer as to whether live streaming uses the same
    encoder.
    I guess not, otherwise something like on2 flix live would
    have no reason to exist if you already own flash pro...

    The answer was to go back to Wowza.  Adobe dropped the ball.
    RT
    ashish gupta. <mailto:[email protected]>
    December 15, 2014 at 3:44 AM
    >
          Live Streaming Basic Question
    created by ashish gupta.
    <https://forums.adobe.com/people/ashish+gupta.> in /Adobe Media
    Server/ - View the full discussion
    <https://forums.adobe.com/message/7015154#7015154>

  • Photo stream account questions

    good day all!
    hoping to get some advice as i searched the web and cant find it.
    both questions pertain to photo stream
    1. if i am using a 'shared photo stream' is there a setting that will allow me to automatically upload every photo i take on my iphone 4s to the shared photo stream. if such what is the method.
    2. is it possible to have more than one photo stream account on the same computer. i know i downloaded icloud on my computer but it didnt tell me if it was possible to have more than one photo stream account. i noticed i could sign out of icloud and assume sign in with a different account but how would it seperate both and what would happen to the first photo stream account when i logged off the computer.
    thanks for answering!
    matt

    but my old mobile me settings
    Make sure you are using the correct Apple ID user name and password.
    On your MBAir, open System Preferences > iCloud. Deselect the box next to Photo Stream then reselect the box then restart your Mac.
    On your iOS devices tap Settings > iCloud. Switch Photo Stream off then back on, then reset.
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    Support artilce >  iCloud: Photo Stream Troubleshooting

  • Apple TV Streaming Video Question?

    I don't know where to post this question but seeing ITunes is part of this query I will try here. I have a combination wired/wireless home network. Two laptops, one a IBook G4, and a Dell desktop. The Laptops are wireless while the desktop is wired. I have a Linksys wired/wireless router for this configuration. I have a passing interest in the Apple TV but I have everything related to ITunes on the desktop as that is my primary computer. My wife and daughter use the laptops. None of the computers are configured to communicate with each other. They just have access to the internet via the router and cable modem. My question is this...If I want to stream from the desktop to the Apple TV how would I do it? Is the fact the the router can do wireless enough and it would automatically sync to the Apple TV or do I have to modify my network for sharing? I question whether the two units will see each other without some changes in my network. If so, how do I do that? I thought about getting a USB wireless adapter for the desktop but I don't want to have to keep disconnecting the Ethernet cable every time I go wireless just to stream the video. I also hate to buy an adapter in addition to the Apple TV. Just an added cost. Any thoughts on this.
    IBook G4   Mac OS X (10.4.3)  

    Never mind. I re-posted in the new Apple TV forum.

  • Setup of a standby and a streams - architectural question

    Hi,
    I am thinking about a standby (prodstdby) for my Production (prod) database.
    For another part of the company we need to setup streams (HIS), this will copy only a part of the database ( some sort of archiving) to a database called HIS. During the years, HIS will become larger and larger, PROD remains only current data.
    I am thinking to do this with Physical standby for PRODSTDB
    and streams for HIS.
    Or.. and this is my question: could this be easily done with Real Application Cluster?
    We are in 10GR2.
    HIS <----- STREAMS---- PROD
        x                                       x
        x                                       x
        x                                       x
    Standby                          Standby
        x                                       x
        x                                       x
    HISSTDBY                          PRODSTDBY
    Regards
    Edited by: S11 on Nov 17, 2010 9:22 AM
    Edited by: S11 on Nov 17, 2010 9:23 AM
    Edited by: S11 on Nov 17, 2010 9:25 AM

    Hi,
    - easier to install --> no as it'll be something to install more then just a normal database without RAC so if you don't know enough of it it'll be a charge more to install it and use (maintain) it. (But it can be usefull :-) )
    - easier for maintenance --> not especially
    - last but not least: more automated --> not more automated but autamoted as well as with no RAC.
    - and less risk in case of failure --> less risk in case of failure is definitely true for the primary under RAC of course, it's the point of it !
    RAC will just make you gain protection in case of failure in the primary side prod or hist or both. If a node fails then the other(s) take the hand. With or without delay for the apply is nearly the same as logs are shipped.
    Greetings,
    Loïc

  • Try-catch & throw Exception Question

    Method evenNumber can throw IOException, and the caller of method
    evenNumber (in this case, method evenNumberTest and method evenNumberTest2)
    should catch the IOException. Otherwise, it will have compile
    error as the one in method evenNumberTest2.
    My question is when I run the program, it will have output "catch evenNumberTest",
    but it doesn't output "throw testNumber" Why is that?
    I thought ""throw new IOException("throw testNumber");"" will print
    "throw testNumber" when it throws the IOException.
    So in what situation "throw testNumber" will print it out??
    Please advise. Thanks!!
    =======================================================
    import java.io.*;
    public class ExceptionTest
    private void evenNumberTest()
    {     try
         { evenNumber(2);
         catch(IOException e)
         { System.out.println("catch evenNumberTest");
    ExceptionTest.java:14: unreported exception java.io.IOException; must be caught
    or declared to be thrown
    {   evenNumber(2);
    ^
         private void evenNumberTest2()
    {     evenNumber(2);
    private void evenNumber(int x) throws IOException {
         if (x % 2 == 0)
         throw new IOException("throw testNumber");
    public static void main(String[] args)
    {     ExceptionTest e = new ExceptionTest();
         e.evenNumberTest();

    Exception messages aren't printed out when the
    Exceptions are thrown.
    They are only printed if you explicitly print them, or
    if you do not catch them.He is talking about this print statement within the catch block
    catch(IOException e)
    { System.out.println("catch evenNumberTest");

  • STREAM module question

    Hi all,
    I am newbe in STREAM module development and this question might be a concept error. If so, please could you give me some clues?
    I would like to use the "libc" funcion "getpwuid()" in a kernel STREAM module.
    I have Solaris 7 64-bit kernel.
    �Can I do it? I have read that for 64-bit kernels, only dynamic libraries are available. Therefore in order ot use libc functions I would have to link dynamically the module relocatable object with the libc library in sparcv9. I have tried to link the kernel STREAM module with libc.so.1 (in /usr/lib/sparcv9) with no success so far. Everytime I trie to load the module it complains with the message: unknown symbol "getpwuid".
    If it is not possible, why? . Is it not possible to use libc functions such us: memcpy() etc..from the kernel context?
    Looking forward to hearing from you.
    Best Regards

    You cannot use user space libraries from within a kernel module. What exactly are you trying to
    do? What do you need password information for
    down in the kernel?
    Maybe ddi_get_cred() will help?
    Some functions like memcopy have kernel space equivalents (bcopy)....
    dan

  • Bird box streaming server question

    Hi all,
    We are a wildlife project and have just bought many bird box cameras from a UK company for our important research project. We want to stream the nest box footage across our intranet and extranet. My question is which CISCO server, managment system should we go for as we are planning to live stream upto 10 nest box cameras? The aim is that the bird box footage will help show all visitors to the website on what happens in nest boxes.If anyone can help, many thanks in advance. Phil J

    Hi Phil,
    Are all these bird boxes/cameras in one area? If yes, you connect the cameras to encoders and the encoders connects to a switch via 10/100/1000 copper. The switch could be a 3560 or a 3750 with 48 ports 10/100/1000 copper and  depending on the model 2 fiber 1Gig or 10Gig uplinks.
    You would need to run Multicast to stream the data from the cameras to a web server.
    HTH
    Reza

  • Streaming video question - is there anything out there?

    Looking for a nice reason to justify Mac OS X Server. Is there a video streaming application with a typically nice Apple layout available in Mac OS X Server? I have a library/training need and would like Apple to fill that need. one of the things is a video library that not only shows that contents of the library, allows checkouts, etc., but also will stream video.
    Or is thing something that would have to be hand built?
    Thanks.

    Two quick points. With the new version of the OSX server OS just days away, I would wait and see what new features it had to offer you.
    Other point is that this question may get a better response if you post it in the quicktime streaming http://discussions.apple.com/forum.jspa?forumID=716 forum.

  • RTP streaming port question

    I want to stream captured audio from a Linux box to a PC. It works when I run JMstudio on both machines. I wrote my own Java program for the server side. It captures and can play back locally. I use a datasink to stream the audio and it seems to set up and run, but I don't receive anything at the PC (using JMstudio). Here is where I set up the datasink:
             try
                String url= "rtp://192.168.1.160:22000/audio/1";
                MediaLocator m = new MediaLocator(url);
                DataSink d = Manager.createDataSink(ds, m);
                System.out.println("data sink created");
                d.open();
                System.out.println("data sink opened");
                d.start();
                System.out.println("Streaming...");
             } catch (Exception e) {
                System.out.println("data sink exception: " + e.getMessage() );
                e.printStackTrace();
                System.exit(-1);
        I've captured the LAN packets. With JMstudio I see the udp data packets go from the server from port 22000 to the client port at 22000. I also see occasional udp packets on 22001 which I assume are status and command. With my code, I only see the status packets and no data packets. The odd thing (to me) is that the server port for the command/status is random each time I run it. The client is always 22001.
    Do I need to force my server data port to 22000? And if so how? If not, any ideas on what's going on? I'm not sure what would help: code listing, log file, and/or LAN activity lists.
    - Steve

    (sheepish look) I forgot to start the DataSink and the Processor; the port thing was not the problem.

  • Quicktime Streaming Server Question

    Hi, I'm not sure where to post this (as I am new to this forum) but I have a question which I hope someone can answer.
    I am writing a web application that adds scheduling capability to the QTSS server at the company I am working for. It works well, except it seems the QTSS needs to be updated with the new playlist file.
    Basically what happens is I tell my app to play a 3gp movie at a certain time, so when that time arrives, it appends it to the playlist file (lets say movies.playlist). When I enter into the QTSS Web admin page's playlist editor, it shows the correct entry, etc. but the server just skips my movies that I've automatically added.
    Does anyone know what I should do to update the QTS Server?
    Thanks

    Sorry but I think I was impatient when I wrote that.
    After monitoring the .upcoming file, I saw the new entries appear after a while.
    You can modify the .playlist file at runtime without updating QTSS. It will read that file automatically after a while.
    It seems to work fine now.
    Thanks

  • ISight/streaming noob question

    I recently downloaded Iris Beta (http://www.mildmanneredindustries.com/iris/) and have a question. This could be Iris-specific, but I'm guessing it's just my basic ignorance.
    I set up the built-in iSight on my MacBook Pro to stream with built-in iChat http streaming over my home network, using server push. The address is my IP and a listen port that I indicated (xxx.xxx.x.xxx:xxxx). It worked fine on a Windows box in Firefox but nothing is coming up at work. Can I only view the stream on my home network? I've set my MacBook Pro to only sleep the display. I've tried other browsers, QuickTime, and VLC, but I'm only getting timeouts. I don't know if this means anything, but I pinged the address and it came back fine.
    Thanks in advance.

    You're welcome, Paul
    In case your problem is really a networking issue, I checked PortForward.com (my usual source of info on the topic of port configuration.) However, with the Iris software you have selected being so new and in beta, I was not surprised that I could not find it there.
    As a test, you might want to try unplugging Airport Express and connecting your Mac to your Linksys router via ethernet cable. WDS range extension can sometime slow data-streams enough that the software, particularly software requiring as much bandwidth as many video apps, will not work because its minimum bandwidth requirement is no longer met. If your system works when you are bypassing the AE, this might the case with Iris and your system.
    I hope you get timely answers from Iris. At this state of development, I really think your help about Iris will need to come from the developer unless another beta tester has cracked the problem. I think you will have a much better chance of finding such a tester at the Iris Support Forum than in Apple Discussions.
    From my quick look, most of the functions other than motion detection and webcam offered by Iris duplicate those of reliable and well-documented Apple software that came with your MacBook Pro.
    I do not know how committed you are to working with the Iris software. If you cannot get Iris working in a reasonable time, and if the functions you need that are not bundled with your Mac are motion detection or webcam, you might want to consider some of the applications that offer webcam, motion detection, or Nanny cam capability from the list at Some Applications You Can Use With iSight as alternatives to Iris, at least until Iris is better developed and supported.
    Perhaps you are enjoying the challenge of beta testing Iris. In that case, kudos to you. The Iris development team will be pleased that you have reported your problem, whether the issue is a real functional problem or merely one of a need for improved documentation.
    Please let us know if you need more info before you can mark this topic "Answered."
    Cheers,
    EZ Jim
    PowerBook 1.67 GHz   Mac OS X (10.4.10)    G5 DP 1.8  External iSight

  • Streams some questions

    We have close to 300 MV table refreshes working without issues.(unidirectional one to one setup (source -> destination) )
    We are testing streams as an alternative for MVs for our setup. I have some questions.
    1. How to resynch a table if the stream did not work ? Is drop and recreate the only option?
    2. If only one queue is used and the streaming process halts for some reason , all the queued up DMLs wait.
    Is setting up multiple queues a workaround on this issue?
    This is a significant disadvantage of streams as compared to MVs.
    3. How to find out and monitor LCR loss?

    +1. How to resynch a table if the stream did not work ? Is drop and recreate the only option?+
    The technique to resync depends a lot on the Presence of FK and the type of replication. For a unidirectional replication, you may :
    a) Cut access to the source object (table lock )
    b) get the source DB current SCN
    c) insert or merge missing rows into target from source
    d) set the table instantiation SCN on target to the SCN gotten at step 'b'
    e) release and check.
    I have presented a shell script helps achieve this, you may test and report. for the moment it works only for tables with PK Synching tables in mission critical 24x7 database in bi-directional streams
    +2.If only one queue is used and the streaming process halts for some reason , all the queued up DMLs wait+
    Streams is journalized, this is better than MV, as it guaranteed no loss of transactions (did you ever lost a snapshot log or got a tbs full with snapshot logs into it?). The drawback is that it will stop if there are missing journal entries. This is expected in any replication system which claims to maintain consistency. If you are not happy with this, then streams is not the tool you need. Having said that you may circumvent this last feature in apply.
    +3.How to find out and monitor LCR loss+
    LCR exists physically in queues and if it happens you lose the queues, unless snapshot logs, as long as you did not lost your data dictionary, then the counters into the data dict will allow streams to recreate lost LCR from the source archived logs and this process is automated. In other word, loss of LCR is not a Streams concern, it is more a feature in MV when you loose the snapshot logs, then you don't know what is lost. Even worse, you will quickly discover that streams never, ever forget anything, even if you truncated table queues, the LCR will be back and sometime (in dev), you will want to skip a bunch of transaction and this is not easy with streams which never let you pass anything.

  • Buffering for streaming except youtube

    Hi guys, i need a help.
    I have a streaming issue, it is keep buffering.
    I have a very good wifi connection with 18mbps download and 0.20mbps upload (speedtest on ipad)
    I got no issue when i streamed on youtube, i can play hd quality without buffer.
    But it is buffering like **** when i streaming on the other websites from my ipad, but when i using desktop computer it was no problem at all on these websites (with same internet connection)
    How can this happen? Is there any solution?
    Im using ios 6.1 ipad mini.
    Really appreciate your reply. Thanks.

    Try closing  all of the apps on your iPad. Reboot the iPad and see if that helps with the Internet videos.
    Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button twice.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that doesn't work, clear Safari and restart the iPad.
    Go to Settings>Safari>Clear History, Cookies and Data. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

Maybe you are looking for

  • How do I find how a particular dameon is getting started?

    This is a new question prompted by discovering a Canon Scanner process that is getting started on my MacPro. To summarize, I have a Canon Pixma MP800R All-In-One printer. Everything has been working fine but today I've gotten 4 kernel panics in a row

  • Function module to create Inbound delivery with reference to Purchase Order

    Hi experts, I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100. If I am showing report for Purchase Order with

  • Little problem with javacard biometric authentication

    Hello, I'm developping fingerprint match on card and i want to use the API from javacardforum.org (http://www.javacardforum.org/Documents/Biometry). So my problems are: 1- where can i found a java api to communicate with my sensor in order to get the

  • How to wake mac every 20 minutes

    Hello I have a simple goal and I think I found a 3rd party solution but it's overkill for my needs. I need the mac to wake from sleep every 20 minutes or so and trigger OpenDNS updater. I can't find anything in google and a Calendar automator script

  • How to run a script A from a button "Button 1" ?

    Hi all, I've got this problem for having a window with several buttons named "Button 1" "Button 2"... and run the script "Script A" if we click on the button 1, the script "Script B" if we click on the button 2 etc... Here is my short script : #targe