![]() I agree that your proposed solution would be superior and I encourage anyone who wants to implement it to do so rather than using the hack above. I understand this isn't exactly code that is appropriate to check in as some official solution, just thought I'd share in case someone stumbles on this issue. This is "strict" TLS in the sense that no unencrypted traffic (beyond the initial startTLS message) is present on the wire, and that if the client were to try to talk plaintext to it, neither the Python script nor stunnel would be OK with that, and so the connection would never make it to syncplay-server. Weve had some performance issues with very large numbers of files in scanned folders on slow devices in the past. To use the SSSP APIs, 'b2bapis.js' must be loaded in the 'index. ![]() The new, on the other hand, APIs are provided as a single JavaScript package file, called 'webapis.js', with other Samsung Product APIs. The Syncplay client negotiates TLS with stunnel, and once done stunnel forwards plaintext syncplay traffic to syncplay-server, none the wiser than TLS is happening. The SSSP Web APIs are packaged as a JavaScript file separated from the Samsung Product APIs. Then Syncplay clients can be pointed at servername:9997 and will connect to the Python script, which will strip off the startTLS header, and from then the TLS stream goes to stunnel. This lead me down the rabbit hole of trying to figure out how and if it was even possible and this is what I found. Whether it would get integrated into the main branch would probably depend on issues such as performance, added complexity, maintainability, and whether it required additional libraries to be loaded. Aug8 minutes Ever since the great SyncPlay feature in Jellyfin came out, I've been wondering if it was possible to use it to watch livestreams. ![]() This is launched with arguments 9997 9998 (first is the port for the script to listen on, second is the port stunnel is listening on). Syncplay is open source, so anyone who wants to code a feature is able to do so. Read more > SyncPlay doesnt work unless media is already playing : r/jellyfin SyncPlay doesnt work unless media is already playing. My config is up to date windows 10 (12/2/18), SyncPlay 1.6.1, VLC. With SyncplayServer(( '', listen_port), SyncplayRequestHandler) as server: When I double click SyncPlay.exe, nothing happens. select( sockets, (), sockets)įorwarded_conn. ![]() the TLS handshake begins in earnest, using the same TCP connection.įor this to work properly, the process handling the TCP connection has to speak Syncplay's protocol, or at least it has to understand this particular \r \n') The server then acknowledges this TLS upgrade request with:Īnd then the client sends the TLS ClientHello message, i.e. It appears that Syncplay's approach to TLS is to send an initial message over the TCP stream to upgrade the connection to use TLS: What files are given to Syncplay for TLS when acme.sh is used instead of certbot Issue 250 Syncplay/syncplay GitHub Syncplay / syncplay Public Closed Mikaela commented on certbot gave me: README cert.pem chain.pem fullchain.pem privkey. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |