Streaming video from phone

I want to stream video from phone's cam to a server.
I found MMAPI, with RecordControl I can:
try
Player player = Manager.createPlayer("capture://video ?encoding=gray8");
player.realize();
RecordControl rc = (RecordControl)player.getControl("RecordControl");
ByteArrayOutputStream output = new ByteArrayOutputStream();
rc.setRecordStream(output);
rc.startRecord();
p.start();
//Thread.currentThread().sleep(5000);
rc.commit();
p.close();
catch (Exception e)
this way the video is in "output" only after "commit()", then I could send it. Is there any way to have real streaming??

What do you understand with "real streaming"? Do you refer to frequency of transmission? The real time streaming is "not so real". If you put a small sleep time you will get a higher frequency and it will simulate a "real-time" streaming. To speed up your transmission, use UDP protocol instead of TCP, because media streaming in all techs is on top of UDP.

Similar Messages

  • Can't view photos or stream videos from websites on iPad 3

    When I go to a website with safari, I can't stream video or view photo galleries.  It tells me that I need adobo flash player.  That is not supported for this device.  How do I see photoographs or stream video from websites??

    Jenpre.... keep your head down in that hurricane, and good luck. I hope it moves away soon for you all.
    When I say "more modern", from what I've read many sites recognise that Flash can be a problem on mobile devices (phones and tablets) because it's very power hungry. So, if I understand things correctly, many sites are putting up html5 versions, which is supposed to be much easier on computers / devices. Quite oftne when I go to a site on my iPad it auto-diverts to the "mobile" version of the site, and I haven't found a single case where I can't see a video. To be truthful, even if not directed to a mobile version, I don't have much trouble with any of the sites I visit..... I can see most videos and pretty much all graphics, the same as I can on my Mac, which does run Flash.
    Still, I'm sure a computing expert will know much more.
    Good luck in that hurricane....
    PS... there are quite a few good hurricane tracking Apps you know....

  • Can anyone explain why streaming video from BBC's iPlayer is becomes jerky on my Air?

    I'm using my MacBook Air to watch streamed video from the BBC iPlayer and the picture becomes jerky after a couple of minutes, only clearing when I close the lid and let the system power down.  However it soon becomes jerky again after restarting. 
    The spec of the machine is 1.8GHz Intel Core 2 with 2GB RAM and about 20GB's free harddrive memory.
    Adobe Air app installer also appears to keep attempting to boot.
    This is pretty annoying, when during a 30minute programme I have to close the lid every 5-10 mins to make the programme watchable.
    Any info would be greatly appreciated, a solution would be fantastic! 
    Thanks,
    JJ

    I'm not certan how to tell whether or not it is jailbroken but it's only when I use a specific charger and it's been fine ever since I threw that stupid thing away, No problems with the phone other then simple things I can handle. lol I seriously hope that madness never happens to anyone else!!!!

  • Streaming Video From Android to Adobe Media Server

    Hello All -
    i am looking for the best advice on how to live stream videos from Android Phone (3.0+)to Adobe Media Server.
    Thanks,

    hi,
       yes you can do that but for that you need to write your own server side module for handling streams and storing them

  • Hello. I've Apple TV 3rd gen and MacBook Pro 2013 all with latest updates. AirPlay works fine till I don't start streaming videos from YouTube. After that AirPlay icon from MacBook menu bar simply disappears. Could some help. I'm using 2 Mbps Internet

    Hello. I've Apple TV 3rd gen and MacBook Pro 2013 all with latest updates. AirPlay works fine till I don't start streaming videos from YouTube. After that AirPlay icon from MacBook menu bar simply disappears. Could some help. I'm using 2 Mbps internet connection.

    Same issue here- I can airplay my amazon prime library just fine from my iphone 5 but on my macbook- (mavericks, 15 inch 2013 retina with quad core i7, nvidia 650 M and SSD) it just sputters and lags.
    I have noticed web video is considerably worse than local content, giving me pauses of up to 2 or 3 seconds in which video stops but audio continues in the amazon player. Youku video, however, seems relatively stable. Our subscription speed is 25 mbps, so that should be plenty to stream SD video from Amazon and doesn't account for why it would be nice and stable from the iphone, but not the mbp.
    Playing light, locally hosted steam sidescrollers  like Limbo is better but gives periodic drops in framerate on the Tv. when mirroring the framerate remains steady on the MBP screen.
    Games airplayed from my iphone seem relatively stable, though with a noticably lower framerate on the TV than on the phone.
    It seems these issues have abated considerably since yesterday's Apple TV update, but are still curious nonetheless and I'm not sure that the update yesterday was specifically meant to address those issues or if I'm just getting a time with less network interference now.
    Comcast recently installed a new router/modem/phone combo, replacing our old separate modem and router setup. I'm going to test if putting the network on a different channel helps.

  • How can I stream video from my laptop to apple tv while doing a different task on my laptop?

    How can I stream video from my laptop to apple tv while doing a different task on my laptop?  I want to be able to stream a video to my tv while browsing the internet or working on writing on my laptop. Thanks

    You would have to use airplay within iTunes then, unless you want to use 3rd party software (ie Beamer)

  • Is there a way I can stream video from my 2012 AirMac to the Apple TV using airplay and at the same time stream the audio to an air speaker?

    Is there a way stream video from a 2012 MacBook Air to a TV using Apple TV and at the same time steam the audio to an air speaker. Also the same question but using an ipad

    You can try one thing. Follow these steps:
    1. On your Mac, turn on AirPlay Mirroring and connect it to the Apple TV, so audio and video will stream from the Apple TV.
    2. Turn off the sound of the TV where you have connected the Apple TV.
    3. Then, make sure that you have turned on the AirPlay speakers. Then, open System Preferences > Sound > Output, and choose the external speakers, so sound will stream from these external speakers.
    This should work correctly

  • How can i stream video from Safari my MacBook Air to Apple TV.

    I've been tryingt o stream videos from my Mac Book Air to Apple TV that is connected to my projector but dont seem to see any options in safari to stream to Apple TV.  Have anyone tried this?  Is this possible?  My IPad can do it but dont understand why Mac Book cant.  Please assist!

    I Figured it out!  I put the Display chooser into the toolbar on the MacBook Air and there is a little selection that allows Mirroring.  I switched it on, got video, sound, and a happy man on my hands.  AND I found the correct answer myself, heh, heh, heh.

  • HT202157 New apple is not asking for the WIFI password.Home sharing is not working,i am getting Error while streaming videos from Youtube.

    I got new Apple TV 10 days back,its not asking for the WIFI password.Home sharing is not working,i am getting Error while streaming videos from Youtube.
    I can only see pics and video saved in my iphone. No other options are working.The worst part is that its not asking wifi passoword.
    Not able to connect istores and itunes.
    I cannot do software update. Can anyone help in this content?

    Thanks Brian- I am not connecting it with iphone teethering. I am using it with my DSL wifi.
    I am using it with ethernet cable then its working fine.If i am trying to use it with WIFI then its giving error.
    I tried using Netwrok testing but its giving same error.

  • Streaming video from macbook pro to apple tv

    Hello, I understand that you can use airdisplay to stream the whole desktop view to the apple tv. However, I've found that its extremely laggy when I play videos that way. When I do, the video and sound is always off by a second. When I stream using my ipad or iphone to play videos that never happens and runs perfectly. Is there a way to just stream videos from sites like youtube for the mac like the iphone and ipad?

    Yes, forget streaming that way, .....the ANSWER youre looking for is the APP BEAMER
    you cannot stream youtube, rather ON COMPUTER video and movie files.
    free trial to test it
    http://beamer-app.com/
    for streaming elsewise, use VLC STREAMER
    One of the most handy APPS for entertainment ever made.

  • Streaming video from Macbook Pro to 46 inch LCD

    I am trying to stream video from my 13 inch Macbook Pro to my 46 inch Samsung LCD TV. I am using a HDMI cable to a DVI cable to attach the computer. When I play videos from iTunes, the picture looks great, however when I am streaming video from an internet site such as Netflix, the picture is not great (it almost looks pixilated). I am wondering, is this an issue with my computer (video card, etc) or does it have to do with my internet connection (I currently have the lower DSL connection)? Is there any other way to make the picture look better? Thanks for your help.

    Yes, forget streaming that way, .....the ANSWER youre looking for is the APP BEAMER
    you cannot stream youtube, rather ON COMPUTER video and movie files.
    free trial to test it
    http://beamer-app.com/
    for streaming elsewise, use VLC STREAMER
    One of the most handy APPS for entertainment ever made.

  • Can't stream videos from Iphone 4 or Ipad 3 to apptv 3

    Folks need some help- I love Mac and all the products but I am having a bit of an unpleasant experience with my apple tv 3.  I have Iphone-4, Ipad 3rd gen, and Apple Tv 3rd gen.  I want to use airplay to stream videos from safari or netflix- but! I get a message on my TV that states "Error occured while trying to play this video" And that is all I get.  All three are on the same Wi-Fi network. Of note- my Ipad was able to stream for 30 seconds before the error message came up.  After that nada.
    Thank you in advance for your help

    No,you need to buy a new charger.
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How can I stream video from a P/DVR to my Mac

    Hi, How can I stream video from a Motorola dcx3400m P/DVR to my Mac? I have tried a Slingbox but the audio is out of sync witht the TV and it drives those watching on iPads or on the iMac in another room NUTS.
    Is it possible to use a TV tuner of some sort. I've looked at the eye TV thing but I live in Canada/USA region and the eye TV products all seem to be for Austrailia or the UK. The one product that might work is a DVR and I don't need to pay for that as I already have one.
    HELP!
    Jeff

    If your Mac has an audio input jack you can connect the output of a cassette machine to it (3.5mm stereo jack required). However many don't, so you will need a USB audio interface - Roland make a range. Alternatively you can buy cassette decks with a built in audio interface.
    You will need a program to record and edit the input: Audacity is free and is often bundled with USB-enabled players.

  • How can i stream video from mac os x 10 using roku to my tv?

    how can i stream video from mac os x 10 using roku to my tv?

    Welcome to Apple Support Communities
    OS X can't write in NTFS disks. If you want to write in NTFS drives, you have to use a third-party app like Paragon for NTFS, being this application the best one to write in those disks.
    Another option is to format the external disk in FAT32 or exFAT on a PC, so you will be able to read and write in Macs and PCs without having to use third-party apps. Do it on a PC and copy the files of your external drive to the internal disk first

  • Can I stream Video from a Macbook Air to apple tv, if so, how do I do it?

    Can I stream Video from a macbook air to Apple TV, and if so, how do  do it?

    If the content is in iTunes, look in the lower right corner and select the Apple TV.
    Regards,
    Captfred

