J2ME, Streaming to DSS server,

i know a liitle bit about J2ME, but dont know much about streaming protocals,
i need to be able to create a RTSP connection to a darwin streaming server using J2ME?
what im looking to do is grab from the camera. easy
create something which i can send to DSS
send to DSS
any advice, links ect will be very welcome
ive searched only thing ive found is "Experiments in Streaming Content in Java ME"
This is not Streaming from. but streaming TO the Darwin Streaming server?

dr_awol
First you need to know the basic principle of RTSP:
1. RTSP is used for streaming media from the server end. If you install DSS then you will find there is a
folder ( sorry I forgot the folder name, as I worked on it long back ) where you have to keep your media
medias and when the DSS runs it takes those media instances and streams through the default port
554. This DSS server does not run the media files only reads the content of the file and continuously pass
the raw packets over network.
2. The DSS gives a one way communication and it is outbound only :)
3. DSS and RTSP is not used as a file transfer protocol(FTP).
4. There is no API available in the mobile end which can convert a mobile media into RTSP packet.
5. You can use a Bluetooth dongle and OBEX for transfering the video to server and stream it from there.
6. Also you can use GPRS and HttpConnection with POST method for transferring the media file into the
specific DSS directory and DSS will stream it for you.
I think now the picture is little bit clear for you. If so mark this reply as CORRECT :) And of course don't forget me and DUKES also!
Cheers!
Shan.

