Media Server :: Subscribing To A Directly Published Stream?
Jul 23, 2011
In the article there : http:[url]...We can see this under 'User lookup'.RTMFP assigns a peer ID to each participant. These peer IDs are 256 bits long and are non-forgeable. When you want to subscribe to a directly published stream, you must specify the publisher's peer ID:
#var receiveStream:NetStream = new NetStream(netConnection, id_of_publishing_client); receiveStream.play("media"); In another thread, Michael said : i believe the problem is that you are attempting to make a P2P connection to the server's peer ID; that is, something like"
var ns:NetStream = new NetStream(netConnection, netConnection.farID);
ns.play(...);
under the covers, this will open a new RTMFP flow to the server that will appear to the server as a new incoming client, but the initial handshake will be incorrect (the first/only command message is "play" instead of "connect").i see this on Cirrus all the time.Is it an error in the article or is it right considering the scenario?
View 1 Replies
Similar Posts:
Jan 27, 2012
As a subscriber of live stream how do I get absolute stream time since it is published? Consider the case, a publisher has published a live stream at 0 seconds. It has been 100 seconds past since the live stream is published. A new subscriber comes to fms and subscribers a live stream. It starts playing that live stream but NetStream.time property will start from 0 instead of 100. Is there any way or configuration (in fms) which allows subscriber to get absolute stream time?
View 1 Replies
Feb 21, 2012
I publish the video stream with H.264 settings to fms 3.5 as recorded and at the receiver's end play it as live. The problem is that at the receiver's end stream is played from the last 4-5 seconds. I want it to play from the current position of the live stream.
netstrm = new NetStream(nc);
netstrm.play("mp4:"+instanceName+".f4v", -1);
h264Settings= new H264VideoStreamSettings();
[code].....
View 4 Replies
Aug 23, 2010
I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?How can I setup the server to require a user and password to stream live media to the server?I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.I am using the Adobe FMS Apache install, what files need changing?[code]I want to lock down a person from connecting to the server on the public internet and starting a live stream?Can this be done with a user name and password?
View 13 Replies
Jul 19, 2011
when i try to live stream with FMS! I can stream video with Flash media live encoder to the server but when i create the player to recieve the livestream from server,i can not recieve the live stream,can anyone give me a step by step tutorial of how to do it?
View 1 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
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 10, 2011
Flash Media Interactive Server 3.5 or later supports recording of streams using the H.264 codec, directly on the server. Archive high-quality live streams so you can quickly deploy the content on demand after your live event is over, and use the free F4V flattener utility to prepare your file for video editing using Adobe Premiere Pro CS5."
there is no problem to record the stream in flv format but i don't find a way to record using h.264 compression
View 8 Replies
Jun 15, 2010
I need to be able to play any stream published to our FMS application, without connecting to the application as regular users do. I am an administrator and the service is ours. Can I do so using Administration API, for instance? I sure can get the list of the streams, but I have not found a way to stream these as video yet. I am building an application not unlike Admin. console, but with more functions that we need. If Admin. console seems to be able to play streams, it must be possible?
View 4 Replies
Nov 14, 2011
I'm new to Adobe Flash and I'm just trying out the Flashe Media Server 4.5 to stream live video on a local machine. I'm using a FLME 3.2 to capture the video from my digital camera, which works fine, and I can connect to the server with no worries as well. But I have issues streaming the content in the Sample Video Player that comes with the server.
[Code]....
I've also tried playing some sample videos on it. it even refuses to play those. What could be the problem??
View 6 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
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
Aug 11, 2010
I am developing video chat application. I am able to play published video stream. But I am unable to hear sound which is published along with the video. The video is visible but sound is not comming.What is going wrong.
View 7 Replies
Apr 28, 2010
One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?
View 2 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 27, 2012
It's easy to do on publishing clients, just use:http:[url]....How do we do it on the FMS? It doesn't appear to be possible according to these docs: http:[url]...What is the default for the FMS for the audioReliable, dataReliable and videoReliable properties?
View 2 Replies
Jan 2, 2011
I am trying to create a flash player to stream an on online Internet radio station using FMS. I chose FMS after being told that I need RTMP server to extract the metadata. Our radio audio is being encoded using a DJ interface called SAM Broadcaster. But for some reason, it does not have an option to send over the stream directly to a Flash Media Server. Only options are either IceCAST or ShoutCAST. How should i setup the stream? Should it be Stream encoder>> IceCAST/SHOUTCast Server>>Flash Media Server>>Flash Player Client. Or should I setup Stream Encoder>>Flash Media Server>>Flash Player Client? Shouldn't Flash Media Server be an alternative to IceCast or Shoutcast? If that is the case, how do I send over the stream from SAM Broadcaster directly to Flash Media Server without restreaming through another streaming server?
View 2 Replies
Aug 19, 2011
Has there been any further discussion regarding restricting who can stream to FMSS (not FMIS or the development version).
I found this article, but I don't know if this was ever fully resolved:
[URL]
I don't want just anyone to connect to my server to stream live. I want to restrict by IP address, authentication, or any other means.
View 7 Replies
Mar 30, 2012
'URL missing from Media tag' on FMS4.5 HTTP Live Stream playback.I have spent a whole day trying in vain to publish f4m live http streams from FMLE using FMS 4.5, and almost everything I try results in the error .The F4M document contains errors URL missing from Media tag...in both Flash Media Playback and the fms videoPlayer app.Other people seem to have seen this and solved it, but I've found nothing that helps. I have tried to publish a single stream, and with multiple bitrates. For the latter, I followed the Adobe video tutorial as follows:
Multiple bitrate live
================
I'm publishing 3 streams from FMLE, using
FMS URL: rtmp://[serveraddress]/livepkgr[code]..........
View 1 Replies
Sep 30, 2010
What would be some top reasons an FLV will not stream with Flash Media Streaming Serve 3.5? I ran the FLVcheck.exe on the FLV and it passed; however, the FLV will not stream. If I could just get some good reasons that would cause an FLV from streaming I think that will give me a good starting point for troubleshooting.
[Code]....
View 3 Replies
Nov 14, 2011
Beside Flash Media Encoder, can I use a live stream from Windows Media Services?We have live streaming with Windows Media Server, but now want also offer to mobile devices, but we dont re-encode the entire streams (tvs) again, it would be great if we can use a stream from windows to tunnel it to flash media server.
View 1 Replies
Jan 9, 2010
I am connecting FMS over RTMP from a firewalled network where RTMP is blocked.Connecting to my FMS server from there takes (a too long) one minute before the Flash client switches from RTMP to encapsulated RTMP into HTTP.Is there any way to by pass this delay or is it a plug-in inner behavior that cannot be short-cut ?
View 3 Replies
Nov 29, 2009
Is there a way to stream data instead of media files? In particular I'm interested to stream swf files that will be dinamically loaded by another swf client. I see this interesting message talking about how to do this on Wowza but I prefer to find a solution also in FMS to use the SWF Verification feature.
View 1 Replies
Apr 5, 2010
I have FLV files streaming fine from the media folder in the applications folder.I want to split up the videos into folders to make them more manageable.If I create another folder in the applications folder at the same level as the media folder and put a video in there the video does not play.
View 4 Replies