changtimwu / selfdriving-rc

Using RC as a self-driving car platform
0 stars 0 forks source link

streaming server #1

Open changtimwu opened 7 years ago

changtimwu commented 7 years ago

coding and hosting

host ngrok 1.x on GCE first

changtimwu commented 7 years ago

official ngrok service is very slow alternatives

changtimwu commented 7 years ago

In GCE menu, choose VM region asia-east1 which is physically in Taiwan.

https://cloud.google.com/compute/docs/regions-zones/?hl=zh_TW&_ga=2.14524791.-1124711796.1510025836

GCE latency analysis

changtimwu commented 7 years ago

try this https://blog.miguelgrinberg.com/post/video-streaming-with-flask http://www.chioka.in/python-live-video-streaming-example/

changtimwu commented 7 years ago

chloroform vs UV glue https://www.youtube.com/watch?v=6LGrO-s6Bcs&t=1s https://www.youtube.com/watch?v=RQh7W_t1EEM

changtimwu commented 6 years ago

go-tunnel takes port 5223 by default we open port on GCE in this way https://stackoverflow.com/questions/21065922/how-to-open-a-specific-port-such-as-9090-in-google-compute-engine

self-hosting go-tunnel works great. something might be different than the ngrok service.

changtimwu commented 6 years ago

some basics about PI h.264 streaming https://github.com/changtimwu/changtimwu.github.com/issues/78#issuecomment-347774041

changtimwu commented 6 years ago

we may need STUN/TURN server

changtimwu commented 6 years ago

twilio NTS would be another option. Great webrtc global solution. However, it regions doesn't include Taiwan. Here are its pricing.

valuable discussion about here webrtc and codecs

changtimwu commented 6 years ago

some open source IM implementation integrate webrtc for audio/video communication

to install coturn