Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








What Exactly Does RTMP Stand For?


Hi, would some one clarify what is full name of RTMP. I have seen both "Real Time Messaging Protocol" and "Real Time Media Protocol" in Adobe's document. Which one is it intended to be? Thanks!

ymote




Adobe > Flash Media Server
Posted on: 02/28/2008 07:25:18 PM


View Complete Forum Thread with Replies

Sponsored Links:

Rtmp + Flv
hello
I am following "

View Replies !    View Related
RTMP
FMS use RTMP protocol. I have use the RED5 Open Source Flash Server and he used rtmp protol too. I'm developping an application with RED5. It's a problem to use RTMP protocol ? What are the risk ?

View Replies !    View Related
Rtmp Over Iis?
Hi - how can I play rtmp over IIS? I was trying to load the sample VOD files that come with FMS, but they will not load in a web browser.

Thanks

View Replies !    View Related
FMS/rtmp Q
Quick questions for you fine people! YEH!!!!

Anyways, I created an flv player. At the moment is capable to using a streaming rtmp FMS flv video - while a progressive http video is slowly and secretly loading behind the scenes.

Question is... can i have 2 streaming videos using the same technique? AKA: streaming 1 playing while streaming 2 buffers? I am guessing this almost impossible. Since it will buffer no matter what when the user presses play or/and autoplay = true when told to.

Any other thoughts would be awesome! thank! post whatever you want

View Replies !    View Related
RTMP Via NetConnection
Hello,
I am attempting to render a video stream on stage via the netConnection/netStream object. I have used the following code with no success. However if I use a link with the flv playback component, the video plays fine. What gives?


code:

__netConnection = new NetConnection();
__netConnection.connect("rtmp://cp26119.edgefcs.net/ondemand/Zomba");
__netStream = new NetStream(__netConnection);

__netStream.setBufferTime(1);
__netStream.play("TearsDontFallNABR");
__netStream.onStatus = mx.utils.Delegate.create(this,netStreamStatus);
__mcTarget.my_video.attachVideo(__netStream);


Rtmp Link I give to flv component without a problem:

rtmp://cp26119.edgefcs.net/ondemand/Zomba/TearsDontFallNABR.flv

Any help is great appreciated...

View Replies !    View Related
Problem With Rtmp ?
hi

i have problem with my swf files. it is not working out side the server.
i have used this kind of connection.

nc.connect("rtmp://10.0.0.1/abc");

i have updloaded it to my ftp server, it is working in that machine through explorer. but whenever i access it from outside the server swf file are not connected to com server. does any body guide me.

View Replies !    View Related
RTMP Loader
First I would like to apologize to FlashGordon for my comment before... I had a pretty bad day and I am sorry I "snapped." I'm sorry. Hope we can forgive and forget

I am working with Lee's video tutorials to get a load bar in my custom player
I was able to get my connection working but it can't get the loader working. a trace of ns.bytesLoaded or even ns.bytesTotal gives me "0"

anyone have any ideas??

any help is greatly appreciated.
Although I am new to scripting, I am a professional web designer and will gladly offer my services to any potential helper for their help. Thanks!

//////////////////////////Connections///////////////

nc = new NetConnection();
nc.connect("rtmp://******.rtmphost.com/bes/");

nc.onStatus = function(info){
trace(info.code);
if(info.code == "NetConnection.Connect.Success"){
playLive();
}
};

playLive = function(){
ns = new NetStream(nc);
theVideo.attachVideo(ns);
theVideo.attachAudio(ns);
ns.play("movie");
};
///////////////Button/////////////////////////

playButton.onRelease = function() {
ns.pause();
};

///////////////Loader/////////////////////////

//calls videoStatus 10 times a second
var videoInterval = setInterval(videoStatus,100);
var amountLoaded:Number;


function videoStatus() {
amountLoaded = ns.bytesLoaded / ns.bytesTotal;
loader.loadbar._width = amountLoaded * 269;

};

onEnterFrame = function(){
trace(ns.bytesTotal);
//Returning 0 !!!
};

View Replies !    View Related
[AS3] Rtmp Streaming
Hi All,

It seems like a simple task to stream an flv via rtmp. Can anyone tell me why my actionscript might not be connecting propertly and attaching the video to my player? Here is my code. I am using Flash 8.


ActionScript Code:
stop();



var nDownload:Number;
var nPlayback:Number;
var FirstTime:Boolean;

var totalLength:Number; //total length(in secs) of movie playing
var currentVideo:Number = 0;
var totalVideos:Number;
var scrubSpeed:Number = 5; //scrubbing speed when scrub buttons are pressed
var paused:Boolean = false; //whether movie is paused or not
var movieEnded:Boolean;

// ---------------- NetConnection and NetStream Objects --------------//


var nc:NetConnection;
var ns:NetStream = null;

