RTMP Adaptive switching question

Hello Mr.


I create a flash player using osmf plugin and smilplugin code I found (ofhttps://getstreaming.wordpress.com/2011/05/27/dynamic-streaming-test-drive/#comment-349).


I have a problem when playing SMIL file in my "player customized" through wowza media server.

The question is adaptive switching does not work in my custom player if RTMP protocol, but my custom player play more smil with Adaptive url switching and manual switching (@! http://mediapm.edgesuite.net/OVP/content/Demo/SMIL/elephants_dream.SMIL ).

and also play HDS and HSL streaming through wowza media server.

I appreciate your help.

sample smil file which I use for below Wowza

<? XML version = "1.0" encoding = "UTF-8"? >

< smil >

< head >

< base meta = "_definst_/vod / rtmp://127.0.0.1:1935" / >

< / head >

< body >

<>switch

< src = 'mp4:main360.mp4' video system-bitrate = "200000" / >

< src = 'mp4:main720.mp4' video system-bitrate = ' 480000 "/ >"

< src = 'mp4:sample.mp4' video system-bitrate = ' 720000 "/ >"

< / switch >

< / body >

< / smil >

Hello

Please use following methods to play RTMP SMIL-

private var dynResource:DynamicStreamingResource;

private var tracingNetLoader:TracingNetLoader;

private var element: VideoElement;

private void createSMILObj(str:String):void {}

try {}

var objSMIL:Object = createSMILObj (str); Function give below

var obj:Object is objSMIL ["files"];.

var fileLen:Number = getObjLen (obj); function given below

dynResource = new DynamicStreamingResource (String (objSMIL ["baseURL"]));

vector = new Vector. (fileLen);

for (var i: int = 0; i

Vector [i] = new DynamicStreamingItem(obj[i].src,obj[i].bitrates,obj[i].width);

}

dynResource.streamItems = vector;

tracingNetLoader = new TracingNetLoader();

element = new VideoElement (dynResource, tracingNetLoader);

initPlayer (element);  Pass this object OSMF element and play the video.

} catch (error: Error) {}

trace ("detected in the SMIL XML loading error")

}

}

public static void createSMILObj(_str:String):Object {}

var baseUrl:String;

var smilXML:XML;

var videoList:XMLList;

var mainObj:Object = new Object();

var fileObj:Object = new Object();

var str:String;

var tempArray:Array = _str.split (')");

var tempStr:String = String (")"+ tempArray [1]);

Str = String (tempStr) .split (")<><>

Str = Str.Split (")

Str = Str.Split ("System-Bitrate"). Join ("systembitrate");

smilXML = new XML (str);

baseUrl=smilXML.head.meta.@base;

trace ("base =" + baseUrl);

videoList = smilXML.body.switchs.video;

try {}

for (var i: int = 0; i

.@width fileObj[i]={src:videoList[i].@src,bitrates:videoList[i].@systembitrate,width:videoList[i]};

}

} catch (error: Error) {}

trace ("error detected in SMIL XML File Update...")

}

mainObj ['baseURL'] = baseUrl;

mainObj ["files"] is fileObj;.

Return mainObj;

}

public void getObjLength(obj:Object):Number {}

var number: number = 0;

for (var id in obj) {}

counties ++;

}

return of the counties;

}

Best regards

Sunil Kumar

Tags: Flex