Maybe you are looking for

  • Can't get surround speakers to work

    i set up my K8N so far, and aside from some minor stuff everything is running smoothly. except: my surround speakers, center and sub are not working. left and right front work perfectly but all other speakers don't work any idea how to fix this? i ha

  • Small hairline crack near screen hinge. Fix?

    I just noticed that my 2010 white Macbook has a 3/4" hairline crack on the outter part of the screen/lid right by the hinge. It's not really affecting how the computer functions or anything. But it really bothers me. My warranty runs out on Jan 20th

  • Lightroom installation trouble

    Dear all, Recently I installed Photoshop and Lightroom within CC (PC). It worked fine but when I tried to open LR the next time I was asked to buy a registration code. Seems very strange because it's downloaded and installed in CC and worked fine the

  • What properties to scan pics so they dont need rendedering?

    I just scanned in 30 pics: * 150 dbi-because I want to do Ken Burns moves on them * 720 by 480 * .TIF * I scanned them on a PC then sent them through my network to my MAC FCP gave me an error notification when I imported them but did allow me to. I p

  • International travel

    I am traveling to NZ for a few weeks. I am trying to avoid fees incurred from incoming calls/texts during my trip (the phone is my camera-I need it on and with me during this vacation).... If I turn on airplane mode-will that prevent incoming calls a