this.nc = new NetConnection();
var connected:Boolean = this.nc.connect("rtmp://mydomain.com/oflaDemo/streams/");
this.ns = new NetStream(this.nc);

ns.setBufferTime(5);
mcVideo.oVideo.attachVideo(this.ns);

function playVideo(video:String):Void{
  movieEnded = false;
  //mcBuffer._visible = true;
  clearIntervals();
  ns.play(video);
  ns.seek(0.0001);
  nDownload = setInterval(downloadProgress, 1000/24);
  nPlayback = setInterval(playback, 1000/24);

 // FirstTime=true;
}


//-----------------------------------onStatus Event Handlers -------------------//

ns.onStatus = function(oInfo:Object):Void{
       
    if(oInfo.code == "NetStream.Play.Stop"){
        clearInterval(nPlayback);
        movieEnded = true;
        // mcBuffer._visible = false;
        }
       
    if(oInfo.code == "NetStream.Buffer.Full"){
       
        mcControls._visible = true;
        spinner.gotoAndStop(1);
       
        // mcBuffer._visible = false;
        }
       
    if(oInfo.code == "NetStream.Buffer.Empty" && !movieEnded){
        // mcBuffer._visible = false;
       
       
        //buffer is empty now we need to check if remaining movie time is less buffer requirement
        var timeRemaining:Number = totalLength - ns.time;
       
        if(timeRemaining < ns.bufferTime){
            ns.setBufferTime(timeRemaining);
            }
       }
}


ns["onMetaData"] = function(oInfo:Object):Void{
    totalLength = oInfo.duration;
    // mcBuffer._visible = false;
   
   
}

//trace(ns.bufferTime);

//-----------------------------   Download Progress --------------------//

var nBytesLoaded:Number;
var nBytesTotal:Number;
var percentageLoaded:Number

function downloadProgress():Void{
    nBytesLoaded = ns.bytesLoaded;
    nBytesTotal = ns.bytesTotal;
    percentageLoaded = nBytesLoaded/nBytesTotal * 100;
    mcProgressBar.mcDownloadBar._xscale = percentageLoaded;
   
   
   
    if(percentageLoaded == 100){
        clearInterval(nDownload);
        // mcControls._visible = true;
        // spinner.gotoAndStop(1);
       
    }else if(percentageLoaded > 0){
       
        if(is_playing =="no"){
            ns.pause();
            paused =!paused;
            is_playing = "yes";
        }
       
    }else{
        mcControls._visible = false;
        spinner.gotoAndStop(2);
    }
   

}

//----------------------------------------PLAYBACk PROGRESS ----------------------------------//

var percentPlayed:Number;

function playback():Void{
    percentPlayed = (  (ns.time/totalLength) * 100 );
    if(percentPlayed <= 0  ){
        percentPlayed = 0;
        }
   
    if(percentPlayed < 100 ){
     mcProgressBar.mcPlayhead._x =  (percentPlayed /100) * mcProgressBar.mcDownloadBar._width;
    }
   
   
}

//-------------------------- Playback controls and Scrub-------------------//

mcControls.mcPlay.onRelease = function():Void{
    if (_root.Commercial_Ended==true){
   
        if ((ns.time/totalLength * 100)>99.5){
            ns.seek(0); 
            nPlayback = setInterval(playback, 1000/24);
        }
        if(paused){
            ns.pause();
            paused =!paused;
        }
    }
}
mcControls.mcPlay.onRollOver = function(){mcControls.mcPlay.gotoAndStop(2);}
mcControls.mcPlay.onRollOut = function(){mcControls.mcPlay.gotoAndStop(1);}

mcControls.mcPause.onRelease = function():Void{
//if (FirstTime==false){
    ns.pause();
    paused = !paused;
//}
}
mcControls.mcPause.onRollOver = function(){mcControls.mcPause.gotoAndStop(2);}
mcControls.mcPause.onRollOut = function(){mcControls.mcPause.gotoAndStop(1);}


mcProgressBar.mcPlayhead.onPress = function():Void{
    clearInterval(nPlayback);
   
    percentPlayed = (ns.time/totalLength * 100 );
    if(percentPlayed <= 0  ){
        percentPlayed = 0;
        }
    // this.startDrag(true, 0, this._y, mcProgressBar.mcDownloadBar._xscale * 1.5, this._y);
    this.startDrag(true, 0, this._y, mcProgressBar.basic_bar._width, this._y);
       
    this.onEnterFrame = function():Void{
        FirstTime=false;
       
        // ns.seek(this._x * totalLength/mcProgressBar.mcDownloadBar._width);         
        ns.seek(totalLength * (this._x / mcProgressBar.basic_bar._width) ); 
        
    
    }
}

mcProgressBar.mcPlayhead.onRelease = function():Void{
    this.stopDrag();
    delete this.onEnterFrame;
    nPlayback = setInterval(playback, 1000/24);
}

mcProgressBar.mcPlayhead.onReleaseOutside = mcProgressBar.mcPlayhead.onRelease;