Similar Questions

  • Adapter LAN question, "no access to the network.

    Original title: LAN adapter issue

    Hi all, when connecting my laptop to a switch of the LED on the switch is green which means connected. The IP address on the laptop is entered manually, but when will the cmd and issue ipconfig it shows "media disconnected" and the network adapter in the Control Panel indicates "no access to the network. It also indicates that "this device is working propoerly! Please advice

    Hello

    What is the number and the model of the computer?

    Remember to make changes to the computer before the show?

    Thanks for posting in Microsoft Communities.  The problem description, I understand that you can not connect to the Internet.  Correct me I misunderstood the question

    Follow these steps:

    Method 1: Follow these steps:
    How to troubleshoot possible causes of Internet connection problems in Windows XP:
    http://support.microsoft.com/kb/314095

     

    Method 2: Follow these steps:


    Step 1:
    renew DHCP Dynamic Host Configuration Protocol)
    a. click Start, click run, type cmd and click OK.
    b. in the command prompt, type ipconfig / renew
    c. Close command prompt.
    d. check the result.

     

    Step 2: Try to obtain an IP address automatically
    a. open Internet Explorer, go to Tools, click on Internet Options, connections, LAN settings.

    b. uncheck all boxes except automatically detect connection settings
    c. click OK to apply the changes.
    d. check if the problem persists.

     

    Method 3: If the methods above do not help, check if the wireless card is very well and try to update the drivers on the manufacturer's Web site.

    a. click Start and right-click my computer.
    b. Select Properties and then click the hardware tab.
    c. click on Device Manager and expand network adapters in the list.
    d. right click on the adapter, then click Properties.
    e. click the driver tab and click Update the driver.

    Please follow the steps and let us know if this helped.  If the problem persists, answer and we will be happy to help you.

  • Satellite M40X-183: AC adapter & battery question

    Hi guys

    I would like to ask questions on * TOSHIBA satellite M40X-183 *:

    (1) what is the compatible adapter for it?
    (2) what is the compatible battery for it?
    (3) where can I buy the AC adapter / CC & battery to the United Kingdom?

    Thank you

    Hello

    Some Satellite M40 eventually are also Satellite M40X PA3395U-1BRS-battery (Li-ion, 8 cells, 4300 mAh)-compatible and adaptor PA3471E-1CHG.

    All these parts are in the net.

    Of course, you can order it as the local ASP.

  • AC adapter connector Question

    Hello. I have a t400 with a 90-Watt power supply. The connector of the adapter seems to be exhausted because insulation is heartbreaking and small son are coming out. Also when moving the laptop while it is plugged, it teeters between the battery and AC power.

    Here is a picture of the damage

    Link to photo

    So my question is, is - it safe to continue to use this charger with damage them my laptop? Thank you.

    Note of the moderator; image (s) for a total of > 50 K converted for the programming of the Forum rules

    I would recommend that you stop using this adapter and get a new one.

    A short circuit may cause the adapter to ignite, or your motherboard is fried.

  • TDMS Defrag progress switch Question

    Starting in 2015 from LabVIEW (I think), there is a bundled with LabVIEW example that shows how to defragment a PDM file and get the status of the defragmentation process.  This example uses two screws again, one to enable and disable the indicator telling the defragmentation to provide status and other VI to actually get the progress.

    My current design is through an actor architecture where each test site will be a reentrant VI manages journaling of the criterion on this location.  And I wanted to get this actor of logging check to see if the file is fragmented and defragment it periodically.  I join defragment at the end of the trial.  I thought I had a this defragmentation progress would be a great feature, but with these two screws being undocumented, I don't know how they will work when there are parallel processes potentially also defrags on other files.

    My question is in what regards progress switch turning off.  For progress should be submitted, you must turn on the switch, then you can read the current status and in the example, it shows the turning off of the switch.  But if I'm defragmentation with a progress bar in a parallel process, turn off the switch it disables all files and this isn't what I want.  What impact could I see so if I leave the switch of defragmentation on throughout the life of the application?  A small example of what I'm hearing is attached.  It generates two files, one who takes one longer defrag than the other, but they both start at the same time.  If I turn off the switch when the first stops, then progress will be not indicated for the second file.  I'm okay leaving activated forever?  Or do I need to track which files are to be defragmented and turn off the switch when they are all done?

    Either way, the lack of documentation on these features exist in 2016.

    As you have found that if you turn off the switch of progress, may not be all the defrags for different files. Leaving eanbled forever is good, but can do a little slower for the case of not having to view the progress of the defragmentation.

    Jie

    OR R & D

  • adapter Wireless Question

    I have a Dell Dimension E520 with a Netgear WPN (TM) Wireless PCI array adapt

    I need to update and buy another. I have ultimate Time Warner cable 50mbps, but I get only around 15 Mbps of download speed test

    I am running Windows 7 64 bit

    My question is... Should which adapter I? model # and brand

    Best bang for the buck is 802.11 N USB based better antenna.  Relative speed depends also how far away you are and how many obstacles, are between you and the router.  You seem to be also confuse MEGABITS per second to MEGA BYTES per second, that is almost 10 x difference.  15 meg is the right speed. You are also faster than the slowest connections.  Nothing more 1.5 Meg in both directions is great for video streaming etc..  At 300K per second he starts stuttering and buffering and underneath, it stops, and then crashes every 25 seconds.

    http://www.Amazon.com/NETGEAR-n300-Wi-Fi-adapter-WNA3100/DP/B003G2Z1M6

    A more expensive 802.11 air conditioner will be no faster than if you spend $100 or more on a 802.11ac router.

  • ESXi NIC Teaming - switch Question

    Got my first server ESXi upward and running last week.  This is my first production ESXi server.  The hardware itself has dual NIC from what I can tell, ESXi 4.1, if you put the NETWORK interface card in 'team' (I don't think that's the term they call it) ESXi will do a bit of himself load balancing, but also be able to use only one or the other in case of failure in the course.  So, my question is this, if I have 2 NIC on my server set in 'team', that I need to adjust the 2 ports on the switch to shared resources, as I do for any other server?  Or ESXi he manages in a way that I wouldn't need to put in place the trunking of the switch ports?

    That's right – from san traffice some through any port with all the load balancing methods you'll need to configure the same trunk ports

  • Satellite C870 - 11G - AC power adapter compatibility question

    I have a C870 - 11G.

    It uses power adapter part no PA3917U-1ACA, who recently became damaged when someone tripping over the cable and it bends the end that connects to the laptop.

    I used to have a Toshiba C660D-10W a few years ago and the power for this laptop adapter you still, even part no PA3714E-1AC3,.

    Does anyone know if this is compatible with my C870?
    It seems to fit but I wanted to try it incase it damage the battery or something.

    Any advice will be greatly appreciated.

    On the first picture you can see the values:
    * 19V * (v) * 3.42A* (Ampere)
    On the second picture, you can find the same values.

    If two adapters providing the same volt Ampere and should be compatible.

  • Bug to stop random, DIFFERENT from the power switch question

    I found a problem that I have yet to isolate the cause of the, but his is happened a few times now.  Sometimes, when my Sansa has updated its database and has not played a song at the moment, if I change the settings and then try to play a song, it starts to play, then cut completely.  It doesn't happen often, but these are the circumstances each time.  The player will not respond and will refuse to power on.  The only way to get on is to hold the power switch until the device resets, release, and then power it turned on, which of course means another data refresh.  Once this is done, my settings are all back to where they were before the last change, I can change their return, and everything works fine.  As I said, the problem don't occur often, only about 3 times since I've had (since June), but its still an obvious problem.  If someone wants to know more about it, or want me to try a few things, let me know.  I'm mainly just let Sandisk people know, then maybe we can get this in a future firmware update.

    New firmware is in the release process now, so hang on until release us the next version.  It can help about this.  Should be within 1-2 weeks.

  • BlackBerry software Z10 Q10 device switch question

    Attempt to use Blackberry link to a switch of the device to a Z10 with Q10.

    See the error message:

    http://i.imgur.com/PBScXOe.PNG

    Legend of the error:

    No data is transferred

    No data is transferred for the following reasons:

    -The version of the OS on your new device is older than the version of the OS on the device, that you spend. Select a different device or cancel the transfer

    Versions of the software:

    Q10 - not locked to Bell Mobility - 10.1.0.238 - no software update available

    Z10 - not locked to Bell Mobility - 10.1.0.273 - no software update available

    Don't link Version - 1.1.0.37 - no software update available

    Unfortunately, this is a limitation of the BONES of BB10. You cannot restore a backup of a newer version of OS to an earlier version. You can restore a backup from an earlier version to a version identical or newer only.

    You need the Q10 to be on a more recent version. Your only option is to install a "leaked OS ' on the Q10 in order to be able to restore your backup data or transfer.

    Here is a link to the latest OS for the Q10. Everything you do is download the file, it will be a .rar file, so you will need a tool for decompression like 7zip to unzip the .exe file. Then connect the Q10 and run the .exe file and it will update the operating system. Need you more time to download the different file in order to install it, too. It takes about 5 minutes to load the new operating system.

    http://CrackBerry.com/leaked-OS-10102342-BlackBerry-Q10

  • 3750 stacked switch question

    Hi all

    If I need to reboot the switch due to a mistake I did on an ACL to get the boot configuration, can I restart the breaker or the whole stack?

    Thanks in advance,

    If you have console access you will need to plug into the battery to reboot to get the configuration, once you save it after that you applied the acl, it will revert to the previous config

    a cleaner way is to try get console on it and remove the config but, restart the entire stack is going to be service make for a large number of devices

  • RedHat Jdev 11.1.2.3 5.8 - AF:Switcher Question

    Hello:

    AF:switcher component can be used in a page Fragment?

    Also, I use the method of creation of functional subsystems like adflibs and then combine these subsystems into a master project to generate ear.

    Subsystems would use page fragments because the master project use the page template and use fragments of page subsystem in the page template? What is the best way to organize: models, fragments and dynamic regions in the context of functional subsystems (adflibs) consumed in a main workspace of the page? Any adivce on this?

    Thank you much for the help.

    What makes you think that he (af:switcher) cannot be used in a fragment?

    Watch this video http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AngelsInTheArchitecture/AngelsInTheArchitecture.html for an overview of the architecture in the ADF application. You use case is about possible architectures.

    Timo

  • 2D adapt: a question to Mr altenbach

    Dear Altenbach,

    I started looking at all your posts on form 2d (the oldest is in 2004) and I downloaded all the files 2Dquadratic, planefit, 2Dscatterfit2, 3Dpolyfit, XuFit_004. Also, I read this https://decibel.ni.com/content/docs/DOC-30394

    Ok... I'm completely lost.

    I would ask you where your files, I should start. I want to ride with the function z = a + bx + cx * 2 + dy + ey * 2 + fxy (second order polynamial) a set of experimental data (x, y, z are the experimental data, these are all vectors 1 d with the same dimension, in addition, they are very large vectors on the 100000 entries each).

    I did not understand:

    (1) what is the difference between mesh and scattered data.

    (2) If you are suggesting the polynomial form (build the H matrix) or climb the Mar Lev.

    I also ask you if there are more recent vi from, because the 'old' are very very difficult to understand.

    Thanks in advance

    Use the most recent one. Some of the old examples use homemade, pre LabVIEW 8.0 subroutines.  Editing tools has received a major overhaul with LabVIEW 8.0 and should be used out of the box.

    gnappo wrote:

    I would ask you where your files, I should start. I want to ride with the function z = a + bx + cx * 2 + dy + ey * 2 + fxy (second order polynamial) a set of experimental data (x, y, z are the experimental data, these are all vectors 1 d with the same dimension, in addition, they are very large vectors on the 100000 entries each).

    Because your problem is linear in coefficients, you must use the general linear adjustment, building the matrix H of the terms. No need of iterative procedures such a lev - mar. create your H matrix with various conditions for each pair of xy.

    Gridded data mans that x and y values form a rectangular grid with no missing values, i.e. the 2D data can be represented as a simple 2D array. The scattered data means that there is a list of (x, y, z) points and x and there is not evenly spaced. You can run this in both modes to immediately see the difference.

  • Reference Dell place 8 7840 switch question

    first of all, I bought this tablet January in 2015.

    I found this unit turns off by itself at 22% battery while it helps (about a month) and now it shuts down to 37% and more.

    in order to turn on, I need to plug.  If not, there is no way to run.

    In addition, one of my knowledge that the same problem has happened since subsequently used this tablet about six months ago. (so he did factory reset, but its still the same today.)  I guess that this tablet has technical difficulties.

    I am living in Korea and asked for a chat on the official website of dell service, but they just gave me a number of international appeal.  You would not solve this problem.

    Hello

    Please write to us!

    This could be a battery problem. Check the following

    1-battery health in BIOS

    2 - update the BIOS

    3. allow the inactive tablet to check if the battery runs out.

    Nicely private message the service tag and your email address.

    Thank you

    Robin

  • Toshiba 32RL933 - what wireless adapter I can use?

    Hello

    I have a macbook pro (latest version) which has intel WiDi and my tv has intel WIDI also remind that I could use the one I have in my house, but as I understand it, it is that I need a wireless adapter.

    I have one here at home, but it didn't work. (d-link dwa-140)
    I was wondering if it was my mistake, or if this adapter in question does not work on my TV.

    I would also like to know if the only one that works is the toshiba adapter or y at - it one adapter other than the toshiba that works.

    Thank you

    flaviotobi, after having read pages 13, 48 and specification of the pages (81), the manual of your model TV, (32RL933), the manual of English to me, at least, indicates that only the Toshiba dual-band wifi adapter is suitable for wireless networks and functions of WiDi.

    In my opinion, the use of the available USB only is a concern, this does not allow the use of the function of time-shift TV, because this feature requires the use of a flash or connected USB HARD disk drive.
    It is my opinion that the time shift function is more convenient than having the WiDi or wireless network card and find the cable system without problem, in my case.

    If I want to display anything from my laptop on the TV, I use HDMI, (via a HDMI auto-box switch), because I have multiple devices share available on my 32RL900A sockets and having only a USB taken is a little embarrassing, but as I have said in other forums, we buy what we can afford...

    donhe7

Maybe you are looking for

  • Windows visible partition, but do not start

    I can't start my windows partition Boot Camp (8.1). I can see and browse it in the finder, I can select in the startup disk, and I can even select when starting (after pressing Alt/Option). But everything I try, my mac still boots OS X (10.11.5). I h

  • Always open a new page in a new tab without addon

    Dear assistants,I would like to ask if there is a way to open a new web address that I type in the address bar in a new tab (instead of the existing one) when pressing on enter. There are addons that do this, I know, but maybe there's some about: con

  • Games/optimization of performance on Bootcamp?

    Hey everybody, My performance for games is very very low. I understand the m370x is not intended for a game exactly, but he should be able to decently run games to the smaller less settings I think about a $3,000 laptop that I use for video editing.

  • How to split a region to points "unrounded marker?

    Hey logic experts, beginners question if you allow: someone knows how to cut a region in the specific locations where all the "unrounded markers? (i.e. not having to go by with my scissors tool and cut manually at each place, but rather to have a way

  • Front side bus and processor very slow speed on the Satellite 2800

    I acquired a 2800-200, and it was running very slowly.Sandra 2002 shows the speed of processor as well as 199 Mhz FSB as 26 Mhz. A CPU speed test confirms it. How do I (I can) fix this? Everything else seems normal.