Skip to main content
Inspiring
June 20, 2012
Question

How can you be sure whether your video streams are using RTMP or RTMFP?

  • June 20, 2012
  • 1 reply
  • 827 views

I know this is a beginner question.  Basically if you make a Flash program that streams video from a publisher to a receiver, how can you be absolutely sure whether it's using RTMP or RTMFP to get there?  Thanks!

This topic has been closed for replies.

1 reply

Adobe Employee
June 21, 2012

Basically when you have to publish - you would be using NetConnection - so if you NetConnection is using RTMP protocol - its RTMP and if its using RTMFP - its RTMFP.

Inspiring
June 21, 2012

Well, I guess I could rephrase the question to refer to whether the NetConnection is using RTMP or RTMFP.  Because even passing an RTMFP string to a NetConnection, it looks like it's able to just turn around and run RTMP instead if stuff isn't set up right for RTMFP.  I'm new to using RTMFP, but right now I'm still trying to figure out specifically what needs to be different to set up a RTMFP connection, instead of an RTMP one (and not just copy and paste from a tutorial with a bunch of extra stuff in it or that uses a very specific connection string).  Apparently there is the protocol field of a NetConnection, but if it can take an RTMFP string and make an RTMP connection out of it, I'm not sure that I can really trust what the protocol field says.  Is there another way to check it out?  Thanks!

EDIT: Just checked out the protocol field.  It's saying "rtmfp" in my program, but all I did was to literally just change the first part of the connection string from "rtmp" to "rtmfp".  RTMFP supposedly requires extra setup, so I doubt that it's really using that protocol.