View Single Post
  #22  
Old 10-14-2017, 03:12 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


Just noticed:

librtmp protocol AVOptions:

Code:
  -rtmp_app          <string>     ED...... Name of application to connect to on the RTMP server
  -rtmp_buffer       <string>     ED...... Set buffer time in milliseconds. The default is 3000. (default "3000")
  -rtmp_conn         <string>     ED...... Append arbitrary AMF data to the Connect message
  -rtmp_flashver     <string>     ED...... Version of the Flash plugin used to run the SWF player.
  -rtmp_live         <int>        .D...... Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default recorded)
     any                          .D...... both
     live                         .D...... live stream
     recorded                     .D...... recorded stream
  -rtmp_pageurl      <string>     .D...... URL of the web page in which the media was embedded. By default no value will be sent.
  -rtmp_playpath     <string>     ED...... Stream identifier to play or to publish
  -rtmp_subscribe    <string>     .D...... Name of live stream to subscribe to. Defaults to rtmp_playpath.
  -rtmp_swfurl       <string>     ED...... URL of the SWF player. By default no value will be sent
  -rtmp_swfverify    <string>     .D...... URL to player swf file, compute hash/size automatically. (unimplemented)
  -rtmp_tcurl        <string>     ED...... URL of the target stream. Defaults to proto://host[:port]/app.
  -rtmp_buffer_size  <int>        ED...... set buffer size in bytes (from -1 to INT_MAX) (default -1)
In comparison with librtmp parameters few switches are missing, like this one:

Code:
     token string   Key for SecureToken response
Valid RTMP options are: ( Librtmp )

Code:
     socks string   Use the specified SOCKS proxy
       app string   Name of target app on server
     tcUrl string   URL to played stream
   pageUrl string   URL of played media's web page
    swfUrl string   URL to player SWF file
  flashver string   Flash version string (default WIN 10,0,32,18)
      conn AMF      Append arbitrary AMF data to Connect message
  playpath string   Path to target media on server
  playlist boolean  Set playlist before play command
      live boolean  Stream is live, no seeking possible
 subscribe string   Stream to subscribe to
       jtv string   Justin.tv authentication token
     token string   Key for SecureToken response
    swfVfy boolean  Perform SWF Verification
    swfAge integer  Number of days to use cached SWF hash
     start integer  Stream start position in milliseconds
      stop integer  Stream stop position in milliseconds
    buffer integer  Buffer time in milliseconds
   timeout integer  Session timeout in seconds
   pubUser string   Publisher username
 pubPasswd string   Publisher password
Reply With Quote