//-------------------------- MUTE BUTTON ----------------------------------------------------//

var flvSound_mc:MovieClip = _root.createEmptyMovieClip("flvSound_mc",_root.getNextHighestDepth());
flvSound_mc.attachAudio(this.ns);

var soundHolder_sound:Sound = new Sound(flvSound_mc);
soundHolder_sound.setVolume(100);


mcMute.mcVolumehead.onPress = function():Void{
    this.startDrag(true,0, this._y,30, this._y);
    this.onEnterFrame = function():Void{
    soundHolder_sound.setVolume(this._x*3.33);
    }
}

mcMute.mcVolumehead.onRelease = function():Void{
    this.stopDrag();
    delete this.onEnterFrame;
}

mcMute.mcVolumehead.onReleaseOutside = mcMute.mcVolumehead.onRelease;



function clearIntervals():Void{
    clearInterval(nDownload);
    clearInterval(nPlayback);
}
//playVideo(url);
_root.the_ad="israelshopping.flv";//ad;
_root.the_ad_url="javascript:alert('Ad clicked')";//ad_url;
playVideo(url);
if(!_root.the_ad){
    _root.Commercial_Ended=true;
}else{
    if (showit != "no"){
        _root.commercial.gotoAndPlay(8);
    }
    ns.pause();
    paused =!paused;
}

View Replies !    View Related
RTMP ECHO
I am using this code to play flv file from rtmp protocol

when flv file play it gives echo problem.



<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="

View Replies !    View Related
Actionscript 3 And Rtmp
Hi all:

I'm trying to create a simple connection to my FMS sever using actionscript 3 and the Flash 9 Alpha. The code below *kind of works,* but I know it's wrong - I don't know where it's wrong, but I know that it's wrong. I've been googling, reading the articles here (state machine), and going through the AS3 cookbook, but I'm this is the closest I can get by myself.

Any help would be really appreciated.

package {
import flash.display.Sprite;
import flash.events.NetStatusEvent;
import flash.events.SecurityErrorEvent;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.defaultObjectEncoding.*;

public class VideoExample extends Sprite {
private var videoUrl:String = "1";
private var connection:NetConnection;
private var stream:NetStream;

//private function init():void{
// Create the NetConnection and listen for NetStatusEvent and SecurityErrorEvent events
//nc = new NetConnection();
//nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
//nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, netSecurityError);
//nc.connect("rtmp:/myApplication");
//}


public function VideoExample():void {
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
connection = new NetConnection();
connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
connection.connect("rtmp://...videosource/");
}

private function netStatusHandler(event:NetStatusEvent):void {
switch (event.info.code) {
case "NetConnection.Connect.Success":
connectStream();
break;
}
}

private function securityErrorHandler(event:SecurityErrorEvent):void {
trace("securityErrorHandler: " + event);
}

private function connectStream():void {
var stream:NetStream = new NetStream(connection);
var video:Video = new Video();
video.attachNetStream(stream);
stream.play(videoUrl);
addChild(video);
}
}
}

View Replies !    View Related
How Do I Find My Rtmp Url?
Hi all.

I am working on a video chat/text application. The only piece of information I cannot figure out is the rtmp address that goes in the flash media encoder stream server area.

Can someone help me figure this URL out? My host says it's 411.myhostname.com:1111//opt/macromedia/fms/applications

Does that look right?

TIA everyone.

View Replies !    View Related
RTMP Troubleshooting
I installed Flash Media Server on Windows 2003 server. I can open management console from the startup menu. It works fine.
When I try use RTMP from my browser it just hangs there. Is there a way to troubleshoot it. I tried to install FMS on different machines (Windows 2000, Windows 2003) and they have the same issue.

Thank You

View Replies !    View Related
FMS2 RTMP
We have installed the developer edition on FMS2 on a Windows 2000 server. We have been able to see a connection to an instance of our application. But, when we expect to see a video streaming there is nothing. We are unsure of which main.asc file to use in the root of our application FMS2 folder. There is no indication of any documentation regarding this technology that we are aware of that explains it to us in an elementary fashion - we just want to stream video for cry'n out loud! - Very frustrated but want to leverage this technology. Any help with this would be great especially any details regarding the server install and setup to use video streaming capabilities.

Here is our AS3 code we are using:

