Skip to main content
Inspiring
Jun 20, 2012 10:04 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
Jun 21, 2012 11:18 AM UTC

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.

Translate
Inspiring
Jun 21, 2012 12:52 PM UTC

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.

Translate