OSMF NetStream firing end event too early

HI,
I originally posted this here: http://forums.adobe.com/message/5067347#5067347 but I got no responses and then remembered an OSMF specific forum where I hoped I might find more help!
I've been digging into a bug report where the ends of adverts are clipped by up to three seconds in Android and, after a _lot_ of painful debugging, I have come to the conclusion that the issue is with the underlying NetStream object.
After a bit of jiggery pokery to locate the NetStream on NetStreamLoadTrait, I was able to listen to the changes to NetStream.time and to compare against the TimeTrait values, also to see what events were happening where and when. After placing this code on an Event.ENTER_FRAME handler, I was able to see clearly that there is _ALMOST_ALWAYS_ a huge jump in the last two frames... This equates to clipping off the last few seconds of the video as the jump tends to occur a couple of seconds prior to the end. Having placed break-points in OSMF code, it appears that the end is "correct" in that it is always in response to a NetStream.Play.Stopped... just that the NetStream.Play.Stopped is firing at the wrong time.
Does anyone have _any_ idea what could be causing this? Is it likely to be with the media being supplied (third-party advertsing video...) or the plugin itself?
Thanks,
G

Hi,
Bumping this one in hopes!
This one is a huge show-stopper as _nobody_ will be happy with the potential for losing the terminal three seconds of their adverts upwards of half the number of times they are played!
Seriously, am I the only one to have noticed this?
G

