Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-14-2012, 10:06 PM
avirex avirex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 24
avirex is on a distinguished road
Default

How to properly format RTMP links without using "File" property


Hi guys. Ok this is going to sound a little different, but here goes.

Essentially we are trying to play RTMP live streams in our Android application that we're developing. The API we're using to play RTMP streams only seems to accept addresses like rtmp://server/file but majority of RTMP streams out there also require the "File" as a separate parameter.

So how would we format all the RTMP links so that we can pass it as one RTMP address without using the "File" as a separate parameter? Sometimes rtmp://server/file works but most of the time it doesn't.

Here is an example, this works fine with JWPlayer.

rtmp://russiatoday.fms.visionip.tv/rt/Russia_al_yaum_1000k_1
File: 1000k_1.flv

When we try it as:

rtmp://russiatoday.fms.visionip.tv/rt/Russia_al_yaum_1000k_1/1000k_1

or

rtmp://russiatoday.fms.visionip.tv/rt/Russia_al_yaum_1000k_1/1000k_1.flv

... it doesn't work.

I'm hoping we can just format the URL differently so that the RTMP server will accept it. Any ideas?

Thanks.
Reply With Quote
  #2  
Old 03-15-2012, 09:59 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: How to properly format RTMP links without using "File" property


You can try putting two forward slash between file and URL, but even that is not a guarantee.

A problem is that RtmpDump does not go from slash to slash if the connection fails.

lists.mplayerhq.hu/pipermail/rtmpdump/2011-December/001771.html
Reply With Quote
  #3  
Old 03-15-2012, 10:15 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: How to properly format RTMP links without using "File" property


and what's the problem in specifying space separated options to RTMP_SetupURL.

Code:
"rtmp://russiatoday.fms.visionip.tv app=rt/Russia_al_yaum_1000k_1 playpath=1000k_1"
http://rtmpdump.mplayerhq.hu/librtmp.3.html
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:05 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons