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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-11-2013, 06:15 AM
wral wral is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
wral is on a distinguished road
Default

twitch.tv NetStream.Authenticate.UsherToken


Hi,

i have a problem with watching twitch.tv streams using rtmpdump.

my command line:
Code:
rtmpdump -r "rtmp://199.9.255.135/app/jtv_qJJzRT___TOJ0zOE"--swfVfy "http://www-cdn.jtvnw.net/widgets/live_embed_player.r4fa4a6b0df617f1cff79b6f6fbd7c6fa01047d9e.swf?channel=OnGameNet&referer=&userAgent=&channel=OnGameNet" -v -V | vlc -
it retrun:
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

in debug mode i can see:
Code:
...
DEBUG: Property: <Name:              level, STRING:     error>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Failed>
DEBUG: Property: <Name:        description, STRING:     ERR001: You must supply
a valid token via NetStream.Authenticate.UsherToken>
DEBUG: Property: <Name:           clientid, NUMBER:     667232623.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed
ERROR: Closing connection: NetStream.Play.Failed
DEBUG: Closing connection.
You must supply
a valid token via NetStream.Authenticate.UsherToken>


packet which i sniffed (wireshark) when played stream via browser : http://pastebin.com/1b6kdM2E

the intresting part of this :

!NetStream.Authenticate.UsherToken............>eae 5cabba60a1ac4c3b8523cfa92b9d007f98ae8:{"swfDomains ": ["justin.tv", "jtvx.com.", "xarth.com", "twitchtv.com", "twitch.tv", "newjtv.com", "jtvnw.net", "wdtinc.com", "imapweather.com", "facebook.com", "starcr.afting.com"], "streamName": "jtv_qJJzRT___TOJ0zOE", "expiration": 1357907539.68525, "server": "video3-1.lhr01"}

any ideas how can i send the NetStream.Authenticate.UsherToken using rtmpdump?

i am begginer so i would be grateful if someone would find a time to help me.

Greetings,
wral

Last edited by wral : 01-11-2013 at 06:51 AM.
Reply With Quote
  #2  
Old 01-11-2013, 07:00 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: twitch.tv NetStream.Authenticate.UsherToken


You should provide whole address otherwise we can't help you.
Reply With Quote
  #3  
Old 01-11-2013, 07:32 AM
wral wral is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
wral is on a distinguished road
Default

Re: twitch.tv NetStream.Authenticate.UsherToken


do u mean http://pl.twitch.tv/ongamenet ?

but i have this problem on all twitch streams(if it will go offline u can take probably any other stream).

Last edited by wral : 01-11-2013 at 09:06 AM.
Reply With Quote
  #4  
Old 01-11-2013, 09:06 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: twitch.tv NetStream.Authenticate.UsherToken


As your channel is currently offline I found out other channel on the same platform and it should work like this.

Code:
rtmpdump -r "rtmp://199.9.255.203/app" -a "app" -f 
"WIN 11,5,502,146" -W "http://www-cdn.jtvnw.net/widgets/live_frontpage_player.r
0e1d62d0a743f647535f85603a89f6bac74583bd.swf" -p "http://pl.twitch.tv/" -j "49d9
1f2ab765d06892be522c0879252355e73832:{\"swfDomains\": [\"justin.tv\", \"jtvx.com
\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\", \"newjtv.com\", \"jtvnw.net\
", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"],
 \"streamName\": \"jtv_fM7H8SJbnhK1C2y_\", \"expiration\": 1357920276.312999, \"
server\": \"video15-1.ams01\"}" -y "jtv_fM7H8SJbnhK1C2y_" | vlc -
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration                0.00
INFO:   width                   640.00
INFO:   height                  360.00
INFO:   videodatarate           500.00
INFO:   framerate               30.00
INFO:   videocodecid            7.00
INFO:   audiodatarate           92.77
INFO:   audiosamplerate         44100.00
INFO:   audiosamplesize         16.00
INFO:   stereo                  TRUE
INFO:   audiocodecid            10.00
INFO:   author
INFO:   copyright
INFO:   description
INFO:   keywords
INFO:   rating
INFO:   title
INFO:   presetname              Custom
INFO:   creationdate            Thu Jan 10 18:35:59 2013
INFO:   videodevice             XSplitBroadcaster
INFO:   avclevel                32
INFO:   avcprofile              100
INFO:   videokeyframe_frequency 0
INFO:   audiodevice             VHAudioCustom
INFO:   audiochannels           1
INFO:   audioinputvolume        100
INFO:   bufferSize              2048k
INFO:   maxBitrate              2048k
INFO:   xsplitBroadcasterVersion1.3.0.51
INFO:   xsplitCoreVersion       1.1.1210.3101 Version 1.1
INFO:   xsplitGameSourceVersion 1.1.1.16
INFO:   xsplitMediaLibVersion   2.0.0.149
INFO:   encoder                 Lavf54.6.100
INFO:   filesize                0.00
268.048 kB / 3.48 sec
ERROR: Download: Failed writing, exiting!
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 09:41 AM.


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