Last few seconds of stream cut off when recording a live stream

Hello,
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
            vid.attachCamera(null);
            vid.clear();
            ns.attachCamera(null);
            ns.attachAudio(null);
            ns.pause();
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?
Kind regards,
FY

Thanks, I'll consider using ns.publish(false) . I've also managed to solve it using ns.close()
FY

Similar Messages

  • Early cut off when recording on extra channels

    I have noticed that when recording on the extra BT channels eg Sony etc that they cut off the recording in the closing minutes of the programme. Also they may start slightly late which means missing one end of the programme. Why is this?

    According to Youview experts: 
    The (Freeview) EPG is managed and broadcast by Digital UK who are licensed by Ofcom to provide this service.
    Providing EPG data 
    The EPG/schedule data is collated and a complete set of data to be carried on each of the multiplexes on the platform is published. The result is that whatever multiplex a viewer is watching they always have the latest set of schedules available via the EPG.
    Digital UK handles the full suite of event descriptors listed in D-Book from basic details such as the title, synopsis and TX time of each event, to the data for clash management and series recordings for Freeview+ and Freeview+HD products.
    Standard offering includes real-time response to schedule data delivery and web-portal for monitoring. Options in terms of connectivity to the collator and enhanced triggering of now/next data are also available.
    The EPG can be updated several times a day or more if necessary. If the broadcaster has opted for enhanced triggering (and therefore is permanently connected to Digital UK’s systems) these triggers are updated and broadcast dynamically.
    It is not mandatory for broadcasters to provide NOW/NEXT info. If the data isn’t provided then the EPG scheduled time triggers NOW/NEXT.
    However ...according to Youview personal
    All UK digital terrestrial (aka Freeview) broadcasters supply now and next information using a system called "EIT PF" ("Event Information Table - Present Following"). It's not optional.
    And all recordings on YouView are triggered from that data - there's only one system as far as the box is concerned. However, the accuracy of those signals varies between broadcasters (acknowledged by YouView and the broadcasters)
    The questions for BT are ...(1) .do all the extra channels that BT transmit use the EIT PF system ?
    -(2) do BT's own channels use the EIT PF system ?
    - (3) do BT Sport channels utilize enhanced triggering of now/next data?
    It has proved very difficult to get a precise answer to such questions ?

  • Last Character In Crystal Report cut off when ran via BO web interface

    I created a report in Crystal and uploaded it to the Business Objects Web Interface.
    On my detail row, the last character is getting cut off regardless of the length of the text.  Even short words like "Yes" are losing the last character, and appearing as "Ye", and there is plenty of room available between the right margin.
    The column header extends out further with no issues.
    Does anyone have a solution for this?

    Hi Dean,
    Try with this:
    Go to the following registry sub key:
    HKEY_USERS\[your security profile]\Software\Crystal Decisions\10.2\Crystal Reports\Export\Pdf
    Right-click the sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
    Regards,
    Shweta

  • IPod Touch 4G cuts off last few seconds of song.

    My iPod touch cuts of the last few seconds of songs, the longer the song, the more is cut off.  Think "Yes - Yours Is No Disgrace", lists the time as 9:40 in the playlist, but on the "now playing" screen is only 9:35.  No problem in iTunes or my other 3 iPods with the same song.  It's very consistent and always happens at the same place.  "gapless album" setting makes no difference.  I will try re-ripping the album with iTunes to see if that helps, but don't see why it should.

    Resetting "almost" worked - the first time I played the song after resetting it showed 9:40 in the now playing screen, but ultimately it still cut off, and then when I restarted the song it again showed only 9:35.  But thanks for the suggestion.
    I re-ripped the album using iTunes, and it now plays fine.  I am suspecting that the decoder used in the iPod touch is different from other iPods.  Now I've got to go and re-rip all the albums that have the problem <groan>.

  • Shuffle cuts off last few seconds of the song

    This morning when playing a playlist on Shuffle/Songs, iPod would cut off the last few seconds (15-30) abruptly and move on to the next track. I changed the shuffle to Album but with the same result. However, now in the afternoon, it is playing ok with the shuffle.
    Has anyone else encountered such behavior? Could it be a bug in the software?
    Dell Inspiron 6000 Laptop   Windows XP Pro   1.6 GHz, 1GB RAM, iPod Video (30GB), v1.1.1

    Hi all, I think I've figured out one solution to this problem. I have a 3rd Gen iPod and was having songs cut off. Random songs at random points near the end of the song. I've read a post here about deleting the artwork from the songs on the iPod, and it worked! Long story short: Use this script from www.dougscripts.com "removeallipodartwork" to delete all artwork from the iPod, not iTunes. iTunes is fine, only the iPod is having trouble with the little bits of artwork information. If you have any doubts, manually delete artwork from just a couple of songs, update your iPod and listen for the cut off (you can fast forward to near the end of the song). Believe me, I've tried everything else for the past 18 months or so. MP3, AAC, different quality, different iTunes versions, different iPod OS, restoring the iPod, I could go on. Hope this helps.

  • Encore Cutting Off Last Few Seconds of Burn

    I created an avi file in Video Explosion Deluxe, which clocks in at 1:24:33.  I've verified by playing the file on Windows Media Player that it plays fine all the way through to the end.
    I imported it to Encore (I have the 3.0 version) as the only component in this particular project, and burned to DVD, at 7 Mbps, at a speed of 4x, which was the lowest speed option available.
    Everything is fine until almost the end.  It freezes at 1:24:28.
    When I play the file in Encore to preview it before burning, it plays through to the end fine.  So it recognizes the whole file.
    I tried multiple more burns, and they always freeze 4-6 seconds from the end.
    I then took that video file and imported it to Premiere Pro and created a new AVI file of the same thing.  That behaves exactly the same when I burn to DVD with Encore.
    I then started over and created the AVI file anew in Video Explosion Deluxe.  Same result when I burn it to DVD with Encore.
    I then created it as an mpeg file with Video Explosion Deluxe.  Same result.
    I then added a menu in Encore before burning.  (I usually don't bother with a menu if there's just the one item instead of separate chapters.)  Instead of freezing 4-6 seconds before the end, it plays to that point 4-6 seconds from the end and then reverts back to displaying the menu.
    I then checked the last two DVDs I'd burned with Encore and realized that they too end 4-6 seconds before the end of the video file.  (I don't mean of that same project; I mean two different projects with different video files.  I just hadn't examined them closely enough when I burned them.)
    I've experimented with just adding a few blank seconds to the end of the project in Video Explosion Deluxe or Premiere before creating the AVI file, but I haven't been able to make it come out right yet.  For instance, I added ten blank seconds (making it 1:24:43 long, of which I really only want the first 1:24:33), and the subsequent DVD I burned froze at the 1:24:30 mark.
    It's possible through trial and error I'll eventually figure out some way of adding the right amount of blank material to get it to stop at the 1:24:33 mark or just after, but this is silly, especially since it's apparently doing this with every project now and I don't want to be stuck trying to time this workaround just right every time.
    Why won't it simply burn the entire file?

    Appreciate the responses.  On the rare occasions I've posted computer-related questions in online forums, they are nearly always greeted with silence, or the equivalent of "Read the manual and stop bothering us, newbie!"  So it's a pleasant surprise when people actually try to help.
    I've come up with another convoluted workaround that seems like it's actually working.
    I'm making an additional AVI file of the last few seconds of each of the movies on VED.
    So let's say it's a 1:20:00 AVI file that plays fine all the way to the end, but mysteriously when then burned to DVD stops at about the 1:19:55 mark.
    I now have that AVI file, plus a six second file that is a duplicate of the 1:19:54-1:20:00 stretch of the first file.
    I import both to Encore and place the full file on the timeline.  I then chop off precisely the last six seconds of that, meaning it is now 1:19:54 long.  Then I take my other six second AVI file and place it immediately after that back-to-back on the timeline.  I watch that part in Encore before burning to make sure they fit together exactly--i.e., there's not a skip where a frame is missing or a frame is duplicated.
    I've tried it on two, and both DVDs played through to the end as they're supposed to.
    Evidently whatever screws up the last few seconds of the movies made with VED (which, by the way, never happened until the last couple days in all the years I've used VED) isn't affecting these little six or so second long AVI files I'm making to stick on the end.  Maybe it's only files above a certain size or something that it's embedding some kind of mystery flaw near the end.
    I'll be using primarily Premiere for my projects moving forward, so if this is solely a VED issue, I should be fine after this work I happen to be doing now.
    Now, specifically on Hunt's suggestions, I've checked the projects on VED, and the video and audio tracks end at precisely the same frame.
    Especially if my convoluted workaround stops working, I can next try adding that second or so of only video to the project before creating the video and audio files.
    Just in perusing the options in VED, I'm not sure though if it's possible to make a video-only or audio-only file as you describe doing with Premiere.  Is that (not "muxing") something that the more rudimentary video editing programs don't do?  I know with VED I can simply delete all the content on the video tracks, say, or turn them off, but I don't think that gives me an audio-only WAV file.  I believe it just means I'd end up with a conventional AVI file that happens to have a black screen as its video from start to finish.
    So perhaps I could take the AVI file made with VED, place it on the Premiere timeline and there do the trick with the extra second of video.  However, whatever the flaw is seems to be in the VED created AVI files, so I think anything done in Premiere with such a file after the fact would be too late.

  • IE cuts the last few seconds off my FLV videos

    I have FLV (audio & video) clips on my website that
    automatically play, then automatically take you to the next
    scene...
    work fine in Firefox, but not in IE...IE seems to cut off the
    last few seconds before going to the next scene....anyone know
    why?...there's also random audio "pops" only in IE....it's like IE
    can't keep up with the frame rate or something?!?
    (My FLV clips are not embedded in the SWF, but set up as
    progressive in the same root directory on the same web server.)
    check it out:
    (2 clips: - "intro" & then click on any section and
    there's another "4-second" clip)
    http://mikepentaproductions.com/
    any feedback would be greatly appreciated...this is my first
    website and I can't believe how many issues I've been having,
    trying to please both IE and Firefox...it's a conspiracy, I tell
    ya!!
    thanks for your time
    -Mike P.

    encourage the use of firefox
    https://www.google.com/adsense/referrals

  • Itunes keeps cutting off the last few seconds of each track!

    Help!
    I'm trying to import from a CD, and for some (but not all) of the tracks being imported, when I go to play them from my Library, itunes skips the last few seconds of the song and jumps to the next one. Usually it wouldn't be a problem, because most tracks on CDs have some dead time at the end, but for these you are supposed to go directly from one track to another - without down time in between or skipping any of the track (one song is spread out over several tracks).
    I've tried re-importing the tracks using both the AAC encoder and MP3 encoder, specifying the the track end at a particular time (stop time - this information shows up when I "get info" on the track, under options) and the track length in my library shows up as that exact time from the CD. itunes just doesn't play the full length of the track!
    How do I get itunes to play each track to the very end before jumping to the next one?
    Jen

    and the track length in my library shows up as that exact time from the CD
    iTunes should play the full track. Did you tick the 'Crossfade playback' checkbox in Preferences>Playback? If so, uncheck it.
    If the problem persists you can check if it's an inporting problem or an iTunes setting problem by doing this:
    In iTunes select a 'problemtrack'.
    Choose 'Show Song File' from the File menu (command-R).
    Select the file and control-click on it.
    Choose 'Open With' and select 'Quicktime Player' as the program to open the file with.
    Now play the 'problemtrack' in Quicktime Player to the end and see if it still skips the last seconds.
    If it plays the full track, your imports are OK.
    Hope this helps.
    M

  • Last seconds of music cut off

    Last few seconds of the songs on my iPod are getting cut-off. The song stops near the end, then there is silence for a period of time before the next song begins. If it is a longer song, more of the song gets cut-off and there is a longer period of silence.
    I have tried to reset it, but that isn't helping. Right now I am travelling and do not have access to my computer, but I have access to other computers. Any advice? Thanks!
    Dell Dimensions (2003)   Windows XP  

    Basically, what you can do is this:
    Connect your iPod to a computer and enable "manually manage music"
    Then you're able to see the music on the iPod itself
    Click on the triangle to the left of the iPod in the source list, and click on "music"
    Right click on one of the problematic songs, and click Get Info
    Click the options tab
    There's an option that says "stop time" which basically means you can make a song stop at a certain point
    If that's selected, it may be the cause of the issue
    If not, it could be something else going on. When you're back at your own computer, see if your songs play properly in your own iTunes Library. If they do, try restoring your iPod and loading your music back onto it. If they don't, you may need to either restore the music from a backup, or import those CD's again, and then sync the iPod.
    CG

  • HT201210 on my iPad I get an image of the USB connection and an arrow pointing to the itunes icon for a few seconds then it switches off.  connected  to itunes via USB get a message that itunes has detected an ipad in recovery mode must restore when i do

    When I havent got my ipad connected to a power supply I get an image on my ipad of the usb cable with an arrow pointing to a itunes icon and no matter what you try and do iyt stays on that for a few seconds and then switches off the ipad, connecting it through usb into itunes on my PC (XP) this image says on the screen but I get a message on itunes saying itunes has detected an ipad in recovery mode and mneeds to be restored - when I fire off the restore through itunes after a few minutes it comes back and says it cannot restore and give an error message 1603.  I have also repeated the process through my wife's laptop (Vista) and get the same situation -it is an 32GB Ipad 3 purchased last November -  any ideas ?

    Try and turn off iPad/iPod and proceed to step 3 of Recovery Mode.
    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • When I share a video with fcpx and it goes to Quicktime, the last few seconds goes mute. I checked the clip and sent that the same route and all is fine. It is only when I send the whole 3gb video. Any ideas?

    When I share a video with fcpx and it goes to Quicktime, the last few seconds goes mute. I checked the clip and sent that the same route and all is fine. It is only when I send the whole 3gb video. Any ideas?

    paul71054 wrote:
    ... Any ideas?
    add a few seconds black to your project.
    Try again.
    could be some really weird codec problem, with 'cut' GOPs', .. somethin'...

  • Last Seconds of Last Track on CD Getting Cut Off

    The last few seconds of the last track of CDs I import are getting cut off. It has happened multiple times.
    Any ideas?

    This started with 7.6.1.9 upgrade. If you look at the forum "iTunes 7.6.1.9 import - last track on CD cuts 6 seconds short" that I started last week, there is a user with a workaround until there's a fix. It's a pain. Someone imported 300 CDs in his collection and then realized all the last tracks are messed up.
    AIFF Workaround: Set preferences to import as AIFF (Edit-->Preferences-->advanced --> Importing)
    Import the CD
    Change preferences back to whatever you normally use to import
    Then select your songs you've imported
    Right click on the songs and say "convert selection to _"
    (whatever format you normally use)
    It takes a while, but it works! I forget which user reported it but a BIG THANKS to him as we can at least import until there's a new version. (check out the forum for the user!)

  • Last few seconds of some songs skipping

    Under the new iTunes I am hearing the last few seconds of some songs skip or cut off abruptly when playing an album. If I go back to the songs and drag the slider near the end of the song they play fine. I reinstalled Itunes over top of itself but no joy. Has anyone else had this problem?. Thanks for any answers in advance. Allso I am running OSX Mavericks.

    nope, not the cross fader. most songs play 100% fine, but i've noticed quite a few which just abruptly end around 30seconds before there supposed to. I origional thought it was a transfer error since I do have USB 1.1, but since the songs play fine off the ipod when using itunes, it can't be

  • ITunes 7 sometimes skips last few seconds of a song

    It seems that whenever iTunes reaches the last 20 or so seconds of a song, it skis to the next song... it just cuts off, even when I have shuffle turned off (I'm loving this gapless feature though). Has this happened to anyone else?
    iMac in reality, MacBook Pro in fantasy!   Mac OS X (10.4.7)   I graduated high school! U of Michigan, here I come!

    That's what i figured, so if played with tha for a while to see if that helped, and it still cuts off the last few seconds. I even repaired all 'broken' permissions and still no progress. And it seems to happen sporadicly... has this happened to anyone else?

  • Re: Broadband cutting off when calls come through ...

    My broadband cuts off when my phone rings, did not always happen only in the last 6 months

    Welcome to this customer to customer forum.
    To enable forum members to help you, could you please read the web page that is shown below, which asks you to do a few checks first, and has some helpful hints.
    When you have done that, please follow the instructions at the end, and post the results here, so members can offer advice. Thank you.
    Speed and disconnections
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

Maybe you are looking for

  • Family sharing child purchases (under 13)

    I just setup 3 new ipad mini's for my sister and her 2 kids (my niece/nephew) and I'm having an issue with purchases from child accounts. I updated all their devices to ios8 before creating any accounts. The first ipad is setup with my sister's iclou

  • Printing a pdf from a marked-up pdf.

    Acrobat Pro 9 no longer lets me print a pdf from a marked-up pdf.  Any suggestions?

  • How to walk through an explain plan

    Hi Experts, I am on Oracle 11.2.0.2 on Linux, I have a query with an query plan as below. I am trying to understand the sequence in which the steps are executed, can you please help on it: variable v_client_oid varchar2(16); variable SYS_B_0 varchar2

  • Logic Express 8 Disc, updated to new mac with no hard drive? Can i download anywhere?

    I have updated to a MacBook Pro retinad display, can i find a download for logic express 8 as there is obviously no hard drive on my new mac?

  • Verizon had deceptive sales practices

    I bought the Major League Baseball package from Verizon at the end of April.  I was told by the marketing rep there are no blackouts except for Saturday from PM to PM (The ESPN monopoly)  Today I tried to watch Mets against the Pirates from Pittsburg