Flash :: RTFMP - Remote Stream Not Showing
Aug 15, 2011
I'm trying to create a 2-way videochat. Your own webcam shows perfectly fine, but the other doesn't. I used this page as an example: [UTRL]
Following the steps on the page doesn't seem to work for me. I exchange the peer IDs via PHP. I make my Flash visit a page, which stores the peer ID in the database using a POST request. To fetch the peer ID of the partner, I use PHP sessions, which store both your ID, and that of your partner. I can then use these variables to visit another PHP page, which echoes the partner's peer ID. Both are the same as in the database, so there's nothing wrong with that.
The NetConnection:
Connection = new NetConnection();
Connection.addEventListener(NetStatusEvent.NET_STATUS, CheckConnect);
Connection.connect(RTFMP + DevKey);
[Code]....
View 1 Replies
Similar Posts:
May 1, 2011
Am building a video chat application and i was wondering if there are any native events for the NetStream that fire,that can help in detecting when a remote client starts/stops streaming video over his outgoing stream (NetStream) to which the other client has subscribed over P2P/RTFMP in AS3 ?I maybe able to dispatch custom messages since the two clients are already connected, but i don't want to add the extra overhead.
View 1 Replies
Feb 4, 2011
I have a 30 sec flash file that was converted from a .flv to .swf in flash CS5.I place the .swf file in Dreamweaver CS5.The file is only 57k the .flv was 3,560k. The flash plays perfect locally.When uploaded thru the "put" function with Dreamweaver the .swf file uploads along with the java and expessistall.swf. The flash will not display on the website.
View 1 Replies
Sep 12, 2011
use Flash's StageVideo object through the example ActionScript file in this page [URL] the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec?and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream
View 1 Replies
Dec 8, 2009
I have created a simple site in Dreamweaver, I have uploaded the site to a remote server and everything is great but for one thing. I have inserted a Flash image viewer that should show a selection of images, it works fine when launched from Dreamweaver into a browser window such as Firefox. However if I access the site using its domain name and recieving from the remote server no images/slides play.
I have done several things to try and rectify this. Made sure the images are in the root folder. entered 'base' and '.' in the parameters and made sure all image names start with a lower case (linux) and it still doesnt work.
View 1 Replies
Oct 23, 2011
I have followed this link to republish my local stream to other local application instance : [URL]
i have used this script code into main.asc and it is working :
// Called when the client publishes
application.onPublish = function(client, myStream) {
trace(myStream.name + " is publishing into application " + application.name);
[Code].....
View 9 Replies
Oct 4, 2010
I'm writing a communication system, using Actionscript 3 and C#. Flash is used to communicate with RTMP server and stream video and audio using RTMFP p2p, but the actual client logic is handled in C#.
What I want to be able to do, is allow users to share files between each other also using a direct p2p connection. I have got the RTMFP connection working but I need to access the IP address of the remote user so I can initiate a connection to send or receive files.
I looked at the Adobe docs but I can't see anything except how to access the farID.
Is there a way to get the IP of a RTMFP stream?
View 1 Replies
May 14, 2009
I would like to "pull" a stream from a remote FMS to a local FMS and record this stream in the local server.I couldn't find a way to pull this stream, I can only publish/push. As I can not save scripts to the remote FMS I can not push the stream to my local FMS.I was looking into the NetStream class in the FMS and there is no way to play a stream from the remote server.
View 1 Replies
Nov 14, 2011
When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp?
edit "applications/multicast/main.asc" ?
/**
* File: main.asc
* --------------
* The server-side portion of the multicast sample application.
* This app accepts publish and unpublish requests from FMLE, and republishes
* the live stream from FMLE into a target Flash Group.[code]..............
View 1 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
Jul 15, 2010
I'm utilizing the developer edition of FMS and am trying to republish a stream that is being broadcast with Flash Media Live Encoder (FMLE) unfortunately, I am unable to get any audio or video to display in the client application. The client app can get the stream from the published to app (e.g. CamChat) but not from the republished stream. Following is the output of the trace statements from the SSAS as well as the source for main.asc:[code]The ultimate goal is to subscribe to stream(s) that will be coming from our Limelight FMS and record them to our local FMIS server.
View 7 Replies
Sep 12, 2011
I'm trying to use Flash's StageVideo object through the example ActionScript file in this page(http:url....), the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec? and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video.
Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream.Can the StageVideo be used to view live stream using screenshare codec (SVC2)? I have tried viewing H263 stream and it plays fine, only when viewing live stream using screenshare codec that I'm encountering this problem
View 14 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
Oct 8, 2010
Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?
View 1 Replies
Jul 26, 2010
I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
I'm running Windows XP service pack 3 & FMIS 3.5.
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
Here's my AS3 code...
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);
[Code].....
View 1 Replies
May 9, 2011
i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast
[Code]...
View 3 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
May 24, 2010
I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...
View 4 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
Jul 21, 2009
I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.
[Code]...
View 6 Replies
Jan 23, 2011
I have a layout with narration and a nav bar. When I click a nav button for section 2, the audio from section 1 (set to stream) continues to play over the audio for section 2. This cumulates so if I click buttons for sections 3, 4 and 5, I get five audio files playing on top of each other. Sections are individual movie clips with embedded audio streaming on a Sounds layer in each movie clip.
View 3 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
Mar 8, 2011
I am very new to action script. I want to stop the stream from publishing then later on i want to publish the same stream again. My problem is that I have 3 levels of stream processing (Ingress-Rename ProxyLimelight-AuthProxy-Live) before it goes live. User wants to stop stream from publishing and then publish the same stream when he wants in each level. User does not want to start the stream from the begining, he wants to restart the stream on the same where he stopped.
View 0 Replies
Feb 23, 2011
I have been doing days worth of research and this is a topic I have yet to find much useful information on. I create business presentations for a wide range of clients with adobe flash. Up until now all user control has been done through the computer or via a timer so the user wasnt interacting at all. We have started receiving requests for presentations where the presenter can interact with the presentation via a presentation remote. Basically they want control over the presentation just like someone can with a remote in Powerpoint.
All my research on this topic up until now has been pretty much in vein. We have tried to program flash with keystrokes and such but ran into issues as apperently all remotes do not use keystrokes to control the presentation (namely some logitech remotes do not). So here is my question.
Does anyone have an idea on how we could set up a flash presentation to work with ANY remote our presenters may have? I am hoping this is something we can program/build one time and then just copy and paste the code to each presentation. Versus the alternative of contacting each client, asking what remote they will be using, and programming based on acquired information.
View 1 Replies
Apr 8, 2011
A few years ago I was up-skilling form AS2 to AS3. In the process I could have sworn I came across a resource that was all about using SQL and Flash AS3 together. It looked like native AS3 SQL communication.I remember thinking "That's cool, will use that one day" and then putting the book down. Well it is now one day and I need to remotely read and update data from a Flash file. The thing is I can't for the life of me remember where I saw it.Searching online has been a bit discouraging. All I can find is a lot of people saying there is no native Flash AS to SQL communication. Was I dreaming, or are all the posts I'm finding old and referring to AS2?If this is the case, is there a way to save shared objects or XML files to a remote server? Or is my only option calling php files from Flash?
View 2 Replies
May 20, 2010
We have a very large SWF hosted in a website which is just a repository of hundreds of movies/symbols. We load this SWF at the beginning with the Loader class but then the client will access a very few of them at that moment. Is it possible to tell the loader to download symbols only when they're needed? (as with applicationDomain.getDefinition(...)).
View 4 Replies
Mar 11, 2010
I'm running a template that when I run it on my pc locally it works fine but after uploading most of the dynamic text has dropped a line so becomes unreadable in most cases.
Anyone know whats causing this???
View 1 Replies
Dec 11, 2011
Can I re-stream a stream from wowza to fms 4.5?I have a wowza stream with the url similiar to URL... Is it possible to restream this to fms 4.5?
View 3 Replies
Jan 24, 2011
I have a narration and a nav bar. When I click the button for Section 2, the audio for Section 1 continues to play on top of the audio for Section 2.
View 1 Replies
Oct 17, 2006
I am ctrl+ shift + enter on my .fla file. And have put my breakpoint on one of as file. I am opening same swf file in web browser. I have set enable remote debugging in flash. But still not able to go the breakpoint
View 1 Replies