Results 1 to 10 of 10

Thread: compiling jw player for token security

  1. #1
    Join Date
    Apr 2014
    Posts
    16

    Default compiling jw player for token security

    Hello,

    I am following this manual http://www.freemancompression.com/we...layer-5-2.html to compile a jw player so that I can use token security, but once I get to the point of compiling I receive these 2 errors:

    C:\trunk\fl5\src\com\longtailvideo\jwplayer\utils\Strings.as, Línea 84 1180: Llamada a un método JSONDecoder posiblemente no definido.
    C:\trunk\fl5\src\com\longtailvideo\jwplayer\utils\Strings.as, Línea 2 1172: No se encontró la definición com.adobe.serialization.json:JSONDecoder.

    Could you please tell me how to solve them, or if they are essential for jw player to work with token?
    Thanks

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    I'm not sure how to help with this. Have you asked on the JW Player forum? I think this is going to become increasingly difficult because, as I understand it, the source for premium and enterprise editions is not available, so you can only do it with free version which lacks some features, like HLS to the desktop (tho SecureToken is not used in HLS streaming), and JW Player 5, which you are using, I don't think is available anymore.

    Richard

  3. #3
    Join Date
    Apr 2014
    Posts
    16

    Default

    So then what version of jw player can I compile without receiving errors? Or what else can I do?

  4. #4
    Join Date
    Apr 2014
    Posts
    16

    Default

    Or can you simply give me the source code of jw player that can be compiled without having any error

  5. #5
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Have you asked about this on the JW player forum. I think you need Flash Builder to recompile JW player source.

    Richard

  6. #6
    Join Date
    Apr 2014
    Posts
    16

    Default

    Yes I have already asked them and I am waiting for an answer. Flash builder? It was not only needed the adobe flash professional to compile it?
    Don´t you have any tutorial about how to use the token with any player without receiving errors?
    I do not know what more to do and I need to secure my rtmp

  7. #7
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    The source code for JW Player 6 includes a README.txt file with exact instructions on how to build from source.

    Keep in mind that SecureToken only works with RTMP (and variants), and you will want to use HotLinkDenial (or htaccess rules to prevent hotlinking) and RTMPS (preferred) or RTMPE protocol to make a complete solution

    Note that as far as I know the source code for the premium and enterprise versions of JW player are not available, but the main strength of those versions for streaming purposes is HLS to the desktop, which does not support SecureToken.

    Richard

  8. #8
    Join Date
    Apr 2014
    Posts
    16

    Default

    I am already using hotlinkdenial, but although I am using it there are people that continue taking my channel without doing iframe to my webpage.
    but, with the source code for jw player 6 I can use secure token no?
    I mean the only thing I want is to protect my channel because somone is still stealing my channel

  9. #9
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    You use SecureToken to ensure that only your player will work with your content, and you use HotLinkDenial to make sure no one will hotlink the player you have secured, and use RTMPS or RTMPE to encrypt the stream itself. So these are all used together. The readme.txt file in the source code has instructions for compiling, I can't help more with that.

    Richard

  10. #10
    Join Date
    Nov 2013
    Posts
    18

    Default

    The problem is though, people can view source, grab the swf, and decompile and easily get the token, I know personally that even with obfuscation people can just grab the token even with rtmpe or rtmps. Plus they can spoof the website, I am sure you guys have heard of rtmpdump by now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •