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

Need help with RTMP and token

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

quan3t 09-04-2015 02:30 PM

Need help with RTMP and token


 
Hello,
I am trying to stream some sports at this site but look like it have token which I couldn't figure out. Can someone help? Thanks
Link I tried.
http://www.vipleague.se/tennis/32620...am-online.html
Might be offline now since event is over, but you can pick any of the live event from the that website and try.
Here is the info I got from trmpdump
Quote:

Processing connect
app: zmliveme
flashVer: WIN 18,0,0,232
swfUrl: http://static.zoomtv.me/player/jwplayer.6.7.4.swf
tcUrl: rtmp://80.82.64.72:1935/zmliveme
pageUrl: http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450
Playpath: 4jsao38mvl
Saving as: 4jsao38mvl
INFO: Metadata:
INFO: presetname Custom
INFO: creationdate Fri Sep 04 16:21:00 2015
INFO: videodevice XSplitBroadcaster
INFO: framerate 20.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: avclevel 22.00
INFO: avcprofile 100.00
INFO: videodatarate 390.62
INFO: audiodevice VHAudioCustom
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audioinputvolume 100.00
INFO: audiocodecid mp4a
INFO: audiodatarate 93.75
INFO: bufferSize 600k
INFO: maxBitrate 600k
INFO: xsplitBroadcasterVersion1.3.0.416
INFO: xsplitCoreVersion 2.3.1505.0542 Version 2.3
INFO: xsplitGameSourceVersion1.1.1.141
INFO: xsplitMediaLibVersion 2.0.0.507
INFO: pluginName CustomRTMP
INFO: pluginVersion 2.3.1505.0501
WARNING: ignoring too small audio packet: size: 0
ERROR: WriteN, RTMP send error 10054 (4043 bytes)
This is my syntax
rtmpdump.exe -v -r rtmp://46.28.205.7:1935/zmliveme -f "WIN 18,0,0,232" -y "4jsao38mvl" -W "http://static.zoomtv.me/player/jwplayer.6.7.4.swf" -p "http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450" -a "zmliveme" --quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe"

biezom 09-04-2015 05:14 PM

Re: Need help with RTMP and token


 
Quote:

Originally Posted by quan3t (Post 79533)
Hello,
I am trying to stream some sports at this site but look like it have token which I couldn't figure out. Can someone help? Thanks
Link I tried.
http://www.vipleague.se/tennis/32620...am-online.html
Might be offline now since event is over, but you can pick any of the live event from the that website and try.
Here is the info I got from trmpdump


This is my syntax
rtmpdump.exe -v -r rtmp://46.28.205.7:1935/zmliveme -f "WIN 18,0,0,232" -y "4jsao38mvl" -W "http://static.zoomtv.me/player/jwplayer.6.7.4.swf" -p "http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450" -a "zmliveme" --quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe"

yes need token but 2 other dynamic values and " " for other value

Code:

-T "Q!lrB@G1)ww(-dQ4J4"
Code:

-C S:1441407845 -C S:938ce04926b0a5f1fa0ad9debdf3ecf7
Code:

-C S:"V>JWhui^@2ESdu0?}>AN"
Code:

rtmpdump -r "rtmp://93.174.93.70:1935/zmliveme" -a "zmliveme" -f "WIN 18,0,0,209" -W "http://static.zoomtv.me/player/jwplayer.6.7.4.swf" -p "http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450" --live -C S:4jsao38mvl -C S:1441407845 -C S:938ce04926b0a5f1fa0ad9debdf3ecf7 -C S:"V>JWhui^@2ESdu0?}>AN" -y "4jsao38mvl" -T "Q!lrB@G1)ww(-dQ4J4" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -


quan3t 09-04-2015 09:10 PM

Re: Need help with RTMP and token


 
Sweet. Do you mind sharing how you got the token? Did you use winhex? I tried using winhex and was not successful. Also how do you find the extra parameters? Wasn't part of the dump. Thanks

biezom 09-04-2015 09:53 PM

Re: Need help with RTMP and token


 
Quote:

Originally Posted by quan3t (Post 79540)
Sweet. Do you mind sharing how you got the token? Did you use winhex? I tried using winhex and was not successful. Also how do you find the extra parameters? Wasn't part of the dump. Thanks

yes i use winhex to find the token
and rtmpdumphelper to find the code (with -C S:.....)

quan3t 09-07-2015 08:35 AM

Re: Need help with RTMP and token


 
Hi. Can you please help with another stream. I am having difficulty trying to find the Token. Thank you much.
http://www.stream2watch.co/live-tv/u...el-live-stream

troller12 09-07-2015 09:01 AM

Re: Need help with RTMP and token


 
Hi,

Code:

token=F27b4e798158a711baf6d028666e09fe
streamer=rtmp://95.211.209.165:1935/edge/_definst_/?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2Mzc4MTF8NzcuMi45Ny4yNDB8NTVlZGE0NGI5N2Q5YnxkNDY3NzMzMmQ2NmEzOGM4ZTM5ZTA3ZWI4MjE5MWFiNWU4MjhmMDhk
file=ro7c9eha0z96hpp.flv

greetz

peterpan 09-07-2015 09:13 AM

Re: Need help with RTMP and token


 
Edit: I need to work on my speed lol troller was faster ;)

Here you go...

Code:

rtmpdump -r "rtmp://watch4.streamlive.to:1935/edge/_definst_/" -a "edge/_definst_/?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2Mzg3NDB8NzYuMTgxLjQ2LjIzNHw1NWVkYTdlYzY0MTkyfDI3YTkzZTk3ZmQzMTU2ZGU1N2E0Mzc2NjhjM2YyZTZiNjZiZGNlZDY." -f "WIN 18,0,0,232" -W "http://www.streamlive.to/ads/embed/player_ilive_embed.swf" -p "http://www.streamlive.to/embedplayer.php?channel=69110&width=700&height=480&autoplay=true" -y "ro7c9eha0z96hpp" -T "W8a336bb92090a4e05a2664db10677c3" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -




Quote:

Originally Posted by quan3t (Post 79629)
Hi. Can you please help with another stream. I am having difficulty trying to find the Token. Thank you much.
http://www.stream2watch.co/live-tv/u...el-live-stream


quan3t 09-07-2015 09:46 AM

Re: Need help with RTMP and token


 
I copy and paste your code but it not working.. I wonder if they have some rotation token as seem your token and trollers posted token are different.
Ps. I tried Trollers token and not working either.

quan3t 09-07-2015 09:50 AM

Re: Need help with RTMP and token


 
BTW. Do you mind giving quick note on how you find the token? I tried using winhex but couldn't find it.. Here my steps:
1) I open firefox and go to stream link
2) Stream start playing, I open winhex and go to Tools, Memory
3) I open plugin.container and do a search for secureToken
4) Nothing found :(

troller12 09-07-2015 10:22 AM

Re: Need help with RTMP and token


 
Hi,

yes token is dynamic.
Code:

--------------------------------------------------
http://www.streamlive.to/server.php?id=1441641275
{"token":"n74d7d9ca79ac8b0c4004058d4d129c7"}       
--------------------------------------------------

As response you get token data if you follow / debug the way.If you want to find token in memory then you have to search for..
Code:

token=
...as I did post before already.Now you find it.On original site of streamlive...
Code:

streamlive.to
http://www.streamlive.to/view/69110/Discoverylive-stream-channel

...you can also find a playlist....
Code:

file': 'http://23.92.70.42:1935/edge/ro7c9eha0z96hpp/playplist.m3u8
...but livestreamer dosen't play it and get any timeout problem etc so I think for this you need to use some extra --http-header paramters etc.
Code:

livestreamer "hls://http://23.92.70.42:1935/edge/ro7c9eha0z96hpp/playplist.m3u8" best
[cli][info] Found matching plugin stream for URL hls://http://23.92.70.42:1935/edge/ro7c9eha0z96hpp/playplist.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][error] Could not open stream: Unable to open URL: http://23.92.70.42:1935/
edge/ro7c9eha0z96hpp/playplist.m3u8 ((<requests.packages.urllib3.connectionpool.
HTTPConnectionPool object at 0x01358630>, 'Connection to 23.92.70.42 timed out.
(connect timeout=20.0)'))

greetz


All times are GMT -6. The time now is 10:02 AM.