danstiner / glimdroid Goto Github PK
View Code? Open in Web Editor NEWUnofficial app for Glimesh.tv - a real-time livestreaming platform
Home Page: https://play.google.com/store/apps/details?id=com.danielstiner.glimdroid
Unofficial app for Glimesh.tv - a real-time livestreaming platform
Home Page: https://play.google.com/store/apps/details?id=com.danielstiner.glimdroid
Repro steps:
Expected result: Stream starts as normal
Actual result: Stream does not start, video is just black and the layout is messed up
Workaround: Open a different stream and then switch back to the one you wanted
Follow buttons would be nice, but will require new mutations in the Glimesh.tv API: Glimesh/glimesh.tv#718
Was watching a stream and had to go to browser base because glimdroid was disconnecting me from the stream every 10-20 minutes or more
This is somewhat expected, I haven't implemented anything to reconnect the websocket when it dies.
Doing so is a little tricky, any open subscriptions need to be opened again and any in-progress requests retried. It may be simpler to tie websockets to specific activities and then restart the activity when something goes wrong.
Similar story for Janus sessions, if they die we need to restart them.
Crash stacktrace:
kotlin.NotImplementedError:
at com.danielstiner.phoenix.channels.Socket$Listener.onFailure (Socket.java)
at okhttp3.internal.ws.RealWebSocket.failWebSocket (RealWebSocket.java:31)
at okhttp3.internal.ws.RealWebSocket$WriterTask.runOnce (RealWebSocket.java:15)
at okhttp3.internal.concurrent.TaskRunner.runTask (TaskRunner.java)
at okhttp3.internal.concurrent.TaskRunner.access$runTask (TaskRunner.java)
at okhttp3.internal.concurrent.TaskRunner$runnable$1.run (TaskRunner.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:920)
Users can accidentally navigate back to the sign-in page even after they've already completed sign-in
When watching a stream, the Glimesh.tv server is told via the startWatching
mutation that it should count the current user as a viewer on the channel. However there is no way to stop watching except to close the websocket, and I'd prefer to keep one socket open for the entire app if possible.
I think instead watching should be tracked as a graphql subscription so it can be stopped. Alternatively I'd have to switch to having multiple sockets open, one for getting general info / channel lists, then another opened per stream and closed when the stream switches. That's possible but adds noticeable latency and some complexity.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.