package {
import flash.display.MovieClip;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.ObjectEncoding;
import flash.system.Security;
import flash.media.Video;
import flash.events.*;
import flash.text.TextField;

public class MyVideo extends MovieClip{
public var nc:NetConnection;
public var stream:NetStream;
public var video:Video;
//public var onBWDone:Function;

public function MyVideo(){
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, playVideo);
nc.objectEncoding = ObjectEncoding.AMF0;
//nc.setId = function(n:Number):void{};
//nc.connect("rtmp:/testApp/streams");
nc.connect("rtmp://172.16.1.83/testApp/streams");
trace(Security.sandboxType);

}


public function playVideo(evt:NetStatusEvent):void {
txt.text = evt.info.code;
switch (evt.info.code) {
case "NetConnection.Connect.Success" :
connectStream();
trace("My code is done");
break;
case "NetStream.Play.StreamNotFound" :
trace("Unable to locate video: ");
break;
default:
trace("The connection failed");
break;
}
}

public function connectStream():void {
trace("CONNECTED");
var stream:NetStream = new NetStream(nc);
stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

var video:Video = new Video();
video.attachNetStream(stream);
addChild(video);
stream.play("test.flv");
}

public function asyncErrorHandler(event:AsyncErrorEvent):void {
trace("SOMETHING BAD");
}

public function onBWDone(info:Object):void{
}

public function netStatusHandler(event:NetStatusEvent):void{
//trace(event.text);
}

}
}

View Replies !    View Related
Looking For Information On RTMP
Hello Folks:

I wish to write a fmscheck like utility, using Twisted and the PyAMF and RTMPy libraries. I want to do something simple - make a connection and open a stream to a movie on our Flash server and consume the output. I want to do this for load testing purposes.

My problem is that I do not understand the protocol. The only reference I have is the Open Source Flash RTMP Protocol document, however I am having a hard time figuring it out.

Any help would be appreciated.

Cheers,
Andrew

View Replies !    View Related
Rtmp LoadVars
Hi,

is there a way to use loadVars with an rtmp connection so that the page Im using to get the variables into my flash movie are not exposed in a user's temp internet files?

thanks!

View Replies !    View Related
Rtmp Streaming
Having real problems trying to find any tutorials or sites with relevant info about streaming video using the rtmp protocol. I can get it to work using the mediadisplay component in flash but would want to change the skin that is used... which after a bit of research is virtually impossible to do.

Writing a player from scratch is apparently the only way, which with partial download streaming wouldnt be a problem but how do i go about communicating with the stream like the mediadisplay? ? I don't think NetStream and NetConnection are valid in this case.

any ideas anyone?

View Replies !    View Related
Does Anybody Know How To Stream In An Flv From A Rtmp Server?
I don't know a lot about streaming video in flash but from what I've read in the help files it should be done like this:


Code:
var nc:NetConnection = new NetConnection();
//The company i'm using to host secure videos requires a token to be passed in to validate the video.
var connected:Boolean = nc.connect("rtmp://secureflashsvc.com?token=dec182aff606337179b61085c4603aa05");
var NewStream:NetStream = new NetStream(nc);
video.attachVideo(NewStream);
NewStream.play("flv/flashmovie"); // the .flv extension is left off


Has anybody had any experience with this? Because according to the docs this is how it should look but it doesn't work for me. Please help.

View Replies !    View Related
RTMP Streaming Player
I need to just get my RTMP stream (free from flashwebtown.com) to play in a flash script. I read online and figured out to play a FLV movie but can't figure out how to play an RTMP stream.

The URL is rtmp://flashwebtown.com/live/. Your flashwebtown username is anything you want.. like lets say johndoe. In FM Encoder 2.5 it is username: User and password: Stream. So what is the code I need? I don't care what it looks like.. I just need to get it to work.

View Replies !    View Related
Capturing A Redirected Rtmp Url
I am totally new to Flash and SWF file
I am using Flash professional 8. I have this swf file which plays a flv from URL-xyz.com. This server redirects to the rtmp server and streams the flv from there. I would like to capture this rtmp url in my action script.
The _url parameter gives me URL-xyz.com and not the redirected url

Is there any way to capture this redirected url ?

Thanks

View Replies !    View Related
RTMP FLV Call Problem
Has anyone ever had an issue with this? I've created a custom FLV player using a ns/nc object method, and I need to call the URL/stream from an off-site host. They instruct me to use an rtmp:// call to point to the .flv, but it doesn't work. http works, but the rtmp doesn't.

Has anyone been able to use the rtmp:// call successfully in a flash video player before?

View Replies !    View Related
FLV Failure To Buffer Via RTMP
Hello,

I have an instance of an FlvPlayback component on the stage named 'flv' I can successfully buffer and play an FLV file via RTMP with the following line:


Code:
flv.contentPath = "rtmp://fmsServerIP/appName/someDirectory/someFile.flv";
However when I try to stream the FLV by way of a class file, nothing happens:


Code:
import mx.video.FLVPlayback;

class FlvStreamer8 {

public function FlvStreamer8(target:FLVPlayback, flv:String) {
target.contentPath = flv;
}

}
Then I invoke from the timeline:


Code:
var fv:FlvStreamer8 = new FlvStreamer8(this.flv, "rtmp://fmsServerIP/appName/someDirectory/someFile.flv");
I am not sure what is causing the problem here. Any advice is greatly appreciated.

