Tv channels stream live on Apple tv

Hello there ...
Apple has changed the way they listen to music, Apple has changed the way we read books, Apple has changed the way we learn and many other things that our life has become easier ...but I expect like many others a new way to watch tv yes we have now Apple Tv , we can watch new movie from iTunes or Netflix and other channels, thats great but what i expect and many expect more than this ?? ??
I want to get rid of cable TV, i pay a subscription to a cable company who offer 50 TV channels of which I am interested in only five , I just want to watch my favorite channels for example 2, 3 channels from France, 2  from Spain, 3 from USA and one from Brazil why not .... but how ??? i try some aplication on iPad or iPhone to watch channels but i didnt find what i really wanna watch and im thinking why Apple dont change this and im sure we can change the way to watch Tv , and i have an ideea and im sure Apple can do it ... just create a new stand ,can be just iTv where on the same sistem like newsstand i can subscribe to my favorite channels and Apple can create a sistem to stream live many TV channels and its so easy to watch your favorite tv live everywhere in iPhone or iPad and take it with you when you travel why not ??? and  we can do the same on apple tv to have this posibility to subscribe and watch your favorite channels live stream that will be really great !!!!!!!
Im sure this ideea its not now and probably somebody think of this before but Apple can do this and i think this is the future way to watch tv , many channels already make live straming on internet and will be really interesting to find all tv channels into a stand where we can choose tv channels worldwide watch what we like and pay for what we want to see on Apple tv , iPad , iPhone , iPod everywhere we want and this will be a way to change how we watch tv for sure ...

This is a user forum. Anyway, as it stands you can purchase tv shows directly on the ATV. It's not simply about an idea, it's a matter of what the networks agree to as well.

