Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
How to properly format RTMP links without using "File" propertyHi 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. |
#2
|
|||
|
|||
Re: How to properly format RTMP links without using "File" propertyYou 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 |
#3
|
|||
|
|||
Re: How to properly format RTMP links without using "File" propertyand 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" |
Tags: rtmp live stream |
Thread Tools | |
Display Modes | |
|
|