View Replies !    View Related
NetConnection, NetStream, And RTMP Help
Hi, I was wondering if anybody had any suggestions on how to help with a problem i'm having.

I have a flash client that connects with a red5 (FMS clone) server. It uses a NetConnection, NetStream, and Mic to send audio to the red5 server. Everything appears to be working correctly until it is time to send the audio packets. It will work on some computers but will not work on others. One of the ones that it doesn't work on is behind a firewall and router. I don't detect any dropped packets, but we do have problems with RTP.

Does anyone have any ideas on what to look at?

Thanks,
Brent

View Replies !    View Related
Buffering Display For RTMP
Hello,

Back in the AS2 forum again. This time, I'm dealing with video. I built a MyVideo Class in AS2 (I know, why not do it in AS3? Because they won't let me, the bastards!) and everything it works fine. I'm not sure if you're familiar with Akamai, but we're using the AkamaiConnection Class to stream our FLVs since they are hosting the videos.

Now, they want to have something displaying the fact that the video is buffering before it plays, complete with a percentage of completion. Thnks to some getter functions in the AC Class, I can talk to the instances of the NetStream and NetConnection directly. I've been trying to find properties and/or events that gives me the buffer time versus what is in the buffer.

According to the documentation I've found, I can't get that info from the NetStream unless it's an HTTP stream, and of course, ours is RTMP.

Does anyone know of a way to get this information from an RTMP connection? Thanks!

View Replies !    View Related
RTMP Fullscreen Command
Hi to everyone
I want to implement the fullscreen on RTMP using the same code working on progressive download but I didn-t succeed: the player is in the middle of the screen and the fullscreen is above it but it can't overlay it..can anyone help me?

This is the code I used:

-------------------------------------------------------------------------

stage.scaleMode= StageScaleMode.NO_SCALE;

function changeStatus(e:MouseEvent):void
{

if(FullScreenStatus)
mcVideoControls.FullScreenBtn.stage.displayState = StageDisplayState.NORMAL;
else
mcVideoControls.FullScreenBtn.stage.displayState = StageDisplayState.FULL_SCREEN;

}


function fullScreenClicked(event:FullScreenEvent):void
{
if (event.fullScreen && isPlay)
{
mcVideoControls.FullScreenStatus = true;
}
else
{
mcVideoControls.FullScreenStatus = false;
}
}
function onFullscreen(e:FullScreenEvent):void
{
if (e.fullScreen && isPlay)
{
mcVideoControls.x = 2.8;
mcVideoControls.y = 510.4;
vidObject.height = 768;
vidObject.width = 1204;
vidObject.x= -430;
vidObject.y=-270;
fullscreenOn=true;

}
else
{

mcVideoControls.x = 2.8;
mcVideoControls.y = 241.4;
mcVideoControls.visible=true;
vidObject.y = 3;
vidObject.x = 3;
vidObject.width = 320;
vidObject.height = 240;
fullscreenOn=false;
}
}

Thanks

View Replies !    View Related
Streaming Mp3 Using RTMP Server
Is there a component to be found or bought that allows one to build an mp3 player that uses RTMP streaming? Importantly, my client demands that the ability to be able to scrube the playhead timeline. I wish I could do this myself with actionscript, but my flash skills are not quite that advanced. Any help would be appreciated. Thanks.

View Replies !    View Related
Streaming Mp3 Using RTMP Server
Is there a component to be found or bought that allows one to build an mp3 player that uses RTMP streaming? Importantly, my client demands that the ability to be able to scrube the playhead timeline. I wish I could do this myself with actionscript, but my flash skills are not quite that advanced. Any help would be appreciated. Thanks.

View Replies !    View Related
RTMP And Tunneling Problem
Hi,

We have some Flash 8 streamed video encoded at around 380kbps designed for viewers on 512kbps connections.
If the connection is made using RTMP on port 1935, everything is fine but if the viewer is behind a firewall and the connection drops down to RTMPT on port 80 they see continual video pauses with buffering messages. I can reproduce this by disabling port 1935 on my router. I think there are two possible reasons for this problem:

1) the number of bytes added to the stream by HTTP tunnelling over port 80 is very large,

2) because HTTP is a non-persistent protocol, there is significant time added for packets to be transferred.

I'm guessing it is probably the later which is the culprit so my question is, how do I calculate an encoding bit rate to ensure correct streaming over the tunneling protocol?

Thanks,

Andrew

View Replies !    View Related
Trying To Connect To FMS Via Rtmp:// Failed
I cannot seem to establish a connection from flash via the flv playback component to the installation of my flash media server on my IIS web server.

I have port 1935 opened but it keeps on failing.

Can anyone suggest any considerations?

Thanks

View Replies !    View Related
RTMP Problem:: Streaming From FMS
Hi,
We've just bought a FMS and I've installed it on a machine running Win Server 2003 SP1. The name of the server is advancedmedia.
FMS is located in D:Flash_Media_Server2. I've updated the server to the latest version.