Similar Messages

  • Chapter Markers End Jump Too Early-Problem

    Folks, I am using DVDSP 4 and my chapter markers keep stopping too early from the burned DVD. When I play the Video_TS folder using Apple DVD player all is well. When I burn it and play it on a standard DVD player, all the chapter markers end jump earlier than they should - cutting off my full credit rolls on my video track.
    All of my chapter markers came from Final Cut Pro where I initially made them.
    Please advise.

    Make sure you test this on more than one player if it is a "for real" project of replication or duplication. All players are not created equal and there are the real weird things that may show up on only one or two players, but you need to make sure. You may want to try the other methods and see if it helps on the problem player just for fun. (Yeah, I know does not sound like much fun, but it is sort of interesting I guess )

  • Mapping an Argument Set to End Event

    Hi,
    I presently have a requirement where we trigger different operations based on the input arguments. We created different argument sets for each of our requirements and exposed all those argument sets as operations on the BPM WSDL using Process Execution option.
    However, we couldn't map our responses for each of our operations in a similar manner. We would like to know if there is an equivalent to creating argument sets in the end event too for mapping our responses.
    Any help in this regard is appreciated.
    Regards,
    Rudraksh

    Hi,
    It seems that SM is not able to execute a workflow that related to ServiceRequest
    try to run the following command to find out the workflow name:
    get-scsmworkflow -id <WorkflowID>
    If the workflow does not exist in the SM console or if you would like to force deleting it then run:
    get-scsmworkflow -id <WorkflowID> | remove-scsmworkflow
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Recording starting too early and also ending too e...

    Another problem.....
    When recording programmes I am frequently finding that the recording is starting way too early...5-10 minutes....and often ends too early (very annoying as one misses the end of a particular programme).
    Any help, gratefully received!
    Thanks

    Recording should start 2 minutes before the scheduled start time and end 5 minutes after the scheduled stop time (by default - you can increase this).
     The box won't automatically cope with programmes which start late. Are the programmes you're having a problem with starting on time?
    Is the time displayed on the box correct?

  • Songs ending too early

    It seems that since the last update to I Tunes some songs are ending too early (30 to 1:30 too ealry).  The get info button does not indicate the songs should end early.  When i download the song again, the problem stops.

    There could be a number of causes. If the iPod only plays a very short part of the file <10 secs this is usually down to problems with the structure of the file that iTunes can cope with but that causes the iPod to bail out. Re-encoding in iTunes will normally help, ie. re-rip or convert from MP3 to AAC or vice versa. Since all transcoding is lossy you should retain your original file as a backup in the hope that future firmware upgrades will fix this issue. iTunes also has a feature to allow you to exclude parts of a song from being played. Use *Get info* on a song in question and look at the Options tab. There are options here to set a start & stop time and to remember the playback position. Setting any of these will affect what gets played each time the track is selected. Finally, if you're playing songs in random order that are part of continous play albums the exact point at which the track stops may not be quite where you expect it to be.
    tt2

  • Remember Reminders are firing too early

    Hello all.
    My remember reminders are firing exactly one hour too early. Calendar reminders and alarm clocks are fine but any reminder for a task created in the remember app is one hour premature. This is very annoying. Has anyone else met this and if so how to resolve?
    I just updated to 10.2.1.2941 and hoped it would help but it hasn't.
    Colm

    Hi,
    Bumping this one in hopes!
    This one is a huge show-stopper as _nobody_ will be happy with the potential for losing the terminal three seconds of their adverts upwards of half the number of times they are played!
    Seriously, am I the only one to have noticed this?
    G

  • Windows TCP Socket Buffer Hitting Plateau Too Early

    Note: This is a repost of a ServerFault Question edited over the course of a few days, originally here: http://serverfault.com/questions/608060/windows-tcp-window-scaling-hitting-plateau-too-early
    Scenario: We have a number of Windows clients regularly uploading large files (FTP/SVN/HTTP PUT/SCP) to Linux servers that are ~100-160ms away. We have 1Gbit/s synchronous bandwidth at the office and the servers are either AWS instances or physically hosted
    in US DCs.
    The initial report was that uploads to a new server instance were much slower than they could be. This bore out in testing and from multiple locations; clients were seeing stable 2-5Mbit/s to the host from their Windows systems.
    I broke out iperf
    -s on a an AWS instance and then from a Windows client in the office:
    iperf
    -c 1.2.3.4
    [ 5] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 55185
    [ 5] 0.0-10.0 sec 6.55 MBytes 5.48 Mbits/sec
    iperf
    -w1M -c 1.2.3.4
    [ 4] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 55239
    [ 4] 0.0-18.3 sec 196 MBytes 89.6 Mbits/sec
    The latter figure can vary significantly on subsequent tests, (Vagaries of AWS) but is usually between 70 and 130Mbit/s which is more than enough for our needs. Wiresharking the session, I can see:
    iperf
    -c Windows SYN - Window 64kb, Scale 1 - Linux SYN, ACK: Window 14kb, Scale: 9 (*512) 
    iperf
    -c -w1M Windows SYN - Windows 64kb, Scale 1 - Linux SYN, ACK: Window 14kb, Scale: 9
    Clearly the link can sustain this high throughput, but I have to explicity set the window size to make any use of it, which most real world applications won't let me do. The TCP handshakes use the same starting points in each case, but the forced one scales
    Conversely, from a Linux client on the same network a straight, iperf
    -c (using the system default 85kb) gives me:
    [ 5] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 33263
    [ 5] 0.0-10.8 sec 142 MBytes 110 Mbits/sec
    Without any forcing, it scales as expected. This can't be something in the intervening hops or our local switches/routers and seems to affect Windows 7 and 8 clients alike. I've read lots of guides on auto-tuning, but these are typically about disabling scaling
    altogether to work around bad terrible home networking kit.
    Can anyone tell me what's happening here and give me a way of fixing it? (Preferably something I can stick in to the registry via GPO.)
    Notes
    The AWS Linux instance in question has the following kernel settings applied in sysctl.conf:
    net.core.rmem_max = 16777216
    net.core.wmem_max = 16777216
    net.core.rmem_default = 1048576
    net.core.wmem_default = 1048576
    net.ipv4.tcp_rmem = 4096 1048576 16777216
    net.ipv4.tcp_wmem = 4096 1048576 16777216
    I've used dd
    if=/dev/zero | nc redirecting to /dev/null at
    the server end to rule out iperfand
    remove any other possible bottlenecks, but the results are much the same. Tests with ncftp(Cygwin,
    Native Windows, Linux) scale in much the same way as the above iperf tests on their respective platforms.
    First fix attempts.
    Enabling CTCP - This makes no difference; window scaling is identical. (If I understand this correctly, this setting increases the rate at which the congestion window is enlarged rather than the maximum size it can reach)
    Enabling TCP timestamps. - No change here either.
    Nagle's algorithm - That makes sense and at least it means I can probably ignore that particular blips in the graph as any indication of the problem.
    pcap files: Zip file available here: https://www.dropbox.com/s/104qdysmk01lnf6/iperf-pcaps-10s-Win%2BLinux-2014-06-30.zip (Anonymised
    with bittwiste, extracts to ~150MB as there's one from each OS client for comparison)
    Second fix attempts.
    I've enabled ctcp and disabled chimney offloading: TCP Global Parameters
    Receive-Side Scaling State : enabled
    Chimney Offload State : disabled
    NetDMA State : enabled
    Direct Cache Acess (DCA) : disabled
    Receive Window Auto-Tuning Level : normal
    Add-On Congestion Control Provider : ctcp
    ECN Capability : disabled
    RFC 1323 Timestamps : enabled
    Initial RTO : 3000
    Non Sack Rtt Resiliency : disabled
    But sadly, no change in the throughput.
    I do have a cause/effect question here, though: The graphs are of the RWIN value set in the server's ACKs to the client. With Windows clients, am I right in thinking that Linux isn't scaling this value beyond that low point because the client's limited CWIN
    prevents even that buffer from being filled? Could there be some other reason that Linux is artificially limiting the RWIN?
    Note: I've tried turning on ECN for the hell of it; but no change, there.
    Third fix attempts.
    No change following disabling heuristics and RWIN autotuning. Have updated the Intel network drivers to the latest (12.10.28.0) with software that exposes functioanlity tweaks viadevice manager tabs. The card is an 82579V Chipset on-board NIC - (I'm going to
    do some more testing from clients with realtek or other vendors)
    Focusing on the NIC for a moment, I've tried the following (Mostly just ruling out unlikely culprits):
    Increase receive buffers to 2k from 256 and transmit buffers to 2k from 512 (Both now at maximum) - No change
    Disabled all IP/TCP/UDP checksum offloading. - No change.
    Disabled Large Send Offload - Nada.
    Turned off IPv6, QoS scheduling - Nowt.
    Further investigation
    Trying to eliminate the Linux server side, I started up a Server 2012R2 instance and repeated the tests using iperf (cygwin
    binary) and NTttcp.
    With iperf,
    I had to explicitly specify -w1m on both sides
    before the connection would scale beyond ~5Mbit/s. (Incidentally, I could be checked and the BDP of ~5Mbits at 91ms latency is almost precisely 64kb. Spot the limit...)
    The ntttcp binaries showed now such limitation. Using ntttcpr
    -m 1,0,1.2.3.5 on the server and ntttcp
    -s -m 1,0,1.2.3.5 -t 10 on the client, I can see much better throughput:
    Copyright Version 5.28
    Network activity progressing...
    Thread Time(s) Throughput(KB/s) Avg B / Compl
    ====== ======= ================ =============
    0 9.990 8155.355 65536.000
    ##### Totals: #####
    Bytes(MEG) realtime(s) Avg Frame Size Throughput(MB/s)
    ================ =========== ============== ================
    79.562500 10.001 1442.556 7.955
    Throughput(Buffers/s) Cycles/Byte Buffers
    ===================== =========== =============
    127.287 308.256 1273.000
    DPCs(count/s) Pkts(num/DPC) Intr(count/s) Pkts(num/intr)
    ============= ============= =============== ==============
    1868.713 0.785 9336.366 0.157
    Packets Sent Packets Received Retransmits Errors Avg. CPU %
    ============ ================ =========== ====== ==========
    57833 14664 0 0 9.476
    8MB/s puts it up at the levels I was getting with explicitly large windows in iperf.
    Oddly, though, 80MB in 1273 buffers = a 64kB buffer again. A further wireshark shows a good, variable RWIN coming back from the server (Scale factor 256) that the client seems to fulfil; so perhaps ntttcp is misreporting the send window.
    Further PCAP files have been provided, here:https://www.dropbox.com/s/dtlvy1vi46x75it/iperf%2Bntttcp%2Bftp-pcaps-2014-07-03.zip
    Two more iperfs,
    both from Windows to the same Linux server as before (1.2.3.4): One with a 128k Socket size and default 64k window (restricts to ~5Mbit/s again) and one with a 1MB send window and default 8kb socket size. (scales higher)
    One ntttcp trace
    from the same Windows client to a Server 2012R2 EC2 instance (1.2.3.5). here, the throughput scales well. Note: NTttcp does something odd on port 6001 before it opens the test connection. Not sure what's happening there.
    One FTP data trace, uploading 20MB of /dev/urandom to
    a near identical linux host (1.2.3.6) using Cygwin ncftp.
    Again the limit is there. The pattern is much the same using Windows Filezilla.
    Changing the iperf buffer
    length does make the expected difference to the time sequence graph (much more vertical sections), but the actual throughput is unchanged.
    So we have a final question through all of this: Where is this limitation creeping in? If we simply have user-space software not written to take advantage of Long Fat Networks, can anything be done in the OS to improve the situation?

    Hi,
    Thanks for posting in Microsoft TechNet forums.
    I will try to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Kate Li
    TechNet Community Support

  • Material Cost Estimate - Release too early

    Hi,
    I ran the cost estimate for one material on 12.06.2008 and i released the cost estimate. Here it is saying 'Cost Estimate released too early'. I thought system is releasing the cost for material for the next month. but i want to update the material cost for this month only.
    And how many days before you have to run the cost estimate for the new month.
    sateesh

    Hi Sateesh,
    Please check the period which you have mentioned in CK24.
    I think the period you have given is of next month. Hence system is giving that message as next month's  period may not have been opened.
    System allows to release cost estimate only once in a period. Normal practice is to carry out cost run at the end of the month.
    Please do let me know if your problem is solved.
    regards,
    makrand

  • CCME 4.0 matches number too early!

    Hello,
    once again I have a problem with my CCME 4.0.
    It happens quite frequently that someone from the outside calls a extension within our organisation. But the CCME bagins matching too early, before all digits are received. One or sometimes even two digits are left out.
    Example:
    Caller dials 12345-234 with 12345 being the main number and 234 being the extension. Now the CCM begins matching at 12345-23 already. The voice rule for incoming calls now cuts all but the last three digits and tries to match that to an extension. But since there is a digit missing, the CCM tries to match "523" instead of "234". And of course the extension "523" does not exist. So the caller gets a "number not assigned".
    This is quite annoying! How can I force the CCME to wait until all digits are received from the telephony service provider?
    Regards,
    Eyad Tayeb.

    The requested debug (of a succesful call):
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960443: <009><009>Component = Invoke component
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960444: <009><009><009>Invoke Id = 22962
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960445: <009><009><009>Operation = Diversion Leg2
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960446: <009>Progress Ind i = 0x8183 - Origination address is non-ISDN
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960447: <009>Calling Party Number i = 0x2181, '3462211214'
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960448: <009><009>Plan:
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960449: ISDN, Type:National
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960450: <009>Called Party Number i = 0xC1, '9209299'
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960451: <009><009>Plan:ISDN, Type:Subscriber(local)
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960452: 533213: Sep 6 15:27:45.121: ISDN BR0/1/1 EVENT: process_rxstate: ces/callid 1/0x192A calltype 2 HOST_INCOMING_CALL
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960453: 533214: Sep 6 15:27:45.121: ISDN BR0/1/1 EVENT: host_incoming_call: call_id 0x192A, Guid = 50AAF3E5965D bchan 0
    10.10.1.251 960462: 533223: Sep 6 15:27:45.125: ISDN BR0/1/1 Q931: extract_redirect_orig_called_ie: IE type redirecting num none reason 15 cnt 1 plan -1 type 0 pres 1
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960463: 533224: Sep 6 15:27:45.125: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960464: Calling Number=3462211214, Called Number=9209299, Voice-Interface=0x46AA9C28,
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960486: 2: Dial-peer Tag=299
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960487: 533232: Sep 6 15:27:45.133: //-1/50AAF3E5965D/DPM/dpMatchPeersCore:
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960489: 533233: Sep 6 15:27:45.133: //-1/50AAF3E5965D/DPM/dpMatchPeersCore:
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960490: Match Rule=DP_MATCH_DEST; Called Number=299
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960491: 533234: Sep 6 15:27:45.133: //-1/50AAF3E5965D/DPM/dpMatchPeersCore:
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960492: Result=Success(0) after DP_MATCH_DEST
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960494: Result=SUCCESS(0)
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960495: List of Matched Outgoing Dial-peer(s):
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960496: 1: Dial-peer Tag=20003
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960497: 2: Dial-peer Tag=299
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960498: 533236: Sep 6 15:27:45.137: ISDN BR0/1/1 Q931: TX -> CALL_PROC pd = 8 callref = 0x81
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960499: <009>Channel ID i = 0x89
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960500: <009><009>Exclusive, B1
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960501: 533237: Sep 6 15:27:45.153: ISDN BR0/1/1 Q931: TX -> ALERTING pd = 8 callref = 0x81
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960502: 533238: Sep 6 15:27:51.825: ISDN BR0/1/1 Q931: TX -> CONNECT pd = 8 callref = 0x81
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960503: <009>Channel ID i = 0x89
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960504: <009><009>Exclusive, B1
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960505: 533239: Sep 6 15:27:51.929: ISDN BR0/1/1 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x01
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960506: 533240: Sep 6 15:27:51.929: ISDN BR0/1/1 EVENT: process_rxstate: ces/callid 1/0x192A calltype 2 HOST_CONNECT
    2006-09-06 13:27:44 UTC Local7.Info 10.10.1.251 960507: 533241: Sep 6 15:27:51.933: %ISDN-6-CONNECT: Interface BRI0/1/1:1 is now connected to 3462211214

  • Folder action kicks in too early

    I have a little applescript that is to add all files that are added to a specific folder to an iTunes playlist.
    I added the script as a folder action to the folder.
    It seems to work fine with single files.
    However, when I copy several files (which takes a few seconds), then the script gets started too early, i.e., when only half of the files have been copied over. Consequently, only some of the files get added to the playlist.
    In addition, when I copy a large number of files, it doesn't seem to work at all.
    Any ideas what's wrong? or what I can do?
    (Is this a bug in Mac OS? I read about an issue in 10.5 where folder actions got started before a single files was finished copying, but I haven't seen of any hints about my problem.)
    Any kind of help will be highly appreciated.
    Best regards,
    Gabriel.
    PS:
    Here is my script, for completeness
    Automatically add the files that are dropped on this applescript to
    playlist named below.
    To adapt it for a different playlist, just change the name below and save as application.
    In addition, you can add this script as a folder action
    Author: Gabriel Zachmann, Feb 2010
    property playListName : "Hoerspiele"
    on open theseFiles
    addTheFiles(theseFiles)
    end open
    on adding folder items to this_folder after receiving added_items
    addTheFiles(added_items)
    end adding folder items to
    to addTheFiles(theFiles)
    tell application id "com.apple.iTunes"
    activate
    set playL to some playlist whose name is playListName
    set playID to persistent ID of playL
    --display dialog ("persistent ID = " & playID) buttons {"OK"} default button 1
    reveal (some playlist whose persistent ID is playID)
    repeat with aFile in theFiles
    try
    add aFile to some playlist whose persistent ID is playID
    end try
    -- set new date, so we know later when we copied the files
    set the file_path to the quoted form of the POSIX path of aFile
    do shell script ("/bin/touch " & file_path)
    end repeat
    end tell
    end addTheFiles
    Message was edited by: GabrielZ

    folder actions have always been buggy and this has always been an issue when folder actions have to process many files at the same time. it's supposed to have gotten better in snow leopard but it's still very far from being reliable. you can try the following trick to slow down your folder action and make it wait to process individual items before they are all copied. that might (or might not ) help
    http://discussions.apple.com/message.jspa?messageID=8277780#8277780

  • [Calender] Dates are misplaced a day too early

    Ez all crew,
    since updating to 4.0.1 my iPhone 3GS 32 GB Calender seems to begun misplacing events/activities a day too early. This is only the case on the iPhones, not on my other Mac computers. They are all synced via MobileMe.
    Actually it is only the case when using the Calender in List mode, not in Day or Month mode. E.g. an event/activity added to begun on Thursday 26th August is shown on the day before (i.e. Wednesday 25th). I have screen shots from the iPhone to confirm the problem, however, it is not possible for me to send the to Apple Support. I'm told to contact my local (Danish) telephone operator company. Yet, this is clearly an Apple software problem, not the local telephone company's.
    I have now updates to 4.0.2 and it did not solve the problem. Please advice. Cheers!

    iPhone Calender recently started to mash up the dates again. A total reset of the MobileMe Calender sync was needed to sort it out. However, once and again the while creating a new event in the iPhone Calender it does not save it. Often it is needed to re-create it 2-3 times. This does not happen on my Macbook Pro and iMac 27" computer's Calender though. It's a strictly iPhone problem apparently,

  • Kinect is not firing MultiSourceFrameArrived event after some time

    Hi,
    I am using Kinect v2 with EmguCV in my application. I am performing some image processing task on the acquired frame. I noticed that after some time (1-2 minutes) the Kinect is not firing MultiSourceFrameArrived event.
    Below is the snippet of the code-
    public partial class KinectForm : Form
    KinectSensor kinect;
    MultiSourceFrameReader reader;
    CoordinateMapper coordinateMapper;
    public KinectForm()
    kinect = KinectSensor.GetDefault();// Get the connected kinect Sensor
    coordinateMapper = this.kinect.CoordinateMapper;
    reader = kinect.OpenMultiSourceFrameReader(FrameSourceTypes.Color | FrameSourceTypes.Depth);
    kinect.Open();// Start reading the data from kinect
    InitializeComponent();
    private void FrameArrivedDisplayMode(object sender, MultiSourceFrameArrivedEventArgs e)
    var reference = e.FrameReference.AcquireFrame(); // Get a reference to the arrived frame
    ColorFrame colorFrame = reference.ColorFrameReference.AcquireFrame(); // Access color frame
    DepthFrame depthFrame = reference.DepthFrameReference.AcquireFrame(); // Access depth frame
    if (colorFrame != null && depthFrame != null)// Do not proceed, if any frame is expired
    RenderColorPixels(colorFrame);
    RenderDepthPixels(depthFrame);
    // Lots of image processing is being performed here
    if (colorFrame != null) colorFrame.Dispose();
    if (depthFrame != null) depthFrame.Dispose();
    private void KinectForm_FormClosing(object sender, FormClosingEventArgs e)
    if (this.reader != null)
    this.reader.Dispose();
    this.reader = null;
    if (this.kinect != null)
    this.kinect.Close();
    this.kinect = null;
    private void displayModeRadioButton_CheckedChanged(object sender, EventArgs e)
    if (displayModeRadioButton.Checked)
    reader.MultiSourceFrameArrived += FrameArrivedDisplayMode;
    else
    reader.MultiSourceFrameArrived -= FrameArrivedDisplayMode;
    The above code was working earlier, but later on once I added more processing on the data, the event was not fired at all after some point of time.
    I am disposing the frame every time. Why this is happening? How to fix this problem?
    Thanks

    Carmine, Thanks a lot for prodding the references. I am in the process of designing it.
    Meanwhile, since as you said the above code was holding the frame data and disposing the frame after processing it, so I though of changing the style little bit. Please see the code below-
    private void FrameArrivedDisplayMode(object sender, MultiSourceFrameArrivedEventArgs e)
    var reference = e.FrameReference.AcquireFrame(); // Get a reference to the arrived frame
    ColorFrame colorFrame = reference.ColorFrameReference.AcquireFrame(); // Access color frame
    DepthFrame depthFrame = reference.DepthFrameReference.AcquireFrame(); // Access depth frame
    if (colorFrame != null && depthFrame != null) // Do not proceed, if any frame is expired
    ColorFrame.CopyConvertedFrameDataToArray(ColorFramePixels, ColorImageFormat.Bgra);
    depthFrame.CopyFrameDataToArray(DepthFrameData);
    colorFrame.Dispose();
    depthFrame.Dispose();
    //Here I am doing image processing
    Now, this way I am not using some of the frames but it should work, since the frame is disposed earlier.
    But still after some time, the event is not fired out.
    Why? Can you tell me the reason?
    Thanks
    Ravi

  • Is there an adapter to hook up a firewire from a cannon gl2 to a MacBook Pro?  The firewire end is too big to fit in the MacBook Pro laptop help.

    Is there an adapter to hook up a firewire from a cannon gl2 to a MacBook Pro?  The firewire end is too big to fit in the MacBook Pro laptop help.

    After identifying the exact connectors you need, check the Apple Store online and/or eBay...you should be able to buy a cable with the correct connector on each end, rather than fooling with an adapter.

  • Outlook displays date of birthdays one day too early in MS Office 2007, 2010 and 2013

    Hi
    We are supporting several clients that has issues with Outlook. Different versions of Windows, Office and different exchange server versions. Some contacts' birthdays
    just "magically" changes to one day too early.  I have done extensive research with no answer. I have experienced this issue personally as early as about 2005 or 2006 with a Windows Mobile PDA.
    Our local time is GMT +2 without daylight-savings. I have checked the settings in Windows (Vista Pro and Win 7 pro
    x86 and x64) and the calendar settings, I have reloaded a couple of pc's, created new profiles, installed new server hardware with newer exchange.  Even tried a few off-the-wall ideas like resetting all views to default.
    Some users' address books are shared, some not. Some uses Apple, Android, BB or Windows phone, some don't.  Some connects through VPN, some don't. Some uses
    AVG, Avast, Eset Nod, Forticlient, Mcafee, etc....
    I have been fighting this problem for months, and can find no conclusive answer that resolves this.
    If I manually open the contact and rectify the date, it will stay correct for a very random time period and then shift
    again.
    I am about to lose a couple of my biggest clients, and probably my job as well, so I need urgent help.
    Please no remarks on OS version, Office version or mobile devices, as this is definitely not the issue.
    HELP!

    Hi,
    Have the users check on OWA, does the issue persist? Please also make sure the timezone of Exchange is also properly configured.
    I'm not an expert about Exchange, I hope this blog can be helpful:
    http://blogs.technet.com/b/fun_with_powershell/archive/2013/04/30/where-is-the-time-zone-property-stored-in-exchange-2010.aspx
    To further dig the problem, rectify the date on owa and drop Outlook for a while(or one day), check the result the next day if the problem will come back.
    Regards,
    Melon Chen
    TechNet Community Support

  • Event for task  not defined as start/end event

    Hi all,
    We get the following error in our inbox although the event seems to work as intended
    Event ZIMEC006 APPROVED_REJECTED for task TS81700130 not defined as start/end event
    If I go to the task TS81700130, the event APPROVED_REJECTED is defined as a terminating event(under the tab terminating events)  with objecttype BO and object ZIMEC006 and the binding is ok
    What could be the problem?
    Thanks for all help
    Hans

    Hi,
    The BO your using is a custom one,
    If Yes Goto the BO, Release that Event,Save and generate the BO.
    other wise, if you created a Subtype of the Std. BO, check that Z-event you created is released  and the BO delegated to Std. BO, save and generate the BO.
    Then try now.
    Regards,
    Surjith

Maybe you are looking for

  • Active Directory not working Windows Server 2003 R2

    Hi, Like the subject said my root problem is either my Active Directory or DSN server. In order to properly explain the situation I will have to make the full Story. I was contacted by a family member to help out a Non profit organisation with there

  • InDesign CS5 causing problems with InCopy assignment file but not content files

    I'm having a strange InDesign/InCopy CS5 issue (Mac OSX 10.6.6; all system & Adobe updates are current).  In my InDesign doc I have one assignment file containing two content files. All of the InCopy pieces work fine in InDesign (i.e., I can check ou

  • Precompiling subdirectories in 4.5.1 sp13?

              Two questions.           1) Is there a way to have jspc compile all subdirectories from a given path? I'm currently having to try it directory by directory.           2) My batch file that includes the following two lines:           %JDK_HO

  • Can you search two artists at once in itunes

    I wanted to listen to two different artists and I know I can just make a playlist and that's that, but I was wondering if there was a way to search for both artists at once like perhaps if in the search bar i could type "dante; turtl"  and that would

  • Firefox 5 uses old cookie value

    Firefox 5 uses old cookie value created by the server instead of getting the new value whenever the page is accessed. This causes inconsistency in my application as the cookie value should be a fresh one every time i access the page. Please shed some