Similar Messages

  • J2ME Streaming

    J2ME Streaming is always a hot topic. How to implement streaming via HTTP protocal in GPRS?
    Of course if the streaming media is not support partial data play (ex. midi sound), we can`t do anything about it, right?
    But how about if the media can play partial data (ex. arm sound), can we do it?
    Here comes a wonderful J2ME application. Remember that we are not talking about RTSP/MMS, we are dealing with HTTP.
    http://www.getjar.com/products/5763/J2MEStreaming

    dr_awol
    First you need to know the basic principle of RTSP:
    1. RTSP is used for streaming media from the server end. If you install DSS then you will find there is a
    folder ( sorry I forgot the folder name, as I worked on it long back ) where you have to keep your media
    medias and when the DSS runs it takes those media instances and streams through the default port
    554. This DSS server does not run the media files only reads the content of the file and continuously pass
    the raw packets over network.
    2. The DSS gives a one way communication and it is outbound only :)
    3. DSS and RTSP is not used as a file transfer protocol(FTP).
    4. There is no API available in the mobile end which can convert a mobile media into RTSP packet.
    5. You can use a Bluetooth dongle and OBEX for transfering the video to server and stream it from there.
    6. Also you can use GPRS and HttpConnection with POST method for transferring the media file into the
    specific DSS directory and DSS will stream it for you.
    I think now the picture is little bit clear for you. If so mark this reply as CORRECT :) And of course don't forget me and DUKES also!
    Cheers!
    Shan.

  • Stream from foreign server possible?

    Hi,
    I urgently need a feedback !
    I need to be 100% sure whether or not the following scenario is possible within Adobe Flash Player / Adome Media Server security contrains:
    website and swf file are hoted on server with given IP number xxx.xxx.xxx.xxx
    media and streaming application are hosted on server with IP number yyy.yyy.yyy.yyy
    generally speaking:
    will yyy media server accept connection from xxx client ?
    will xxx client accept streams from yyy server ?
    I urgently need this information as I need to decide some specific media streaming solution for the customer.
    Of course - I mean both servers being hosted (virtual) services rented by the customer at third party provididers.
    Please feedback asap!
    Thank you!

    Yes this should not be an issue , a client from "xxx" can connect to FMS at "yyy" and stream the data. There should not be problem at both ends.

  • MPMovieplayer for stream video from server

    Hello all,
    I want to stream video from server.So for that i am using mpmovieplayer.but its not load the video from server. I am try with http://km.support.apple.com/library/APPLE/APPLECAREALLGEOS/HT1211/sampleiTunes.mov but its not load in mpmovieplayer.
    Thank you...
    Message was edited by: diyora

    Hello all,
    I am now able to load video from server successfully.Now i want to play this video recursively so for that i am used MPMoviePlayerPlaybackDidFinishNotification notification & again play my movieplayer. But its work in sdk 3.2 only. When i switch to sdk 4.2 then stop the video playing recursively.
    Thank you...

  • Use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP

    I have created a live stream of a video and it gets stored in live folder.
    Now i need to use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP, publish the streams to the HTTP Live Packager service on Flash Media Server.
    So what necessary steps do I  need to follow to do that ??

    You need to generate a manifest file using Configurator tool and placed it under the webroot directory.
    C:\Program Files\Adobe\Flash Media Server 4.5\tools\f4mconfig\configurator

  • Audio streaming in client - server - client  model

    Hi we are developing an application which contains audio chat. all Clients are connected to the server using a plain socket. The message is done through server. No client is in public ip(i.e. no two clients will connect each other directly they have to go through the server only).
    We are incorporating audio chat in this scenario using JMF. But the problem is no client is in public ip. We are able to send the audio stream to the server by using JMF but how to send this stream to the other clients using a socket.
    Please suggest some solution to this problem.
    Thanks in advance.

    Checkout Rogue Amoeba's 'Nicecast', looks like it would do what you want:
    http://rogueamoeba.com/
    I don't have it, but I've been using RA's 'Audio Hijack' for years - solid, well designed, feature rich, constantly improved, great piece of software, great value for money, great company ... and I don't work for them!
    G5 Dual 2.7, MacMini, iMac 700; P4/XP Desk & Lap.   Mac OS X (10.4.8)   mLan:01x/i88x; DP 5.1, Cubase SX3, NI Komplete, Melodyne.

  • Unable to stop browser streaming to the server

    Hi All,
    I am having a problem when using apache fileupload framwork. However I don't think it has to do with this framwork. It's more general upload issue.
    When I upload a file I do the check for its size. I am streaming the request from the browser. If the file gets to large I stop the streaming by closing the streams including the ServletInputStream. Still the browser streams to the server. While my response is ready to be returned to the browser. And is returned when the stream is ready. I think you need to stop the SocketInputStream somehow. I am trying to find out on how to do this. Any suggestions are welcome.
    By the way if close the browser early I get java.net.SocketException: Connection reset
    I am using Websphere Portal. But any example with other server in portlet or non portlet context are okay too.
    Does anyone know a solution to stop the portal from reading the request? In other words stopping the browser from streaming to the server?

    Is there any missing features in your server, see here for mitigation-
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/11edc5d4-c362-4293-86d0-22be5130d448/unable-to-load-workflow-actions-from-server-please-contact-your-server?forum=sharepointcustomizationlegacy
    http://blogs.technet.com/b/rajbugga/archive/2013/04/12/unable-to-load-workflow-actions-from-the-server-please-contact-your-server-administrator.aspx
    http://sharepoint.stackexchange.com/questions/34405/sharepoint-designer-2010-unable-to-load-workflow-actions-from-the-server
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c2f6e646-c753-4bca-baaa-c5da2a05546e/unable-to-load-workflow-actions-from-the-server-in-sharepoint-designer-2010?forum=sharepointcustomizationprevious
    http://www.sharepointed.com/2011/08/16/unable-to-load-workflow-actions-from-the-server/
    http://sharepointconnoisseur.blogspot.com/2013/06/tips-to-resolve-error-unable-to-load.html
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • MMAPI Audio Capture & Streaming To A Server

    HI,
    I want to be able to capture audio through a MMAPI compliant phone and stream it to a server so that web listeners could listen to it live.
    Is there any way in MMAPI to stream the captured audio live to a server?

    Thanks for the replay.I am testing the application with 2.2 version of J2me toolkit. That kit is not supporting to capture the webcam data.It always emulate a blank screen while trying to capture the webcam. Can u suggest is it because the configuration is wrong or the kit is not supporting this feature. Have u able to capture proper images form a web in J2ME 2.5 Beta.

  • Variable bitrates for Live Video Stream through DSS

    I was wondering if there was a way I could do a live broadcast using QuickTime Broadcaster and Darwin Streaming Server (DSS) so that users viewing the live feed see it at different bitrates according to their internet connection.
    I've been looking through the administrator's guide, but it doesn't say anything about doing reference movies with live broadcasts so I wanted to ask here.
    Dell Server, iBook G4 with QT Broadcaster   Other OS   Debian GNU/Linux 3.1 running DSS 5.5.1 using latest QuickTime Broadcaster

    Would I have significant performance problems with QT Broadcaster encoding the same video at three different rates?
    Not really since you'd be using three separate Macs with three separate copies of QT Broadcaster. Of course you'll need sufficient bandwidth in your network/Internet connection to handle the number of feeds you expect. I haven't tried to plug a single FW camera into three separate Macs at once, though in theory it should work (I did it with two once just as an experiment and it seemed to work OK).

  • J2ME stream connection status -18

    Hi,
    I'm trying with an j2me application to the internet, it works
    fine with the jsme toolkit.. but running on the mobile device
    I keep getting an IOExecption while connecting with status -18
    What does status -18 mean ?
    thnx

    umm.... what device :|nokia 7650, j2me compatible CLDC, MIDP and Personal Java supported
    what are you trying to do :|connect from the mobile phone to an server (streaming socket based)
    post some code!!!
    StreamConnection mConnection;
    try
      mConnection = (StreamConnection) Connector.open("socket://host:port", Connector.READ_WRITE);
    catch (IOException e) {
      System.out.println( "Error: " + e );
    }This will give an IOException with status code -18,
    which offcourse doens't mean anything to me.
    But it does work when run in the J2ME toolkit.
    thnx

  • Movie streaming from one server to many Apple TV

    Hi guys, I want to buy an Apple TV for each TV in a very big house. Is it possible to stream a movie (the same or different) from a pc or server (with iTunes) to more than five Apple TV?

    it can play
    H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    from media located in a itunes lib on the same LAN not over the internet well it may depend on which ports and how transparent a vpn is but
    doubt the atv2 is a good option for you
    maybe a netbook'ish weak computer connecting to a terminal server citrix or the likes would work better

  • Media Streaming in Windows Server 2012 R2 Essentials Quality not good !

       I have media in windows 8.1 workstation. Made a VM on it (win2012r2) + made a Essentials and Media pack and enabled the highest quality streaming ("best").
       When I test the test 34 mb video on lumia 1520 I find that quality is very degraded. I studied that if you set the highest quality the processor should be good otherwise there would be effect of buffering and lags. But in my case, only problem
    my 720p video seems like 240p and no pauses or lags.
       Is there a way to improve that ? ( I have strong Wifi Router to handle the bandwidth ).
       Everything above started from the fact that I could not browse my media files by opening a pc share folder from lumia 1520. if I could open the share folder, I could instantly copy and play from there while I am roaming.
      That leaves me to the only option to attach USB, copy data and then test each new video, which is very slow process wise.
    Shahid Roofi

    You are serving media from an essentials VM on a win 8 box?  Did I get that right?  In any case.  Media Streaming is not a real strong point for essentials.  I would look at Serviio or Plex
    Grey

  • Communication between J2ME MIDlet and J2SE server

    In my project I need to be able to exchange SMS messages between a J2ME MIDlet and a J2SE server? Is that possible? I tried the following:
    I included the CLDC, MIDP and WMA libraries in the classpath of my J2SE server and tried to use the wireless messaging API in the J2SE server. I get the following error message while trying to establish a MessageConnection:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.midp.Configuration.getProperty0(Ljava/lang/String;)Ljava/lang/String;
         at com.sun.midp.Configuration.getProperty0(Native Method)
         at com.sun.midp.Configuration.getProperty(Configuration.java:34)
         at com.sun.midp.io.InternalConnector.<clinit>(InternalConnector.java:91)
         at javax.microedition.io.Connector.open(Connector.java:158)
         at javax.microedition.io.Connector.open(Connector.java:138)
         at javax.microedition.io.Connector.open(Connector.java:120)
    Can anybody provide any suggestions?

    The communication should be done through these ports: https://social.technet.microsoft.com/Forums/windowsserver/en-US/6de9c3f0-2841-4a74-80bb-46a02779124b/which-tcp-ports-does-a-workstation-use-to-authenticate-to-ad-and-get-group-policy?forum=winserverNIS
    To have better visibility, you can setup a network sniffer like Wireshark and observe the traffic.
    As the ADFS and DCs will be located in the same LAN then it should be okay as no filtering should be done (Unless if this is done on local firewalls of the servers).
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Stream based socket , server implementation

    Please help me with this simple server and socket problem.
    SERVER_
    package com.supratim;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class SocketServer {
         private static ServerSocket server;
         public static void main(String[] args) throws IOException {
              server = new ServerSocket(9999);
              new SocketServer().go();
         private void go() throws IOException {
         while(true) {
              Socket socket = server.accept();
              DataInputStream dataInputStream = new DataInputStream(socket.getInputStream());
              DataOutputStream dataOutputStream = new DataOutputStream(socket.getOutputStream());
              byte[] buff=new byte[dataInputStream.available()];
              int i;
              while((i=dataInputStream.read())>0) {
                   dataInputStream.read(buff, 0, buff.length);
              String inputMessage="INPUT MESSAGE OBTAINED : "+new String(buff);
              byte[]outputBuffer = inputMessage.getBytes();
              dataOutputStream.write(outputBuffer);
              dataOutputStream.flush();     
              socket.close();
    CLIENT+
    package com.supratim;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.Socket;
    import java.net.UnknownHostException;
    public class SocketClient {
         public static void main(String[] args) throws UnknownHostException, IOException {
              new SocketClient().go();
         private void go() throws UnknownHostException, IOException {
              Socket socket = new Socket("localhost",9999);
              InputStream dataInputStream = socket.getInputStream();
              OutputStream dataOutputStream = socket.getOutputStream();
              String inputMessage="ABCDEFGHIJKLMNOPQRSTWXYZ";
              byte[]outputBuffer = inputMessage.getBytes();
              dataOutputStream.write(outputBuffer);
              dataOutputStream.flush();     
              byte[] buff=new byte[dataInputStream.available()];
              int i;
              while((i=dataInputStream.read())>0) {
                   dataInputStream.read(buff, 0, buff.length);
              System.out.println("RESPONSE : "+new String(buff));
              socket.close();
    }When I try to connect to the SERVER from CLIENT, nothing happens. As soon as I terminate the CLIENT, the following stack trace comes...
           Exception in thread "main" java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(SocketInputStream.java:168)
            at java.net.SocketInputStream.read(SocketInputStream.java:182)
            at java.io.FilterInputStream.read(FilterInputStream.java:66)
            at com.supratim.SocketServer.go(SocketServer.java:26)
            at com.supratim.SocketServer.main(SocketServer.java:14)Please tell me, am I missing something??
    I dont want to use PrintWriter,BufferedReader,BufferedWriter...

    jverd wrote:
    supratim wrote:
    jverd wrote:
    supratim wrote:
    tjacobs01 wrote:
              while((i=dataInputStream.read())>0) {
                   dataInputStream.read(buff, 0, buff.length);
              }This is your problem. InputStream.read is going to block progressif it is so...how am I suppose to check the end of the stream....what is the way out??I'm not really sure what problem you're having or what you're asking. However, if your problem is that you want your server to be able to accept new connections while it's servicing an earlier conneciton--that is, service multiple requests at once--then, clearly, you need to use multiple threads. At the very least, one for accepting connections and one for servicing the requests that come on those connections.The problem is when the client is connecting to send a message as a byte stream...the message does not reach there..eventually the connection resets... why is that?? which part of the SocketServer is being blocked...and what is its way out??
    Let's say it is used in a single threaded environment..only one client is connecting at a time...Does the client flush()? Does it close() the Socket's OutputStream?
    If you don't flush(), data that you have sent may not be received.
    If you don't close(), the server won't know the client is done sending, so he'll never get the -1.
    (Or, alternative to calling OutputStream.close(), you could call Socket.shutdownOutput(), I think.)
    Edited by: jverd on Jul 12, 2011 10:49 AMplease check the code...flushing...closing are all there...

  • How to create JDBC connection in J2ME with MS-SQL server?

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

Maybe you are looking for

  • SOUND for Macbook Pro to emerson TV! HELP

    I just recieved an Emerson HDTV and am trying to connect it to my Macbook Pro.  By using an HDMI2 cable, I have picture.  But, I cannot get the sound.  I have plugged in an audio cable (don't know the name of it but it is the type that fits into the

  • HP ENVY 5530 will NOT print in win 8.1

    New HP ENVY 5530 wireless printer bought 2 days ago. Will NOT print a single document in Windows 8.1. It's scanning perfectly, I can also print from my Android HP eprint App perfectly. The printer is showing as connected and working properly (as evid

  • Spotlight/Gaming Sweetie Bianca made her MSI Brand Ambassador debut

    (MSI eSport News Report)2014 MSI continuedto popularizing the global professional Electronic Sport (eSport) and made every effort to supporting the worldwide selected eSport gamers and eSport teams. Last year MSI sponsored a popular female eSport pla

  • String contains class name: how to use it for creating new objects

    Hi All I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example: String s = "MyClass" ; MyClass mc = new s() ; // or: s mc = new s() ; if ( mc instanceof s ) { ....

  • Printing photos in IPhoto 9

    When picture is selected to print a message says that a theme must be selected. How do I get to the theme selection page.