Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to programmatically extract RTMP urls?

(http://stream-recorder.com/forum/showthread.php?t=10464)

Chris001 11-26-2011 01:41 PM

How to programmatically extract RTMP urls?


 
Hi, I'd like to write a small tool to extract RTMP urls, because I need to add some functionality that other programs don't have.

Currently I'm checking the raw network traffic and I can see the RTMP urls (sometimes only half of the urls), but for every website it's different.

For one website it looks like this in the raw data: "Subscribe.swf??serverIP=rtmp://....."
An other website looks like this in the raw data: "Playing and resetting rtmp://....."

This way it's impossible to properly extract the RTMP urls. Applications like Coojah6, Replay Media Catcher and StreamTransport can always find the correct RTMP urls. They can even find flashVer, tcUrl and swfUrl, so there must be a standard/proper way of extracting the RTMP urls from the raw data when the video starts playing.

Does anybody know how this is done? What are these appplications exactly looking for?

svnpenn 11-26-2011 10:15 PM

Re: How to programmatically extract RTMP urls?


 
The best I can say at this point is to check the source code for RtmpSrv

Chris001 11-27-2011 11:28 AM

Re: How to programmatically extract RTMP urls?


 
Thank you. I looked at the source code for RtmpSrv, but it's written in C and unfortunately I don't know any C. I wish there was an example in C# or perhaps VB.

At least I'm a bit closer now. Thanks again.


All times are GMT -6. The time now is 11:09 AM.