In the application folder I've created subfolder myapp and have copied main.asc file from folder Adobe/Adobe Flash CS3/Samples/ComponentAS2/FLVPlayback/.
In the subfolder myapp I've created a subfolder Stream and in it a new subfolder _definst_. I've copied a FLV called test.flv file in the subfolder _definst_.
In Flash CS3 I've created a new fla file and have dragged and dropped a FLVPlayback component..
Publish setting: Flahs Player 9; ActionScript 3.0.
I've set up FLVPlayback Parmeter source to:

rtmp://advancedmedia/myapp/test.flv

I'm getting error message: Failed to load FLV: rtmp://advancedmedia/myapp/test.flv

I've found somewhere in docs that param called isLive must be set to TRUE but in the component inspector this parameter doesn't exist.
I've tried to use IP address instead of the server name. I've tried with the port number:
rtmp://advancedmedia:1935/myapp/test.flv

I've also tried:
rtmpt://advancedmedia/myapp/test.flv
and all combination with IP address and port number.

I've done a port test on the server and here is the result:

WIN 8,0,22,0

RMTP Default Success 1.4s
RMTP Port 1935 Success 1.4s
RMTP Port 80 Success 1.2s
RMTP Port 443 Success 1.4s
RMTPT (Tunneling) Default Success 4.3s
RMTPT (Tunneling) Port 80 Success 4.4s
RMTPT (Tunneling) Port 443 Success 5.7s
RMTPT (Tunneling) Port 1935 Success 5.9s

What is wrong? It should be working. I don't understand.
Any idea?
Thanks,
b.

View Replies !    View Related
Snapshot Of RTMP Feed - Possible?
Hi!

Is there a way to get a snapshot of a live streaming RTMP feed? I've tried BitmapData.draw, but this causes a sandbox violation. Is there a way around this? Is there a way (ANY way) to grab a still image from a live RTMP stream and save it to disc?

Thanks in advance,
K.

View Replies !    View Related
RTMP Bytes Recieved
Oops double post. Please see the topic above.



























Edited: 11/11/2007 at 04:54:41 PM by ManOLama

View Replies !    View Related
RTMP Bytes Recieved
Does anyone know of any possible way to find out how many bytes of data are coming into the Flash player from an RTMP stream or any other source? Unfortunately the NetStream's BytesLoaded doesn't work for RTMP streams. I was wondering if there is a way to associate a Flash.Net.Socket object with a NetStream or something similar. Any way to find out how much traffic is coming into the application would be great. Thank you!

View Replies !    View Related
FLV Failure To Buffer Via RTMP
Hello,

I have an instance of an FlvPlayback component on the stage named 'flv' I can successfully buffer and play an FLV file via RTMP with the following line:

flv.contentPath = "rtmp://fmsServerIP/appName/someDirectory/someFile.flv";

However when I try to stream the FLV by way of a class file, nothing happens:

import mx.video.FLVPlayback;

class FlvStreamer8 {

public function FlvStreamer8(target:FLVPlayback, flv:String) {
target.contentPath = flv;
}

}

Then I invoke from the timeline:

var fv:FlvStreamer8 = new FlvStreamer8(this.flv, "rtmp://fmsServerIP/appName/someDirectory/someFile.flv");

I am not sure what is causing the problem here. Any advice is greatly appreciated.

View Replies !    View Related
Multiple Directories In Rtmp
I have hard time getting this URL to work on FMS 3.0.1 and latest Flash player.

rtmp://localhost/vod/flv:Catalog/userA/sample.flv