Similar Messages

  • When i can see more tv chanels stream live on Apple tv

    Hello there ...
    Apple has changed the way they listen to music, Apple has changed the way we read books, Apple has changed the way we learn and many other things that our life has become easier ...but I expect like many others a new way to watch tv yes we have now Apple Tv , we can watch new movie from iTunes or Netflix and other channels, thats great but what i expect and many expect more than this ?? ??
    I want to get rid of cable TV, i pay a subscription to a cable company who offer 50 TV channels of which I am interested in only five , I just want to watch my favorite channels for example 2, 3 channels from France, 2  from Spain, 3 from USA and one from Brazil why not .... but how ??? i try some aplication on iPad or iPhone to watch channels but i didnt find what i really wanna watch and im thinking why Apple dont change this and im sure we can change the way to watch Tv , and i have an ideea and im sure Apple can do it ... just create a new stand ,can be just iTv where on the same sistem like newsstand i can subscribe to my favorite channels and Apple can create a sistem to stream live many TV channels and its so easy to watch your favorite tv live everywhere in iPhone or iPad and take it with you when you travel why not ??? and  we can do the same on apple tv to have this posibility to subscribe and watch your favorite channels live stream that will be really great !!!!!!!
    Im sure this ideea its not now and probably somebody think of this before but Apple can do this and i think this is the future way to watch tv , many channels already make live straming on internet and will be really interesting to find all tv channels into a stand where we can choose tv channels worldwide watch what we like and pay for what we want to see on Apple tv , iPad , iPhone , iPod everywhere we want and this will be a way to change how we watch tv for sure ...

    No need to repost

  • HT4437 How do you stream live tv from an abc app from my iPad 4 retina to my tv using Apple TV?

    How do you stream live tv from an abc app from my iPad 4 retina to my tv using Apple TV?

    you use airplay mirror
    if that does not work then it's because the app block the feature
    how you turn on airplay mirror
    http://support.apple.com/kb/ht5209

  • Can Elgarto TV Diversity stream live TV to Apple TV?

    Hi, I know I can save TV to folders and then later stream to Apple TV but can I stream live TV from iMac to Apple TV?

    Douglas Hancock1 wrote:
    can I stream live TV from iMac to Apple TV?
    no.

  • Is it possible o stream live video from an ipad to an apple tv

    is it possible to stream live video from an ipad to an apple tv?

    http://support.apple.com/kb/HT4437
    Regards.

  • Can stream movies; cannot stream live video to Apple TV

    Hi all,
    I have a new Apple TV and a 3rd generation iPad. I can stream movies to the Apple TV, but I can't stream live video (through Camera app), nor can I stream or mirror presentations from Keynote. I'm at a loss. Any suggestions?
    Thanks.
    John

    Nevermind- figured it out.  Streaming movies does not require you to activate mirroring.  Presenting Keynote presentations and live video DOES!  Duh....

  • Stream Live Video + Audio to Apple TV - No Audio

    Hello, I am trying to setup an adhoc video conferencing solution
    Streaming Live Video + Audio from a lecture theatre to a breakout room in the same building
    So far I have tried 3 approaches over Airplay:
    1: iPad Air (8.1) (as a camera + microphone) using the built in video app to stream to a Mac Mini (Yosemite), using Reflector
    2: iPad Air (8.1) (as a camera + microphone) using the built in video app to stream to an Apple TV
    3: Webcam connected to a Mac Mini to stream to an Apple TV
    All 3 options show the Video however I can't hear the audio
    I know that the audio is working because if I record a clip and play it back you can hear the audio on the TV
    Can anybody recommend some software, either for the iPad or the Mac which would allow me to transmit the Video + Audio Live?
    My preference is not to use a web based system, so that all data is kept on the local network
    Thank you in advance for your help
    Jeremy

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • Cast in DMM integrated to IPTV----need some tips to improve the channel streams through 4400 DMP. Now the channel streams look little pixelated. Video not sharp...

    Hi,
    Some one kindly suggest a solution for the below issue.
    In one of my customer places we are using the Cast module in DMM 5.2.2 to integrate with the IPTV.
    So the IPTV channel streams when it comes to the LCD its not sharp.
    The feeds are a bit pixelated and also the scrolling news texts from the IPTV channels looks a little weird.
    When we browse the channels using the remote from the Menu the streams coming on the small window on the LCD screen is good but when we put the video to full-screen this pixelation happens.
    The streams are decoded using 4400 DMP and using HDMI connection.
    The receiver used is D9854 and the DCM used is D9900.
    I tried by changing the DMP display parameters but this was not resolved.
    We checked the DCM parameters and verified. The DCM parameters are correct and  when we stream the channels using VLC on our laptop the stream is good.
    So I kindly request to suggest some of the rectification techniques and as such we can resolve this

    JD - I appreciate the feedback - as an update, the customer is still adamant that the DMP is to be used only for digital signs and that now he expects Cast to run on all his PCs (I'm thinking Show and Share is the solution for this).  I try to only "know what I know" and not assume certain things - but this language seems pretty clear:
    "Features of Cisco Cast help your organization to deliver video-on-demand and live broadcast TV channels over IP networks to presentation systems that you connect to DMPs."
    http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_2/dmm/user/guide/cast/welcome.html
    To me that implies that cast delivery is done explicitly through DMPs but doesn't come out and *say specifically* such - but the way I remember doing it - you just publish your Cast setup to the DMP - there is no "cast server" that you can browse to per se and manipulate the guide, etc in that manner.  I'm always open to the idea that there's something I don't know - the IT business has humbled me many times - but this seems awfully straight forward to me.
    I'm stuck with the 2200's for cast - I have to try and make them work.  I assume the procedure is to link a stream to a multicast group address, then configure that as a channel target within Cast?  Never done it for real before - need to know by tomorrow ~noon.  Is there any reason why the 2200s would simply NOT work?
    Have you had success with remote control emulation?  I don't even know if the customer has UCM, but I have been informed that Cast is controllable by a mouse or keyboard (another assertion I'm 99.999% is incorrect) so I need to quit worrying about a remote.
    If I sound terrified, it's because I am.  Thanks for all the help.  I'm not confused yet because so far I've been right about everything I think I know, but when expectations don't line up with reality, that's when things get uncomfortable.

  • Streaming Live Video using Flash Media Encoder/Flash Media Streaming Server

    We currently get a video feed from local cable channel that gets streamed live to our internet website. It gets encoded first on our Windows 2003 server running Windows Media Encoder and then gets published on another Windows 2003 server running Windows Media Services. We are trying to replace these two servers with another solution and the two things driving this project are:
    1. These two servers are coming to an end of life cycle so we need to replace the hardware and upgrade the OS.
    2. They currently only support Windows compatible file formats. Just like other organizations out there, iPAD users are popping up and they want to view these video streaming from their iPAD.
    That's why we are looking at Adobe Flash Media Encoder3 and Flash Media Streaming Server 4.5. My questions for the experts out there are:
    1. Can Adobe Flash Media Encoder and Adobe Flash Media Streaming Server can replace our current solution?
    2. Do we need both Flash Media Encoder and Flash Media Streaming Server or can Flash Media Streaming Server also can encode video feed?
    3. Can Flash Media Encoder and Flash Media Streaming Server can run on the same server?
    4. Our Windows Media Services server also has few on-demand publishing points along with a live video streaming. Can above mentioned Adobe products support having live streaming publishing point along with on-demand video publishing points?
    5. Does Adobe Flash Media Encoder only support Flash and Quicktime or does it also support .wmv?
    I called the sales to find the answers to these questions but he basically read the features listed on the Adobe product website and couldn't really answer these questions.
    Any help in find the answers to these questions will be greatly appreciated.
    Thanks you.

    FYI - I was able to do it by using the "onFI" handler of the embedded NetStream object.
    myVideo.addEventListener(fl.video.VideoEvent.STATE_CHANGE, onVideoStateChange);
    function onVideoStateChange(evt:fl.video.VideoEvent)
      // trace("State = " + evt.state);
      if ( evt.state == "playing" )
      if (!ns)
      ns = myVideo.getVideoPlayer(evt.vp).netStream;
      ns.client.onFI = onFIHandler;
    function onFIHandler(infoObj:Object):void
      var ts:String = infoObj.st;
      trace("system time: " + ts);
      ExternalInterface.call("updateTimeStamp", ts);

  • Using iTunes/Airplay for streaming live audio/video on local network?

    I'm wondering if I can use iTunes to stream live audio and/or video to other computers, Airport Express, or Apple TVs on a local wifi network. I'm willing to jailbreak or hack anything if necessary.
    So this is what I am hoping to do:
    Camera-->Streaming Computer-->Airplay-->Local Wi-fi network-->Devices recieving audio/video

    This device should be doing UPnP by default so you will not need most of the info on this page.
    What the Link does have is the default access info and pictures.
    In the Wan page turn Off the DOS or SPI firewall. (it will have one or the other)
    Check in the Box to Disable.
    Save Settings.
    If this device is behind a Cable modem then also Allow it to Respond to Internet Pings on the same page.
    (this a Check the Box to Do)
    Save settings (Again if you did them above)
    7:30 PM Monday; April 28, 2008

  • "Is their a way to stream live internet radio on the ipod touch?"

    "Is their a way to stream live internet radio on the ipod touch?"

    I use This one, but it's limited to Clear-Channel stations.
    As deggie said, there are a lot of them now.
    Scott

  • Can the new imac stream live tv?

    I am thinking of buying an imac, but also tv. Can i stream live tv from the new imac?

    Well it depends on what your trying to Ty. You can offer all sorts of things up like Airplay
    https://www.apple.com/airplay/
    Or even think of purchasing an Apple TV
    http://www.apple.com/appletv/
    There's simplistic screen sharing as well if you had movies on the iMac and so on, you could just drag and drop the video player.
    Let me know what you think of these features and if your looking for something more ^_^

  • Stream live tv to laptop

    I'm so done reading endless and useless information on here for something that is extremely simple with other providers....HOW THE HELL DO YOU STREAM LIVE TV TO A LAPTOP???  I dont want to go through a ton of banners again only to find tv episodes that I can choose from, I want to watch what is currently playing on the network station. Any clues???

    Hey rjperry2012 -
    True, the live streams available in the FiOS Mobile app are not available for streaming to desktop computers.
    However, you can watch all of these channels live at My Verizon, provided that you sign in with your UserID and password, and you are in a FiOS TV package that includes the channel you are trying to watch.
    Some of these channels have East/West live streams you can pick from.
    Also, these programmers generally have their own websites and apps where you can sign in and watch the live streams as well. And some (like Showtime) don't stream live at My Verizon but do stream live at their own site / app.
    ESPN     http://entertainment.verizon.com/tv/3/network/vendor/ESPN/
    ESPN2   http://entertainment.verizon.com/tv/3/network/vendor/ESPN2/
    ESPN3   http://entertainment.verizon.com/tv/3/network/vendor/ESPN3/
    ESPNU  http://entertainment.verizon.com/tv/3/network/vendor/ESPNU/
    ESPNEWS            http://entertainment.verizon.com/tv/3/network/vendor/ESPN%20News/
    ESPN Deportes http://entertainment.verizon.com/tv/3/network/vendor/ESPN%20Deportes/
    ESPN Goal Line/Buzzer Beater   http://entertainment.verizon.com/tv/3/network/vendor/ESPN%20Goal%20Line
    ABC        http://entertainment.verizon.com/tv/3/network/vendor/ABC/
    ABC Family          http://entertainment.verizon.com/tv/3/network/vendor/ABC%20Family
    Disney Channel http://entertainment.verizon.com/tv/3/network/vendor/Disney%20Channel/
    Disney XD            http://entertainment.verizon.com/tv/3/network/vendor/Disney%20XD/
    Disney Junior     http://entertainment.verizon.com/tv/3/network/vendor/Disney%20Junior/
    FOX News           http://entertainment.verizon.com/tv/3/network/vendor/Fox%20News/
    FOX Business     http://entertainment.verizon.com/tv/3/network/vendor/Fox%20Business/
    CNN       http://entertainment.verizon.com/tv/3/network/vendor/CNN/
    HLN        http://entertainment.verizon.com/tv/3/network/vendor/HLN/
    TNT        http://entertainment.verizon.com/tv/3/network/vendor/TNT/
    TBS         http://entertainment.verizon.com/tv/3/network/vendor/TBS/
    Tru TV   http://entertainment.verizon.com/tv/3/network/vendor/truTV/
    Adult Swim         http://entertainment.verizon.com/tv/3/network/vendor/Adult%20Swim/
    Cartoon Network             http://entertainment.verizon.com/tv/3/network/vendor/Cartoon%20Network/
    TCM       http://entertainment.verizon.com/tv/3/network/vendor/TCM/
    NFL Network     http://entertainment.verizon.com/tv/3/network/vendor/NFL%20Network/
    NFL RedZone     http://entertainment.verizon.com/tv/3/network/vendor/NFL%20RedZone/
    Mun2    http://entertainment.verizon.com/tv/3/network/vendor/Mun2/
    Bravo    http://entertainment.verizon.com/tv/3/network/vendor/Bravo/
    USA       http://entertainment.verizon.com/tv/3/network/vendor/USA%20Network/
    Syfy       http://entertainment.verizon.com/tv/3/network/vendor/Syfy/
    Oxygen                http://entertainment.verizon.com/tv/3/network/vendor/Oxygen/
    E!            http://entertainment.verizon.com/tv/3/network/vendor/E%21%20Pop%20of%20Culture/
    Sprout  http://entertainment.verizon.com/tv/3/network/vendor/Sprout/
    CNBC     http://entertainment.verizon.com/tv/3/network/vendor/CNBC/
    MSNBC http://entertainment.verizon.com/tv/3/network/vendor/MSNBC/
    Esquire http://entertainment.verizon.com/tv/3/network/vendor/Esquire%20Network/
    Golf Channel      http://entertainment.verizon.com/tv/3/network/vendor/Golf%20Channel/
    NBC Sports Network      http://entertainment.verizon.com/tv/3/network/vendor/NBC%20Sports%20Network
    Tennis Channel http://entertainment.verizon.com/tv/3/network/vendor/Tennis%20Channel/

  • I am new and need help --- Streaming live video

    Hello,
    I am attempting to stream live video from my Trendnet TV-IP 201 cameras through my web site. We have been able to embed the xplug.class applet into the page, but we can not remove the controls. If someone has any knowledge on this, please help us out. Thanks in advance for the help.
    Edited by: bill23stevens on Oct 15, 2007 11:28 AM

    I have the same problem, need to show and capture the video from Trendnet IP-camera and the same xplug.jar that sits in the camera is decompiled here:
    // Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 17.12.2007 11:20:28
    // Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name:   xplug.java
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Properties;
    import javax.sound.sampled.*;
    import javax.swing.JFileChooser;
    import javax.swing.JOptionPane;
    public class xplug extends Applet
        implements ItemListener, ActionListener, Runnable
        class TStreaming
            public void seturl(String s, String s1)
                try
                    if(s.indexOf(":") > 0)
                        m_urlRemoteHost = new URL("http://" + s);
                    else
                        m_urlRemoteHost = new URL("http://" + s + ":" + s1);
                catch(MalformedURLException malformedurlexception)
                    System.err.println("MalformedURLException : " + malformedurlexception);
            public void init(xplug xplug1)
                m_urlRemoteHost = xplug1.getCodeBase();
                m_sRemoteHost = m_urlRemoteHost.getHost();
                if(m_urlRemoteHost.getPort() <= 0)
                    m_iRemotePort = new Integer(80);
                else
                    m_iRemotePort = new Integer(m_urlRemoteHost.getPort());
                m_iTimeout = Integer.valueOf(xplug1.getParameter("Timeout"));
            public void init(String s, String s1, int i)
                m_iRemotePort = new Integer(s1);
                m_sRemoteHost = s;
                m_iTimeout = new Integer(i);
            public boolean InitRequest(String s)
                if(s.equals("/goform/video2"))
                    m_stream_type = 1;
                else
                if(s.equals("/goform/audio2"))
                    m_stream_type = 2;
                else
                    return false;
                m_sRequest = "";
                m_sRequest = m_sRequest + "GET " + s + " HTTP/1.0\r\n";
                m_sRequest = m_sRequest + "User-Agent: java-mobile\r\n";
                m_sRequest = m_sRequest + "Authorization: Basic " + xplug.DeviceSerialNo + "\r\n";
                m_sRequest = m_sRequest + "\r\n";
                m_bIsConnect = false;
                return true;
            public boolean OpenSession()
                try
                    m_sktClient = new Socket(m_sRemoteHost, m_iRemotePort.intValue());
                    m_sktClient.setSoTimeout(m_iTimeout.intValue());
                    m_Input = new DataInputStream(m_sktClient.getInputStream());
                    m_Output = new DataOutputStream(m_sktClient.getOutputStream());
                    m_bIsConnect = true;
                catch(IOException ioexception)
                    m_bIsConnect = false;
                return m_bIsConnect;
            public void CloseSession()
                try
                    m_Input.close();
                    m_Output.close();
                    m_sktClient.close();
                    m_bIsConnect = false;
                catch(Exception exception) { }
            public boolean SendRequest()
                try
                    if(m_numsend < 3)
                        m_Output.write(m_sRequest.getBytes(m_charset));
                        m_numsend++;
                catch(Exception exception)
                    System.err.println("<err>:SendRequest =" + exception);
                    return false;
                return true;
            public int subParameter(String s)
                String s1 = s;
                int k1 = 0;
                String s8 = "\r\n\r\n";
                String s9 = "\r\n";
                String s10 = "";
                String s11 = "";
                String s13 = "";
                do
                    int j1 = s1.indexOf(s8);
                    int i1 = s1.indexOf(s9);
                    if(j1 == i1)
                        String s2 = s1.substring(0, i1);
                        int i = s2.indexOf(":");
                        if(i > 0)
                            String s4 = s2.substring(0, i).toLowerCase();
                            String s6;
                            if(s4.compareTo("content-type") == 0)
                                s6 = s2.substring(i + 1, i1).trim();
                            else
                            if(s4.compareTo("content-length") == 0)
                                String s15 = s2.substring(i + 1, i1).trim();
                                Integer integer2 = new Integer(Integer.parseInt(s15));
                                m_len = integer2.intValue();
                        } else
                        if(s2.indexOf("HTTP") >= 0)
                            int j = s2.indexOf(" ");
                            s2 = s2.substring(j + 1, i1);
                            j = s2.indexOf(" ");
                            s2 = s2.substring(0, j);
                            Integer integer = new Integer(Integer.parseInt(s2));
                            k1 = integer.intValue();
                        break;
                    String s3 = s1.substring(0, i1);
                    int k = s3.indexOf(":");
                    if(k > 0)
                        String s5 = s3.substring(0, k).toLowerCase();
                        String s7;
                        if(s5.compareTo("content-type") == 0)
                            s7 = s3.substring(k + 1, i1).trim();
                        else
                        if(s5.compareTo("content-length") == 0)
                            String s16 = s3.substring(k + 1, i1).trim();
                            Integer integer3 = new Integer(Integer.parseInt(s16));
                            m_len = integer3.intValue();
                        } else
                        if(s5.compareTo("time") == 0)
                            s10 = s3.substring(k + 1, i1).trim();
                        else
                        if(s5.compareTo("usec") == 0)
                            String s12 = s3.substring(k + 1, i1).trim();
                            if(s12.length() < 6)
                                s12 = "0" + s12;
                            Long long1 = new Long(Long.parseLong(s10 + s12));
                            Date date = new Date(long1.longValue() / 1000L);
                            m_sDate = df.format(date);
                        } else
                        if(s5.compareTo("userdata") == 0)
                            String s14 = s3.substring(k + 1, i1).trim();
                            try
                                m_sStatus = Long.decode(s14).longValue();
                            catch(NumberFormatException numberformatexception)
                                System.err.println("m_sStatus decode failed");
                    } else
                    if(s3.indexOf("HTTP") >= 0)
                        int l = s3.indexOf(" ");
                        s3 = s3.substring(l + 1, i1);
                        l = s3.indexOf(" ");
                        s3 = s3.substring(0, l);
                        Integer integer1 = new Integer(Integer.parseInt(s3));
                        k1 = integer1.intValue();
                    s1 = s1.substring(i1 + 2, s1.length());
                } while(true);
                return k1;
            public int ParseHttp()
                int j;
    label0:
                    j = 0;
                    int k = 0;
                    String s = "\r\n\r\n";
                    String s1 = "\r\n";
                    StringBuffer stringbuffer = new StringBuffer("");
                    try
                        do
                            int i;
                            if((i = m_Input.read()) != -1)
                                k = 0;
                                stringbuffer.append((char)i);
                                continue;
                            if(k > 10)
                                j = subParameter(stringbuffer.toString());
                                System.err.println("<err>: ParseHttp Retry j>10 ret=" + j);
                                break label0;
                            Thread.currentThread();
                            Thread.sleep(50L);
                            k++;
                        } while(stringbuffer.toString().indexOf(s) <= 0);
                        j = subParameter(stringbuffer.toString());
                    catch(Exception exception)
                        System.err.println("<err>: ParseHttp error " + exception);
                        m_numsend--;
                        return -1;
                m_numsend--;
                return j;
            public void GetAudioHead(byte abyte0[], TAUHeader tauheader)
                byte abyte1[] = new byte[4];
                byte abyte2[] = new byte[2];
                tauheader.depth = abyte0[0];
                tauheader.channel = abyte0[1];
                tauheader.adpcm = abyte0[2];
                for(int i = 0; i < 4; i++)
                    abyte1[i] = abyte0[4 + i];
                tauheader.speed = xplug.byte2int(abyte1);
                tauheader.ref1 = abyte0[8];
                abyte2[0] = abyte0[10];
                abyte2[1] = abyte0[11];
                tauheader.ref2 = xplug.byte2short(abyte2);
                for(int j = 0; j < 4; j++)
                    abyte1[j] = abyte0[12 + j];
                tauheader.size = xplug.byte2int(abyte1);
            public int ReadData(byte abyte0[])
                try
                    m_Input.readFully(abyte0, 0, m_len);
                catch(Exception exception)
                    return -1;
                return m_len;
            public int ReadData(byte abyte0[], TAUHeader tauheader)
                if(m_len < 16)
                    return -1;
                try
                    if(m_stream_type == 2)
                        m_Input.readFully(abyte0, 0, 16);
                        GetAudioHead(abyte0, tauheader);
                        m_Input.readFully(abyte0, 0, m_len - 16);
                catch(Exception exception)
                    return -1;
                return m_len;
            public int uuencode(String s)
                char ac[];
                int i;
                int i1;
                int j1;
                char ac1[];
                String s1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
                ac = new char[s1.length()];
                ac = s1.toCharArray();
                boolean flag = false;
                boolean flag2 = false;
                long l = 0L;
                boolean flag3 = false;
                i1 = 0;
                j1 = 0;
                buf.setLength(0);
                if(s.length() < 2)
                    return -1;
                i = s.length();
                ac1 = new char;
    ac1 = s.toCharArray();
    _L6:
    boolean flag1;
    int j;
    long l1;
    int k;
    flag1 = false;
    j = 0;
    l1 = 0L;
    k = 0;
    _L2:
    if(i <= 0 && j == 0)
    break MISSING_BLOCK_LABEL_256;
    long l4;
    if(i > 0 && !flag1)
    l4 = ac1[i1++];
    if(--i < 0)
    flag1 = true;
    j1 = j;
    l4 = 0L;
    } else
    flag1 = true;
    j1 = j;
    l4 = 0L;
    if(!flag1 || j != 0)
    long l2 = l4;
    l1 = l1 << 8 & 65535L;
    j += 8;
    l1 = (l1 | l2) & 65535L;
    _L4:
    if(j < 6) goto L2; else goto L1
    _L1:
    long l5;
    j -= 6;
    long l3 = l1 >> j & 63L;
    int k1 = (int)l3;
    l5 = ac[k1];
    if(k <= 1020) goto L3; else goto L2
    _L3:
    buf.append((char)(int)l5);
    if(flag1)
    j = 0;
    goto _L4
    if(j1 == 2)
    buf.append('=');
    buf.append('=');
    } else
    if(j1 == 4)
    buf.append('=');
    if(i <= 0)
    return 1;
    if(true) goto L6; else goto L5
    _L5:
    final int ST_VIDEO = 1;
    final int ST_AUDIO = 2;
    private String m_charset;
    private String m_sRequest;
    public String m_sRemoteHost;
    private URL m_urlRemoteHost;
    public Integer m_iRemotePort;
    private Integer m_iTimeout;
    private Socket m_sktClient;
    private DataInputStream m_Input;
    private DataOutputStream m_Output;
    public boolean m_bIsConnect;
    public int m_numsend;
    public int m_len;
    public String m_sDate;
    public long m_sStatus;
    private DateFormat df;
    private int m_stream_type;
    public StringBuffer buf;
    TStreaming()
    df = DateFormat.getDateTimeInstance(1, 1);
    buf = new StringBuffer("");
    m_stream_type = 0;
    m_numsend = 0;
    m_charset = "8859_1";
    m_sRemoteHost = "";
    class TAUHeader
    byte depth;
    byte channel;
    byte adpcm;
    int speed;
    byte ref1;
    short ref2;
    int size;
    TAUHeader()
    depth = 0;
    channel = 0;
    adpcm = 0;
    speed = 0;
    ref1 = 0;
    ref2 = 0;
    size = 0;
    public class Adpcm
    public class AdpcmState
    int valprev;
    int index;
    public AdpcmState()
    public String codecName()
    return "DVI ADPCM";
    public int getSampleRate()
    return 8000;
    public Object createState()
    return new AdpcmState();
    public void initState(Object obj)
    ((AdpcmState)obj).valprev = 0;
    ((AdpcmState)obj).index = 0;
    public int decode(Object obj, byte abyte0[], int i, short aword0[], int j, int k, byte byte0,
    short word0)
    byte byte1 = 0;
    boolean flag = false;
    int k1;
    int l1;
    if(byte0 < 0)
    l1 = ((AdpcmState)obj).valprev;
    k1 = ((AdpcmState)obj).index;
    } else
    l1 = word0;
    k1 = byte0;
    int i2 = stepsizeTable[k1];
    k *= 2;
    for(int j2 = k; j2-- > 0;)
    int i1;
    if(!flag)
    byte1 = abyte0[i++];
    i1 = byte1 >> 4 & 0xf;
    flag = true;
    } else
    i1 = byte1 & 0xf;
    flag = false;
    k1 += indexTable[i1];
    if(k1 < 0)
    k1 = 0;
    else
    if(k1 > 88)
    k1 = 88;
    int l = i1 & 8;
    i1 &= 7;
    int j1 = i2 >> 1;
    if((i1 & 4) == 4)
    j1 += i2 << 2;
    if((i1 & 2) == 2)
    j1 += i2 << 1;
    if((i1 & 1) == 1)
    j1 += i2;
    j1 >>= 2;
    if(0 != l)
    l1 -= j1;
    else
    l1 += j1;
    if(l1 > 32767)
    l1 = 32767;
    else
    if(l1 < -32768)
    l1 = -32768;
    i2 = stepsizeTable[k1];
    aword0[j++] = (short)l1;
    ((AdpcmState)obj).valprev = l1;
    ((AdpcmState)obj).index = k1;
    return k;
    private final int indexTable[] = {
    -1, -1, -1, -1, 2, 4, 6, 8, -1, -1,
    -1, -1, 2, 4, 6, 8
    private final int stepsizeTable[] = {
    7, 8, 9, 10, 11, 12, 13, 14, 16, 17,
    19, 21, 23, 25, 28, 31, 34, 37, 41, 45,
    50, 55, 60, 66, 73, 80, 88, 97, 107, 118,
    130, 143, 157, 173, 190, 209, 230, 253, 279, 307,
    337, 371, 408, 449, 494, 544, 598, 658, 724, 796,
    876, 963, 1060, 1166, 1282, 1411, 1552, 1707, 1878, 2066,
    2272, 2499, 2749, 3024, 3327, 3660, 4026, 4428, 4871, 5358,
    5894, 6484, 7132, 7845, 8630, 9493, 10442, 11487, 12635, 13899,
    15289, 16818, 18500, 20350, 22385, 24623, 27086, 29794, 32767
    public Adpcm()
    public class CgiIO
    public boolean isConnect()
    return true;
    private int opensock(String s, String s1)
    try
    URL url = new URL(s + s1);
    int i = url.getPort() == -1 ? 80 : url.getPort();
    if(!s.equals(gurl) || inet == null)
    inet = InetAddress.getByName(url.getHost());
    fw_sktClient = new Socket(inet, i);
    catch(Exception exception)
    System.err.println("<err>: create socket error" + exception);
    return 0;
    return -1;
    public void CgiIO()
    public void CgiIO(String s, String s1)
    gurl = s;
    guri = s1;
    opensock(gurl, guri);
    public void seturl(String s, String s1)
    String s2;
    if(s.indexOf(":") > 0)
    s2 = "http://" + s;
    else
    s2 = "http://" + s + ":" + s1;
    if(!s2.equals(gurl))
    gurl = s2;
    opensock(gurl, guri);
    public void seturi(String s)
    guri = s;
    public String getContent()
    return ini.content;
    public int get()
    try
    URL url = new URL(gurl + guri);
    HttpURLConnection httpurlconnection = (HttpURLConnection)url.openConnection();
    httpurlconnection.setRequestProperty("Authorization", "Basic " + xplug.DeviceSerialNo);
    httpurlconnection.connect();
    if((conlen = httpurlconnection.getContentLength()) > 0)
    m_Input = new DataInputStream(httpurlconnection.getInputStream());
    m_Input.readFully(buf, 0, conlen);
    tStr = new String(buf, 0, conlen);
    ini.content = tStr;
    httpurlconnection.disconnect();
    catch(Exception exception)
    System.err.println(exception);
    return 0;
    return -1;
    public int post()
    boolean flag = false;
    String s = "";
    s = s + "POST " + guri + " HTTP/1.0\r\n";
    s = s + "User-Agent: java-mobile\r\n";
    s = s + "Authorization: Basic " + xplug.DeviceSerialNo + "\r\n";
    s = s + "Content-Length: " + ini.content.length() + "\r\n";
    s = s + "\r\n";
    if(fw_sktClient == null || fw_sktClient.isClosed())
    opensock(gurl, guri);
    fw_sktClient.setReuseAddress(true);
    fw_sktClient.setKeepAlive(true);
    fw_sktClient.setSoTimeout(5000);
    DataOutputStream dataoutputstream = new DataOutputStream(fw_sktClient.getOutputStream());
    BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(fw_sktClient.getInputStream()));
    dataoutputstream.write(s.getBytes());
    dataoutputstream.write(ini.content.getBytes());
    String s1;
    if((s1 = bufferedreader.readLine()) != null)
    if(s1.indexOf("200") > 0)
    flag = true;
    else
    flag = false;
    dataoutputstream.close();
    bufferedreader.close();
    return !flag ? 0 : -1;
    Exception exception;
    exception;
    System.out.println("post exception:" + exception);
    return 0;
    public int postproblem()
    HttpURLConnection httpurlconnection;
    URL url = new URL(gurl + guri);
    System.err.println("1post: ini.content " + ini.content);
    httpurlconnection = (HttpURLConnection)url.openConnection();
    System.err.println("2post: ini.content " + ini.content);
    httpurlconnection.setRequestMethod("POST");
    System.err.println("3post: ini.content " + ini.content);
    httpurlconnection.setDoOutput(true);
    httpurlconnection.setDoInput(true);
    System.err.println("4post: ini.content " + ini.content);
    m_Output = new DataOutputStream(httpurlconnection.getOutputStream());
    System.err.println("5post: ini.content " + ini.content);
    try
    httpurlconnection.setRequestProperty("Authorization", "Basic " + xplug.DeviceSerialNo);
    catch(IllegalStateException illegalstateexception)
    System.err.println("<err><CgiIO>: ignore1 " + illegalstateexception);
    System.err.println("6post: ini.content " + ini.content);
    try
    httpurlconnection.connect();
    break MISSING_BLOCK_LABEL_348;
    catch(IOException ioexception)
    System.err.println("<err><CgiIO>: ignore1 " + ioexception);
    return 0;
    System.err.println("7post: ini.content " + ini.content);
    m_Output.write(ini.content.getBytes());
    httpurlconnection.getResponseCode();
    if(httpurlconnection.getResponseCode() != 200)
    break MISSING_BLOCK_LABEL_456;
    httpurlconnection.disconnect();
    System.err.println("8post: ini.content " + ini.content);
    System.err.println("-1");
    return -1;
    httpurlconnection.disconnect();
    System.err.println("0");
    System.err.println(String.valueOf(httpurlconnection.getResponseCode()) + httpurlconnection.getResponseMessage());
    return 0;
    Exception exception;
    exception;
    System.err.println("<err><CgiIO>: " + exception);
    return 0;
    public int postfile(byte abyte0[], int i)
    return 0;
    public void ClearParameter()
    ini.ClearParameter();
    public String GetConfigValue(String s)
    return ini.GetConfigValue(s);
    public int SetConfigValue(String s, String s1)
    return ini.SetConfigValue(s, s1);
    public String GetConfigValueEx(String s, String s1)
    return ini.GetConfigValueEx(s, s1);
    public int SetConfigValueEx(String s, String s1, String s2)
    return ini.SetConfigValueEx(s, s1, s2);
    public String gurl;
    public String guri;
    private byte buf[];
    private String m_charset;
    private Ini ini;
    private int conlen;
    private String tStr;
    InputStream in;
    OutputStream out;
    DataInputStream m_Input;
    DataOutputStream m_Output;
    private final int SUCCESS = -1;
    private final int FAIL = 0;
    Socket fw_sktClient;
    InetAddress inet;
    int err;
    int ic;
    public CgiIO()
    gurl = "";
    guri = "";
    buf = new byte[3072];
    m_charset = "8859_1";
    ini = new Ini();
    public class Ini
    public void ClearParameter()
    content = "";
    public String GetConfigValueEx(String s, String s1)
    if((i_hos = getSessionHead(s)) >= 0 && (i_tos = getSessionTail(s)) >= 0 && i_tos > i_hos)
    return getItemValue(s1, i_hos, i_tos);
    else
    return "";
    public int SetConfigValueEx(String s, String s1, String s2)
    if((i_hos = getSessionHead(s)) >= 0 && (i_tos = getSessionTail(s)) >= 0 && i_tos > i_hos)
    return setItemValue(s1, s2, i_hos, i_tos);
    } else
    insertString("[" + s + "]" + dlim + s1 + "=" + s2 + dlim, content.length());
    return 0;
    public String GetConfigValue(String s)
    return getItemValue(s, 0, content.length());
    public int SetConfigValue(String s, String s1)
    return setItemValue(s, s1, 0, content.length());
    private int getSessionHead(String s)
    for(int i = 0; (i = getNextLeadingBracket(i)) >= 0;)
    i_sepline = getNextClosingBracket(i);
    t_session = content.substring(i, i_sepline).trim();
    if(t_session.equals(s))
    return i;
    return -1;
    private int getSessionTail(String s)
    for(int i = 0; (i = getNextLeadingBracket(i)) >= 0;)
    if((i_sepline = getNextClosingBracket(i)) >= 0)
    t_session = content.substring(i, i_sepline).trim();
    if(t_session.equals(s))
    if((i = getNextLeadingBracket(i)) > 0)
    return i;
    else
    return content.length();
    return -1;
    private int getNextLeadingBracket(int i)
    i_hol = i;
    for(i_tol = content.indexOf(dlim, i); i_tol < content.length() && i_tol > i_hol; i_tol = content.indexOf(dlim, i_hol))
    t_str = content.substring(i_hol, i_tol).trim();
    if(t_str.charAt(0) == '[')
    return i_hol + 1;
    i_hol = i_tol + 2;
    return -1;
    private int getNextClosingBracket(int i)
    i_hol = i;
    i_tol = content.indexOf(dlim, i);
    i_sepline = content.indexOf("]", i);
    if(i_sepline > 0 && i_sepline < i_tol)
    return i_sepline;
    else
    return -1;
    private String getItemValue(String s, int i, int j)
    i_hol = i;
    for(i_tol = content.indexOf(dlim, i_hol); i_tol < j && i_tol > i_hol; i_tol = content.indexOf(dlim, i_hol))
    i_sepline = content.indexOf("=", i_hol);
    if(i_sepline > 0 && i_sepline < i_tol)
    t_item = content.substring(i_hol, i_sepline);
    if(t_item.trim().equals(s))
    return content.substring(i_sepline + 1, i_tol).trim();
    i_hol = i_tol + 2;
    return "";
    private int setItemValue(String s, String s1, int i, int j)
    i_hol = i;
    i_tol = content.indexOf(dlim, i_hol);
    isChanged = false;
    for(; i_tol < j && i_tol > i_hol; i_tol = content.indexOf(dlim, i_hol))
    i_sepline = content.indexOf("=", i_hol);
    if(i_sepline > 0 && i_sepline < i_tol)
    t_item = content.substring(i_hol, i_sepline);
    if(t_item.trim().equals(s))
    isChanged = true;
    return replaceString(s1, i_sepline + 1, i_tol);
    i_hol = i_tol + 2;
    if(!isChanged)
    insertString(s + "=" + s1 + dlim, j);
    return 0;
    private int insertString(String s, int i)
    StringBuffer stringbuffer = new StringBuffer(content);
    content = stringbuffer.insert(i, s).toString();
    return 0;
    private int replaceString(String s, int i, int j)
    StringBuffer stringbuffer = new StringBuffer(content);
    content = stringbuffer.replace(i, j, s).toString();
    return 0;
    public String content;
    private int i_hol;
    private int i_tol;
    private int i_ho

  • My ipad doesn't want to stream in my apple TV, what to do?

    It use to work, now i updated my Apple Tv and my ipad and now my IPAD music doesn't want to stream to my apple TV how can it get fixed

    Clean the lint/debris from the charging port and plug the cable in.

Maybe you are looking for