Actionscript :: Combine A Live Stream Subscriber With A Chat Box Based On Shared Objects?
May 5, 2009
The following code is a combination of samples taken from red5. Basically I am trying to combine a live stream subscriber with a chat box based on shared objects. I'm not a flash developer and have a very limited understanding of what is going on here.
// ** AUTO-UI IMPORT STATEMENTS **
import org.red5.utils.Connector;
import org.red5.samples.simplechat.BasicChat;
[code]....
I don't think that var chat is being initialized anywhere as trace(chat) prints 'undefined'. However var connector and var publish_video seem to collect their instances from the stage.
This sample code included those two and worked fine, but I can't make my additions behave the same way.
I have added an instance of BasicChat to the stage (I'm using Flash CS4) and have spent the past many hours playing with it's various properties, layers and groupings, but to no avail. why my var chat isn't collecting its instance from the stage?
View 1 Replies
Similar Posts:
Sep 22, 2009
Have a Flex/FMS web meeting app that has multiple custom components - live streaming camera, chat, slide dec.
Each component does its share of communicating through the FMS server. Should all three of those things share one NetConnection object in the application or will the live video stream suffer when users chat or the meeting presenter advances slides and such?
View 2 Replies
Mar 10, 2012
Is it possible to stop a (live) Stream from playing for a user, but keep his NetConnection open for eg chat functionality?I only see a setBandwidthLimit to accomplish something similar to this, but then, if BW is set to 0, chat won't work.Why isn't there a built in feature to do something of seemingly common necessity like Client.stream.stop/change function to stop or change what video playback the client sees?
View 2 Replies
Aug 25, 2009
Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means.
View 9 Replies
Jul 14, 2010
I currently have two connections with two separate streams. They both hit the same fms 3.5 server. One connection transfers live audio and video. The other one is used for remote objects. Sometimes when viewing the audio and video stream with a slower internet connection, the stream for the shared objects disconnects. I think it is a bandwidth issue. Is there any way to set the priority of the streams? I think this should allow me to set a higher priority for the shared object connection so it won't disconnect.
View 3 Replies
Aug 28, 2010
close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 Replies
Mar 9, 2010
I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
[Code]....
View 3 Replies
Aug 27, 2010
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?
View 2 Replies
Dec 12, 2011
I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.
Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent
FMS 4.5
I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....
View 2 Replies
Jan 21, 2010
I'm trying to make text chat application using shared object. I'm using api Shared.getRemote("so",m_nc,true); to make the data persistent. It makes the file with extension fso. I want to save the chat history in notepad for further reference, and also load that data as per requirement.
View 1 Replies
Nov 25, 2010
I want ot add windows live chat box on my flash movie is it possible, or is there any way to put yahoo! messenger online status in flash movie
View 0 Replies
Oct 13, 2010
How would I go about adding chat to FMSS during live webcam broadcasts? I will be using FMSS to broadcast webcam.Obviously it is an outgoing stream only as I am told to do cam to cam I need FMIS and at present I do not need cam to cam and I can not afford FMIS.I want the viewers of the webcam broadcast to have a chat window where they can send comments to the person on the webcam and the person on the webcam can type back if they want to.I have glazed over some posts here and saw that it can be done in Flash, I want to know if I can do it with FMSS. It does not need to be elaborate.
View 2 Replies
Jan 21, 2011
I have been asked to develop a generic chat client which can be used as a widget(with fb,twitter) which works fine with all XMPP supported applications. I have decided to use flex along vit java. how the whole chat application works? Also which server to use?openfire or blaze DS?? what's the difference?
View 1 Replies
Dec 9, 2010
I've build a live video/audio chat application. All works fine only the issue is latency of 5 secs. I'm using FMS 3.5 and FLEX.
View 1 Replies
Apr 11, 2010
I am interested in saving the text content of flash based chat in a text file or xml. The repetition of the recorded words is very much correlated to the social , and psychological monitoring research I need to accomplish. The web based chat is not my own, so i don't have any administrative privileges over the server.
View 3 Replies
Nov 22, 2006
I was wondering if any of You can recommend some free/cheap video-chat based on flash?
View 1 Replies
Nov 25, 2011
Is it possible to take two Sound objects and combine them into one Sound object so that one Sound plays, and then the second plays right after it? I can just play the first Sound and then the next right after it, but it would be much cleaner to combine them before playing the audio.
View 2 Replies
Apr 22, 2010
I'm building a website where I hook people up so that they can anonymously vent to strangers. You either choose to be a listener, or a talker, and then you get catapulted into a one-on-one chat room. The reason for the app's construction is because you often can't vent to friends, because your deepest vulnerabilities can often be leveraged against you later on. (Like it or not, this is a part of human nature. Sad.)
I'm looking for some insight into how I should architect everything. I found this neat tutorial, [URL], which suggests using python & stackless + flash. Someone else suggested I should try using p2p sockets, but I don't even know where to begin to look for info on that.
View 4 Replies
Mar 13, 2007
Anyone know how to create a flash based text and audio chat application?
View 1 Replies
Nov 16, 2010
I have 2 dynamic objects and I want to build one to contain all the properties:[code]and I need to obtain a third object that looks like that {prop1: val1, prop2:val2, prop3:val3a, prop4:val4};Basically I need a way to iterate through the object properties and to add new properties to the third object. I have to mention I'm quite new to AS3/Flash/Flex.
View 3 Replies
Feb 2, 2010
I have two BitmapData objects with alpha channels. I'd like to combine them into a single one by using max(channel_image_one, channel_image_two) for each channel, including the alpha. Is there an easy way to achieve this result?
View 2 Replies
Feb 19, 2011
How i can record a live stream.
I need a very simple app that will connect to rtmp and record it. The app will be on the same server as the live stream.
View 14 Replies
Feb 7, 2012
Is it possible to live stream both RTMP and HLS with FMS 4.5?
I want flash users to have the least latency possible using RTMP, and iOS users use HLS.
View 1 Replies
Sep 17, 2011
How can i stream video live by the help of PHP like live tv? I am willing not to use flash media server. If it is must to use it then which server is free and reliable?
View 1 Replies
Mar 21, 2011
I recently began using CS5 with AS3.0 and I encountered this error.I can not find where I can edit the AS3.0 settings nor do I know what to change.
View 1 Replies
Mar 27, 2012
We are building a live RTMFP voice chat application with Cumulus. While the basic voice transfer works pretty easy using NetStreams, we have one big problem:There does not seem to be a way to manipulate the microphone data that the NetStream sends, and also not a way to manipulate the data the listening NetStream receives before it is played.However, this is exactly what we need. We do not want to transfer the normal microphone recorded audio, but first pitch it, then send it, then play it. Or first send it, then pitch it, then play it. But it seems that the whole audio recording, speex encoding, speex decoding and audio playback is completely encapsuled within the NetStream class.The only ways to achieve what we want (and all of them removing NetStream completely) seem to be:Send raw pitched audio data. That does work, but is of course a lot of data to send and will likely not work fast enough outside of our local LAN testing.
Pitch audio data, convert to ogg/mp3 using existing encoders for flash, send, decode ogg/mp3 and play. But this would mean encoding each and every sample packet that is received from the microphone, adding header stuff, etc. So this would likely not even yield that much of a benefit compared to raw audio data.2.1. This would actually be a good way if there was a Speex encoder/decoder for flash. But ironically, there is none other than the built in one (which is used for encoding/decoding audio in NetStreams) that cannot be explicitly used. ot offering it, Adobe...Send the data to the Cumulus server, pitch (and probably convert) there and send to the recipient. This would likely not even be that much faster than 1. and also throw away the exact benefit of RTMFP, P2P communication.
View 1 Replies
Nov 11, 2009
How can i delete the Live stream that published by the client(the stream it's not working)
View 2 Replies
Feb 21, 2010
Possible to place or insert text on live video stream using the FMS?Whether with any solution or plugin.I am a web radio broadcaster and would like to have information on the screen like the station's phone number instead of having to keep reading it out all the time.
View 2 Replies
Apr 14, 2010
I'm having some trouble finding out how you can add metadata to a live stream. I'm streaming the webcam over fms and recording it in main.asc. So far so good. I have 2 applications. One that sends data and one that recieves data. The functionality is more or less like this example. The article says: "Note: If you record the video on the server side (a functionality of FMIS), the injected events are lso being triggered by the recorded file." That is what I want, but I have no idea how to make it happen. The problem is that I can't find any good examles for as3 and I have never looked into as2 (still new to flash in general )
View 1 Replies
Aug 7, 2011
I'm recording a lot of live streams for archiving purposes. Is it possible to somehow (programmaticly) get the timestamp of a certain point of such record?
View 3 Replies