If I move the sample.flv to the Catalog directory, it works fine (rtmp://localhost/vod/flv:Catalog/sample.flv).
I've tried with and without the .flv file extension and mp4 files.

Can anybody pl help me out and let me know what I am missing? I checked to make sure all directories and files have all the file permissions.

View Replies !    View Related
Resizeable RTMP Player
Does anyone know of a resizeable player that I can enter an RTMP address into and see the resulting stream? The live sample player that comes with FMS3 is almost exactly what I am looking for, a very simple player where I can enter the address of the stream, however it won't let me resize the video, it only shows me what % of the original video size it is displaying.

View Replies !    View Related
RTMP PAUSE Request
Hi,

I am using my own client to control an RTMP session. I would like to know how a PAUSE request looks like. I have used PLAY with a period of 0 to simulate it but I would like to use an actual PAUSE request instead.

Thanks

View Replies !    View Related
How To Change Rtmp Protocol
Hi,

i've a little problem,my fms stream file with rmtp protocol. I would using http protocol

example: http://ip/file.flv

Can i do,where the setting to change?

Thank's a lot

View Replies !    View Related
FLVPlayback Component And Rtmp
I have the flash media streaming server 3 installed on a server in our office. It is set up with a few sample flv/mp4 files and is working great with the vodtest html page that comes with it.

I've now come to making my own flash file using the FLVPlayback component (at the moment i've just got a black document with a flvplayback instance in the middle, which i've given the correct rtmp path in the component inspector). It works fine in flash when using Test Movie, it buffers up the file and start playing almost immediately.

Unfortunately, if I publish the flash file and open it in a web browser, all I get is an endless buffering bar. I'm hoping theres something simple I've missed out somewhere.

View Replies !    View Related
Connecting To An Active Rtmp
Hi,

i created a simple flash app video recorder and another flash apps that will connect to the rtmp address of this
video recorder to re-broadcast the feed of the video recorder flash app. but when my other flash app connecting
the rtmp of the video recorder it does something wrong that makes the video recorder stop recording.

what can i do about this? or is it possible to use this rtmp address by other flash apps to publish the feed
of the active rtmp address?

im new to this.. i hope for some help about it. thank you.

View Replies !    View Related
Code For Calling Rtmp?
Hi,

I want a song to accompany a Flash slide show; but placing the song in the .swf makes the file load too slowly, even over a good DSL connection.

So I thought, since it's just non-synched background music, streaming the audio would speed things up.

I uploaded the song as a sound file in the form of an .flv to my favorite streaming video server site. (I tested it beforehand and it worked great.)

A techie at the server company suggested I use their rtmp code to load it into my slide show file. Their rtmp code looks something like this:
/* wonderfulworldaudiortmp://00.000.000.00/fvssod/fandm00.000.000.00 */
(I've replaced the real numbers with zeros.)

I guess I need some actionscript to call this but can't find the right combo on the internet.

I've tried things like:
/*var videoInstance:Video = WonderfulWorldAudio;
var nc:NetConnection = new NetConnection();
var connected:Boolean = nc.connect("rtmp:/00.000.000.00//fvssod/fandm00.000.000.00");
var ns:NetStream = new NetStream(nc);
videoInstance.attachVideo(ns);
ns.play("WonderfulWorldAudio");
*/

and like this:

/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
trace("Before load, autoPlay is: " + my_FLVPlybk.autoPlay);
my_FLVPlybk.load("http://www.helpexamples.com/flash/video/water.flv");
trace("After load, autoPlay is: " + my_FLVPlybk.autoPlay);
my_FLVPlybk.play();
*/

But haven't hit the number yet.

Any ideas?

Thanks.

View Replies !    View Related
FLV Video Player & RTMP Help
Hello,

I have built a flash 8 video player and am trying to move the files over to streaming server using RMTP and I am running into a problem.

The player has the following structure: The main flv houses the flvplayer and loads swfs that hold the rows/columns of thumbnails, which load into the flvplayer, using this code:

on(press) {
_root.flvp.stop();
_root.flvp.contentPath="filename.flv";
_root.flvp.play();
}

*where flvp is the instance name of my flvplayer.

Here's the problem: Now that I'm trying to move the flv's onto a streaming server, the videos will not load in the flvplayer. Instead the video control bar loads with only the audio and no video.

My new code looks like this:

on(press) {
_root.flvp.stop();
_root.flvp.contentPath="rtmp://myserverpath.../filename.flv";
_root.flvp.play();
}

Separately outside of the video player I have stand alone video swf's embedded in pages, that work wonderfully on the rtmp server, where the flvp content path is "rtmp://myserverpath.../filename.flv".

Does any one have any thoughts/suggestions on why the rtmp path would interfere with the way videos are played in the flvplayer?

Thank you,

Candace

View Replies !    View Related
Playing Rtmp FLVs
Hello all, I have made a custom simple FLV player using a video symbol and the NetConnection and NetStream. The code I used is below.


ActionScript Code:
var nc:NetConnection = new NetConnection();nc.connect(null);var ns:NetStream = new NetStream(nc);theVideo.attachVideo(ns);ns.play("300.flv");
My problem is the file that I want to play is on a Flash Media Server with the following type of URI rtmp://myserver.com/video/test.flv

The above code works perfectly but using a Flash Media Server it doesn't.

How can I modify the script I have so it plays this new file? Just copying the URI to the media component of Flash plays it without any problems.

I would really apreciate your help here guys. Thanks.

View Replies !    View Related
Issue In Using RTMP With FLVPlayback
Hi,

Can anyone please suggest if it is possible to play the FLV file with an RTMP path in FLVPlayback component using AS 2. Its working fine when I use any HTTP path.

I've set the source="my RTMP path" for the FLVPlayback component and have launched this swf in html. But I do not receive any FLV file and nothing plays the component. While in the swf i do not receive any errors.

Please suggest.

thanks.

View Replies !    View Related
Dynamic RTMP Problem
Ok I've got problem with adding RTMP to my tool. I wanted to make my player work with this protocol, but I encounter a "small" problem.

Each time I want to play something that comes from RTMP (as far as I know) I need to use 2 variables (file name and this rtmp server with catalogs). So sourcode looks like this:


Code:
tmpServer = "rtmp://mydomain/somethingmore/evenmore"

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(rtmpServer);
var ns:NetStream = new NetStream(connection_nc);
theVideo.attachVideo(ns);

ns.play("my_file")
Looks pretty simple, doesn't it? But now...the problem is that those 2 variables comes a bit too late and movie won't start. If I leave them like here.. It will work, but in real enviroment those 2 things will be missing until i load them via xml. If I put everything into function and run it after loading these variables - nothing will happen. What should I do now ?

View Replies !    View Related
Playing Flv From Rtmp:// Source
Hi all. This question comes up a lot, but I wasn't able to find an answer when I searched the forum.

I want to use a standard swf movie player that I can change a param on to tell it which flv to load from a Flash streaming server (with an rtmp:// url).

My main problem trying to get anything I find on the web to work is that I don't actually have a copy of Flash to work with. I get flv videos from a guy I have hired to shoot some video for me. I'm not sure how to put get any of the flv players I have found to work, as they don't seem to come with instructions. A few that I downloaded have the .fla source, but in the demo html file they don't seem to load anything, so I guess the source must be modified.

I'd really appreciate if somebody could point me to a player that has the standard controls and is easy to load external flv files with.

Thanks.

View Replies !    View Related
AS2 - NetStream Connection RTMP
Last edited by SightStorm : 1 Week Ago at 11:55.
























....this is driving me mad. I shouldn't be posting actual flv streaming paths but I'm at a point where I dont care lol Just want to get this done.

I have this code below. The video is in fact streaming. However, my connect(PATH) isnt working. Not really sure how to fix this, nor how to go about it. Does anyone have an idea? what is flash expecting in the connect for streaming? the domain? the domain + folder?


Code:
trace(this.videoType); //returns "Rtmp"
if (this.videoType == "Rtmp")
{
trace("Actual Video Path: " + pData.videoPath)
//returns rtmp://{id}.edgefcs.net/ondemand/{folders}/{video_file}.flv
this.connection_nc.connect("rtmp://{id}.edgefcs.net/ondemand/{folders}/");
//breaks down...
}else
{
this.connection_nc.connect(null);
}
Any help would be awesome! Thank you all

View Replies !    View Related
Stream Rtmp With Flex
Hi!

I have seen a couple of posts with people having problem streaming rtmp FLV's. But i haven't seen any good answers so i'm making another try. Here is my code:

Code:

      public function MyMovie()
      {
         ncVideo = new NetConnection();
         ncVideo.connect("rtmp://fl0.something.cdn.domain.com/campaign4/");
         nsVideo = new NetStream(ncVideo);
         nsVideo.play("filename.flv");
         vFLV = new Video();
         addChild(vFLV);
         vFLV.attachNetStream(nsVideo);
         
         var clientObject = new Object();
         clientObject.onMetaData = onMetaData;
         nsVideo.client = clientObject;
      }
      private function onMetaData(oMetaData:Object):void
      {
         trace(oMetaData.duration);
      }


MyMovie() is the constructor of my "MyMovie"! class.
This don't work and passing null to ncVideo.connect and giving nsVideo.play the hole URL don't work either. I knnow the URL works cause i have tried it in the flash component.

View Replies !    View Related
Help With Rtmp://www.mysite.com/Cams/
Hi This is a webcam videoconference swf I have made from the sample_videoconference on my mx comunication server.
It works great on my html, php, & direct from the swf. I have tried it on wan and lan it works on both. My Problem is
I cant get it to work inside my flashchat project Anyone any ideas?

There is no error it just will not let you login to the webcam. But a webcam window does appear telling me to login.

If anyone wants to take alook or can help post here or email me as I have to give you a url & username and password for my chat

Crosz@btinternet.com

View Replies !    View Related
Live RTMP Streams On The Internet
Hello, i'm looking for internet televisions , live 24 hours a day, and watchable with the Flash Player (so they should be live RTMP streams coming from a flash media server).

Do you know someone?
i tried with google but i found only tvs for WMP, Quicktime or Real Player
thanks

View Replies !    View Related
Prevent RTMP FLV Capture/download
Hello,

Is there a way to prevent capture software like:

http://all-streaming-media.com/faq/r...video-http.htm

From capturing my FLV streams? I would like to keep access to my FLV streams to registered members of my site. I am new to action script and FLV streaming, I did everything I could to prevent users from gaining direct access to my embedded streaming URLs (which reside on separate un-secure server), but this software can record and download any of flv streams and tell the user what the direct streaming url is.

Can I stop this? Is there anyway to protect a FLV stream?

Any assistance is greatly appreciated,

Thank You.

View Replies !    View Related
Is There Any Public Available RTMP Test Site?
Hi,

Is there any public available RTMP test server which uses Adobe Flash server?
If yes, can you please tell me the address?

Thank you.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved