Streaming video using RTP in J2me

Hi,
I hv a problem streaming video files in J2me.Im using Client-server model instead of RTSP/RTCP.I can save the video files,but i hv problem transferring them.Messages can be sent ,but while sending video file the parameters show null values.So i wanted to use RTP. Pls help me with this..
Thanks in advance.

We are making a program in java, we've made a server
and a client but we want the client to reproduce the
video we send using streaming, not downloading (this
is what we have implemented until now). We are using
TCP connections. Do you have any idea about this, how
could we transform the code so it streams instead of
download?It's up to you what you will do with the bytes received from the socket. You will probably run the player in another thread and feed him with the received data.

Similar Messages

  • Streaming video using RTSP

    hi,
    any one have the program to stream video using RTSP.
    plz reply me
    thanks
    m.raj

    Hey,
    Sorry that I can't help you, but I'm trying to use streaming and I can't :( I'll try your code, and some I'll find in the net but when I put an rtsp direction it crash. The error is:
    Cannot create a Player for: rtsp://rm.bbc.net.uk/news/olmedia/1335000/video/_1335876_raper_vi.rm
    null
    If I'm doing something wrong please tell me, or if you can explain how do you do "localhost" I'll be grateful too.
    Thanks.

  • Streaming video using Frontpage 2003 and Quicktime .mov files

    What is the proper way to stream video files. I created a .mov file using iLife and I use Frontpage 2003 to upload to my website.
    I read in Microsft's official book on FrontPage2003 that all I had to do was to insert a movie file into a web page, just like inserting a picture. I was also told that I do not have to have the file on a streaming server, I could just keep it on the regular web site.
    The file does download to the browser, but it does not start the video playing.
    Do I need to do something elese? Or do I have to have the file on a streaming server.
    Thanks
    George

    "Streaming" QT files requires Streaming Server software.
    Your files probably just "download" via http protocols.
    And, since the recent update to Internet Explorer for PC's, the page code syntax has changed from that used in your FrontPage files.
    Your "page code" tells the plug-in what to do with your file. If you're directly linking to QT content then it is bypassing the plug-in and your entire file must download before playback can begin.
    Some links for you:
    http://docs.info.apple.com/article.html?artnum=61011
    Explains the structure needed for embedded files.
    And now, the new news from Microsoft regarding Internet Explorer:
    http://developer.apple.com/internet/ieembedprep.html
    You need to change the "tags" to include autoplay="true" (and a few extra tags for the new M$ update).

  • How do I set up streaming video using iWeb

    Where can I get a straight forward guide to setting up a streaming video to my web site. I use iWeb to design and publish my web sites to mac.com. And I have a personal domain that I host on mac.com.
    I want to set up a wireless web cam because location of my routers and iMac preclude a direct connection. I know that I need to have access to a video streaming server but do not know how to get this service.
    I was hoping someone could recommend a good quality wireless web camera for less than $300. What additional software do I need on my iMac? Do I need to add code to my web site?
    Really looking for a soup-to-nuts guide. I have tried connecting the dots on a lot of forum posts and have become very confused.
    JohnT

    It all depends on your webcam what it can do.
    Webcam streaming usually is nothing more than putting JPEGS on a server in rapid succession. Then the browserwindows refreshes to pick up the new image. That takes time, so an image refreshes every 20 seconds.
    I also have seen JavaApplets that do basically the same.
    One way or the other you have to set up a webpage that either refreshes the image or that embed a JavaApplet.
    Your webcam has to have access to the server to upload the images.
    It all depends on your webcam and the software that comes with it.
    I once used [Evocam sofware|http://www.evological.com/evocam.html]. It is more advanced today.
    You can use the HTML Snippet to embed either solution in an iWeb page.
    Then practice.
    Message was edited by: Wyodor

  • Facing Problems in Streaming Video using FMS 3.5

    I want to stream .flv using FMS 3.5. The file is streaming on the company intranet but when it comes to internet, it is not streaming. Here is what im doing
    I,am using Flash Media Server with IIS 6.0 and Operating System windows 2003 server with SP2
    This server machine has a private IP 192.168.10.19(localhost) which is maped to a public ip 202.77.xxx.xx. This server is hosting a website www.mywebsite.com, where i want to stream this file. The exact path of the html page where this sample.swf will be contained is www.mywebsite.com/FlashStreaming/FlashStreaming.html
    Now the website is working fine but when i test the streaming of .swf file its not working. It is only showing a progress bar
    I used the following procedure to create the .swf from .flv
    I created an .swf with the name sample.swf, using FLVPlayBack component and given its source address as
    " rtmp://192.168.10.19/vod/_StreamingSample_/Sample(where Sample is an flv file) . After it i selected the option "Stream from Flash Media Server"
    I also created an instance named  "_StreamingSample_ " for vod on the server 192.168.10.19(localhost) in the Flash Media Administration Console
    Then I deployed it on the server with the local ip address 192.168.10.19. Now when i open the link www.mywebsite.com/FlashStreaming/FlashStreaming.html  from any client pc on the same company intranet as the server  it streams perfectly and i can also see it on the FMS Media Administration Console but when i type this link from any public pc using internet (i.e. outside my company intranet) it only shows a bar with play and pause buttons in it trying to connect to the server, and no video is streamed/shown . Is it due to the fact that im putting in the wrong address or there is some other reason behind this malfunctioning. I dont want to use Action Scripting so please let me know any solution which does not require action scripting.
    Note : The hosting server is within our company so we are managing it.

    Fraz,
    Remove the .flv extension from your address and give it a try:
    rtmp://202.77.xxx.xx/FlashStreaming/sample.flv
    should be:
    rtmp://202.77.xxx.xx/FlashStreaming/sample

  • Streaming Video using cellular data

    I downloaded the app for Daily Burn on my apple Iphone 5 but when I try and stream the video it says my settings are configured to only stream videos on Wi-Fi. Then asked do I want to change the settings. I press yes and nothing happens. I checked all settings and all set to use cellular data (both for app and videos. Any ideas?

    Well it appears that my issue was the phone number porting, during the porting i was able to use the phone for outgoing messages,call, etc but not for incoming, once the porting was completed the rest of the phone starting working, so it might be coincidental or maybe that was the issue.
    thanks for the input, apple and verizon were no help and clueless with this issue.
    John

  • After updating to firefox 5.0, I can't download streamed videos using realplayer recorder, I can play them

    After upgrading to Firefx 5.0, I am unable to use Realplayer recorder, to download streamed video from youtube, I can play it no problem. It worked in versio 4 without any dramaas.

    HI Juanverano,
    Not a problem, Safe Mode will disable addons and hardware acceleration. If this continues and it is not an add on this will be the next step to try to disable acceleration:
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    #Open Firefox ''Options'' window (''Preferences'' on Mac or Linux) as follows:
    #* In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]] and select ''Options'' for Windows or ''Preferences'' on Mac or Linux.
    #* In Firefox 28.0 and previous versions, click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    #In the Firefox Options (or Preferences) window, click the ''Advanced'' tab, then select ''General''.
    #In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    #Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Photo stream videos using iCloud

    I would like to use iCloud to stream videos to my Ipod touch .  I need to edit on my pc and send to the cloud to stream to my iPod touch. Is this possible if not is there a way to use the cloud for video?

    I would like to use iCloud to stream videos to my Ipod touch .  I need to edit on my pc and send to the cloud to stream to my iPod touch. Is this possible if not is there a way to use the cloud for video?

  • Recently lost the ability to Stream Video using homesharing from Macbook to apple tv (2nd Gen). Audio still streams normally.

    I use my Macbook to regularily download a video podcast overnight and then use Homesharing to stream it to my apple TV in the morning. Within the past couple weeks that function has stopped working properly. I get the spinning wheel from my Apple TV as it trys to stream or buffer the video file but it never loads. Audio files on the other hand still work perfectly fine.
    I've opened the TCP and UDP ports on my router and tried a different router thinking that was the problem to no avail.
    Any Suggestions?

    I believe what I'm reffering to is homesharing but please correct me if I'm wrong. I'm using the "Computers" app on the apple TV to stream Podcasts from my macbook Itunes Library.
    Homesharing or Airplay?
    Why do the audio files stream fine but the video files do not?
    The video files im referring too are TV shows, movies and podcasts all streamed from my macbooks itunes library.

  • Streaming video (using Videos-app) from MBP 13" to iPad 2 and iPhone 4S is stuttering/lagging every few minutes

    I have imported a number of movies and tv shows into my iTunes library. This library is located on an external USB 2.0 hard drive which is connected to my MacBook Pro 13" mid 2012. I use an Airport Extreme (5th gen.) as my network hub, everything is connected wirelessly through either the 5GHz or the 2.4GHz wifi signals.
    Whenever I watch these videos on my MacBook itself of my AppleTV (3rd gen.) everything works just fine, no lag or stuttering. But when I want to watch these videos on my iPad 2 (6.1.2) or iPhone 4S (6.1.3) using the standard Videos app, I get lag and/or stuttering every few minutes just like you would when an internet video isn't loading fast enough. Speedtests indicate a stable internetconnection (fiberglass) at 30Mbps up and down, and internet videos (i.e. Youtube) stream just fine, even the 1080p ones. That's why I don't think my networkconnection is the problem.
    Frankly, I don't have any idea where to look next. I checked all settings in iTunes (homesharing is enabled, any other settings seem to have no relation with this subject) and the iPad/iPhone, restarted the devices completely but not with any improvement.
    Why is this happening? I'm used to Apple products having an optimal user experience, but in this case it's just not working like it should...

    Try putting one of those movies onto your macbooks' drive and stream it and see if you have the same lag.
    It's probably not being pulled from that external drive fast enough causing the lag.
    I know you can watch it off your macbook fine, but you're pulling it onto the laptop, then pushing it out to the router and data transfer is always slower the more 'stuff' you give it to pass through.
    For example, I can pull stuff off a harddrive at a gig a minute....but if i pull it off one and write it directly to another (using the computer as the go between) i get about 75% speed.....something that should take an hour can take almost an hour and a half.
    So try streaming directly off your macbook and see if you stutter.

  • Can I stream videos using airplay to appletv2 and play the audio thru stereo using airport express?

    I have apple tv 2 connected to my HDTV.  I am streaming VEVO videos from iphone to ATV2.  Would like to play the audio through my sony stereo.  Would love to do it wirelessly if possible.    Can this be done?  Would airport express connected to stereo make this possible?  If not what are my options.

    The only input ports I have on the stereo is a dmport, auxillary and headphone jacks.   I really would like to do this wireless.  If, instead of appletv2, I had google tv which VEVO uses could the airport express be used?  Seems like I recall reading somewhere that using 2 of them created a wireless connection for audio.  Is that right?
    Thanks for any advice.

  • How to add new room in LCCS for live streaming video  using flex builder

    Hi,
               I have created a video conferencing functionality  using LCCS. Now i want to create a room programatically.
    So that user can create his own room and invite his/her friends.I am looking for solution on this.
    Any guidance on  this

    Quick suggestion : the documentation has a whole section on this =) :
    http://learn.adobe.com/wiki/display/lccs/06DeployingApplications
      nigel

  • Streaming Video Using Evocam

    Hi all and thanks in advance for any help. I have researched this quite a bit and tried some methods from older posts but I am still not having any luck. Long story short, I run a webcam with a static domain via DynDNS.org. It does work wonderfully and I love it! However I would like to embed it in iWeb if that is possible as opposed to just linking to the URl that is forwarded from my site. Check it out here if you like. It's running right now just click on the MaxCam link (yeah it's for my dog so I can watch him while I am at work- uh and my cat too)
    http://www.maxkicksass.com/
    Does anyone know how to embed this live EvoCam stream via iWeb? I realize that it might require post publishing editing of the HTML and that is fine.
    Thanks
    Jamie

    Embed the page you use at DynDNS in the HTML Snippet with the [iframe|http://htmlhelp.com/reference/html40/special/iframe.html] HTML element
    <iframe src="yourpage.html" width="300" height="300" scrolling="no"></iframe>

  • Has anyone had luck streaming videos using Brightcove?

    Are videos are located on a video server hosted by Brightcove in MP4 format. Using a web object in Captivate 8 we are able to embed the url and view the project fine. Once we publish and upload to our LMS, the course crashes once the url is encountered.
    Has anyone had any success out there?

    Just in case anyone else has this issue, we resolved it simply by changing our browser setting to allow mixed/unsecure content which for the time being allowed us to identify the issue.

  • Streaming video using a web camera is choppy

    Hello,
    I have an swf program built with flex which displays video from a web camera. The problem is that the the video is being displayed a bit choppy. You can see an example at https://www.completelyonlinetestserver.com/Flex/videobox.html. Try holding a piece of paper with writing in front of the camera and you will see that the writing is very choppy.
    What can I do to make the video clearer?  Any help would be very appreciated.
    Thanks
    Armen  

    Hmmm...I dont have the drivers installed on my computer for my web cam to work, but when I compile that example do get the trace output, "You need a camera.".  So that part works.  Below is the code ported into an MXML file.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="absolute"
                    applicationComplete="CameraExample();">
         <mx:Script>
              <![CDATA[
              private var video:Video;
            public function CameraExample()
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align      = StageAlign.TOP_LEFT;
                var camera:Camera = Camera.getCamera();
                if (camera != null)
                    camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
                    video = new Video(camera.width * 2, camera.height * 2);
                    video.attachCamera(camera);
                    addChild(video);
                else
                    trace("You need a camera.");
            private function activityHandler(event:ActivityEvent):void {
                trace("activityHandler: " + event);
              ]]>
         </mx:Script>
    </mx:Application>

Maybe you are looking for

  • Code for individual routine in BI 7.0

    Hi Gurus, In 3.5, I used to have a simple code in one of my individual update rules of a Keyfigure: IF COMM_STRUCTURE-/BIC/ZFLAG IS INITIAL. RESULT = 1. ELSE. RESULT = 0. ENDIF. where /bic/zflag used to be another field in the comm. structure. I now

  • How to know what ActiveX references are still open

    Okay, so I'm about the millionth person to post about this topic, but I feel like I know what I should be doing, but have hit a wall.  I have read through pretty much everything I could find in the forums about references and ActiveX. I am communicat

  • How do I make my animation look the same in different browsers?

    Hi! When I play my animation in different browsers it don't look the same as in the preview. In IE some of the parts of the animation have disappeared and in Chrome the pats are no longer in their right places. See picture below.  How do I do to make

  • Cannot open key error while installing itunes on windows vista 64bit

    I have downloaded iTunes to my desktop, disconnected from net, disabled firewall, and ran as administrator. Now I get an error saying: Could not open Key: UNKNOWN\Components\DA42BC89BF25F5BDOAF18C3B9B1AEE8\FD563AF386D2DE54F8388C8A8336 E1534 verify th

  • Flash Pro (CS3) will not open after file 'AuthPlay.dll" removed from Acrobat 9.

    A recent Adobe security issue recommened removal of 'AuthPlay.dll' from Acrobat Pro v9x.  When trying to open Flash Pro (CS3) the program throws an error " The AuthPlay.dll/Lib is missing from the configurration folder" and the program will not run.