Media Server :: Multiple Song Playing At The Same Time
Apr 28, 2010
I have developed a Player where I am using FMS to play MP3 files, it works great in normal scenario but when user keep on clicking new songs from Song List (List Component) then the player stated playing all songs. Which It should not do. Is there a way that we can unload previous song before loading new song.
View 5 Replies
Similar Posts:
Aug 19, 2009
I have a list of mp3-songs, when song 1 is clicked it gets streamed, a stop-button appears, if this Btn is clicked, this Btn disappears as it should - but if user forgets to click for stopping sound and clicks song 2, stopBtn 1 remains and the new stopBtn 2 also appears. there should be only one stopBtn, the one next to the song is playing.
I would like to move the stopBtn and I have tried several approaches move; graphics.moveTo; if(stopButton !=null) {removeChild (stopButton)}; I packed the var stopButton:Sprite in the header and so on.
Code:
SoundMixer.stopAll();
import flash.display.Sprite;[code]..........
View 0 Replies
Nov 13, 2010
I have a sound clip that I'm loading externally into my flash file. The code I'm using looks like this and is placed in the as layer on the first frame,
var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
var lastPosition:Number = 0;
mySound.load(new URLRequest("introaudio.mp3"));
myChannel = mySound.play();
[Code]....
View 14 Replies
Jan 28, 2011
This project was shelved for quite some time, but is now picking up again.
Here is my setup: FMS 4.0 installed on a C: only 65GB available I want to store media on the I: as there are 300GB available
For whatever reason I can not make this work. How can I get the media to play from a different drive other then the install drive. When I play the media from C: all works fine, but this is not a practical solution since the drive is too small to store media.
I have edited the application.xml as below (adding <Streams>/;I:
[Code].....
View 1 Replies
Aug 24, 2009
I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).
The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.
View 1 Replies
Apr 13, 2010
The problem I have is I click the play button and start playing. Then I click next and when I click play for another song the songs overlap. How can I stop whatever song is playing and start playing the new one? Has to stop the prev song when I click play_brn.
[Code]...
View 2 Replies
Jan 28, 2010
I try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:
1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.
2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().
I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?
View 4 Replies
Jul 22, 2009
Is it possible to host my /media/ directory on a different server (that has more space) and have FMS Link to it to player VOD ?
View 1 Replies
Feb 22, 2011
I have developed an application for recording the mp4 format movie. I am able to record mp4 format file but my recorded file is not playing in window media player.
so, if any body have some idea/suggestion about play pre-recorded mp4 file in window media player then your most welcome.
View 4 Replies
Jan 19, 2011
Is it possible to have multiple FMS installation running on 1 linux server?This mean that each fmsadmin, fmsmaster, fmsedge, fmscore will run under a specific user. (not vhosts of a single FMS install)How will this impact the performance of the other FMS instances in case there are more of them running on the same server?
View 2 Replies
Feb 19, 2010
I thought that FMS3.1 supported f4v files but I cannot get mine to play. It says it cannot find the stream specified but the file is right where all my other files are that do play fine (both flv and mp4 files). Am I incorrect in thinking that FMS3.1 supports f4v files or do I have the wrong code?
[Code].....
View 8 Replies
Oct 4, 2010
I have a fms 3.5 server that stalls when playing content regularly. After restarting through the admin console streams play again.
View 1 Replies
Mar 8, 2011
I'm new in FMS Recently, i create an application to record videos from my camera and recorded it But, when i tried to play it in an HTML, i met errors. The .flv jumps to the end when the progress is in the middle.And i tried to play in an .exe, it plays well.
View 5 Replies
May 22, 2011
The stream can be buffering,playing or closed.How can I capture these events while playing?
View 1 Replies
May 5, 2010
In my .smil file, if I put this line it works: <video src="sample.flv" system-bitrate="150000"/> But if I put the following line it doesn't work: <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/> Both video files are in the webrootvod folder. I am using the sample dynamicStream.smil code, so my syntax should be right.
View 3 Replies
May 13, 2010
I bought Adobe Flash Media Streaming Server 3.5 and I have problems with large video.After 70 minutes, the video stops playing.
View 8 Replies
Jul 4, 2010
How can I tell after issuing a NetStream::play call when there is any video arrived which I can render (Video::attachNetStream)? I can see that most of that stuff is asynchronous and highly dependent on a number of variables like FMS latency, client latency and bandwidth, server load, weather etc. I however need a reliable dependent way of figuring when there is any picture to show. I administrate our service and need to monitor content people are publishing, for that I need to browse a hundre or so streams as fast as possible. What I do is I have a number of "player" streams that play a stream name (I use Administration API to get an array of these) , wait until there is picture, show it in a video object, disconnect video from stream, create new video object, play another stream, wait until picture, show it, and so on.
I found out that I can achieve a way to check whether video has arrived by NetStream::info.videoBufferByteLength, alternatively perhaps 'videoByteCount'. I cannot create a new stream for new video object, that is too much overhead, so I reuse streams. I close a stream, play new stream name, and wait until the either of the properties above is non zero. This has been working quite alright, but still occasionally I get stale data in the subsequent video objects, even when a stream is supposed to be playing new content. I need to avoid these.
So my question boils down to the already mentioned: what would be a reliable way to do what I am doing? It's just a stream of compressed data, there must be a way for Flash Player to know what is new data and what is stale data. In fact I don't think there is supposed to be stale data in a NetStream that is already playing something else! I know this is hardcore stuff, but we are pushing it :-)
View 2 Replies
Oct 5, 2010
I just had a very bad user experience here: [URL] The Loading... text appears every 1 second. Is it possible to buffer all the video content before playing it? Or at least a portion of the video content when playback, and at the same time display the percentage of video content loaded?
View 21 Replies
Jan 10, 2011
There are some recorded flv files. The guy in the video is showing numbers with his hands. (1.flv, 2.flv, 3.flv etc) And there are live idle videos. In these idle videos the guy doesnt do anything.
I need to be able to click 1 as the operator and viewers should see the guy make "1" in the video. Actually I have accomplished so far. It works. I do this:
If the operator selects a video it adds the video to playlist: stream.play(filename, -2, -1, false);
Also have this event handler to play a random idle video when there are no more action videos lined up:
function onStreamStatus(obj) {
if (obj.code != "NetStream.Play.Stop") return;
switch (obj.code) {
[Code].....
So it is working so far. Problem is:
As time goes by there appears to be a delay between I issue the play command on the stream and I actually see it in the video on client side.
View 9 Replies
Jun 1, 2011
I am able to record live streams on server side. Now I am looking for an option to play recorded streams on server side when no one is publishing a live stream. Currently I am able to record all live streams that are currently being published in /opt/adobe/fms/webroot/live_recorded Folder. All the recorded streams are saved in stream.f4v format. I want to change main.asc in livemyapp folder in such a way that if any one is not publishing live streams of the name "abc" then automatically the client is served with the previously recorded abc.f4v in his browser.
Here is main.asc
/* * application.onAppStart:* is called when application load. It contains Live (out of the box) * application specific initializations. */
application.onAppStart = function(){ // Logging
trace("Starting Live Service...");
[Code] ....
What should I write in main.asc so that if a client is requesting to watch a stream and if that is not being published at the moment, he should be served the recorded version of that stream.
View 1 Replies
Sep 18, 2011
I just installed Flash Media Server 4.5 on my apache2.2 server. I am running the default webpage from the program, https:[url].... I get an error when running the HDS streaming sample Error#2032. The rtmp sample runs fine. I run the HLS on IE and it give the error message that it can only run on Safari, whicvh is fine. BUt when I run this sample on Safari nothing happens.
View 5 Replies
May 17, 2010
We are using FMS3.5 for VOD streaming. It's spotted that when we are using Flash Player Version = WIN 10.0.42.34/10,0,45,2, it is encountered that the video picture is hang but audio keeps playing after our commercial break point. we will first pause the video content and then use the same object to play the instream ad. After that, the video is resume when instream ad complete.
View 1 Replies
Jun 12, 2010
I am building a custom administration application which has to review streams published to our FMS application. This is to ban clients publishing inappropriate content. I am wondering if I have to make a connection to the application, as normal users do, in order to play the published streams? I am getting the list of streams using another connection, to rtmp://domain:1111/admin, like outlined in Administration API, and issuing the 'getLiveStreams' call.
The reason I am asking is because firstly, I remember that the Administration Console can play streams published to the server, but I don't recall it incrementing the connection count which shows amount of user clients connected to an application. Maybe I have missed however, but if I am right and it indeed can play streams without connecting to the application (which actually DOES sound a bit unlikely, given how the stream names are local to an app.), then maybe I can do it too? Secondly, I presently have to differentiate users and administrators in my 'onConnect' script, because are perform completely different roles. If I could relieve my admin. app from connecting to the application, I could also dump the role switching.
View 2 Replies
Oct 28, 2010
We have one player in this player we are playing flv files. If we are opening that player in the mozilla we can view the flv file after 2 second but in the internet explorer we can see the same flv after 20 to 25 second.
View 5 Replies
Sep 14, 2011
I have an mp3 file that i dragged into a layer, which starts playing at the beginning of my movie.if i preview, i can hear it playing.
annoying problem is that if i stop or pause the preview, the music keeps playing and if i start it again, another instance of the audio track starts playing again so that they are playing at the same time.
View 1 Replies
Apr 7, 2010
I have a live streaming application using RTMP. Sometimes the playback works fine but sometimes it stops without any trace or errors in the log file, while still appearing as a connected client.
View 7 Replies
Sep 12, 2010
I have this sample code from the e-book: "Learning Flash Media Server 3". The purpose of the code is to create a FLV. The code is not running as it should. When I click on the 'record' button, the label is to change to 'recording', that dosen't seem to happen and also when I click on the 'Stop Record' button, I get the following error:
"TypeError: Error #1009: Cannot access a property or method of a null object reference.at MinRecord/stopRecord()"
[Code]....
My deduction is that the 'if' statement in the 'startRecord' function is not resolving to 'true' and hence the label is not changing to 'Recording'. Also I feel that the assingment to the variable 'ns' of type NetStream is not being done and hence in the function 'stopRecord' I get the above mentioned error message when I click on the stop button. How do I rectify these problems?
View 3 Replies
Feb 3, 2012
I have created an swf where I can record the webcam picture as H264 video to a FMS 4.5 (I am using the developer version).My code is looking like this:
var h264Settings = new H264VideoStreamSettings();
h264Settings.setProfileLevel("baseline", "1.2");[code]....
I can then replay the video from FMS just fine, but if I try to copy the video from the FMS application directory into a local project and try to play the video with the FLVPlayback component, or with the Adobe Media Player, it is not playing at all.Is this to be expected? Can't I record a webcam video with FMS in H264 and use that video later without FMS?
View 1 Replies
Mar 22, 2012
How to record a live video stream playing on an FLVPlayback?
View 1 Replies
Jan 26, 2010
I'm using the following code to attempt to get netStream.time on the serverside.....i've tried various ways googled it but have come up short...what code do i need to use so i can track a streams progress from the server side?
myStream = Stream.get("home1");
setInterval(time,5000,myStream.time); function time(myStream){ trace(myStream); }
View 2 Replies