Commit Graph

340 Commits

Author SHA1 Message Date
Yohann D'ANELLO 4f947ad651 Bufferize reading 2020-11-08 15:29:18 +01:00
Yohann D'ANELLO 8427377d51 Revert "Try to use manually FFMPEG bindings to avoid having too much syscalls, not working yet"
This reverts commit d92bb1d4
2020-11-08 14:21:36 +01:00
Yohann D'ANELLO d92bb1d465 Try to use manually FFMPEG bindings to avoid having too much syscalls, not working yet 2020-11-08 00:08:52 +01:00
Yohann D'ANELLO cc40226111 Use stdout instead of Unix socket 2020-11-07 22:11:21 +01:00
Yohann D'ANELLO bdd67a5bd2 Use input stream instead of sample video 2020-11-07 21:45:18 +01:00
Yohann D'ANELLO eb0b022c11 Well it works when we place the buffer at the right place :) 2020-11-07 20:36:33 +01:00
Yohann D'ANELLO 4888a4d5fc I commit this only to revert easily to something that worked with VP8 2020-11-07 17:07:47 +01:00
Yohann D'ANELLO 9f8c3a907a Try to use the new H264 reader from pion, not working yet 2020-11-07 16:58:59 +01:00
Yohann D'ANELLO 4e0dea4eab Upgrade pion-webrtc 2020-11-07 16:12:30 +01:00
Yohann D'ANELLO fc3c0f606c Reduce bcrypt rounds for demo password to 10 to displaying the bcrypt process in the CPU profiling 2020-11-07 15:03:42 +01:00
Yohann D'ANELLO e1bdae5380 Add profiling during debugging 2020-11-07 15:02:09 +01:00
Yohann D'ANELLO 26e7182085 Close websocket handler on error 2020-11-07 15:00:33 +01:00
Yohann D'ANELLO 59c47ca3e0 5 UDP ports are not enough 2020-11-07 15:00:06 +01:00
Yohann D'ANELLO 8eea7d6e4f Upgrade pion 2020-11-07 14:58:15 +01:00
Yohann D'ANELLO f394af9257 Update main page 2020-10-29 13:43:36 +01:00
Yohann D'ANELLO 5b40aa886f Use random UDP ports to able to have multiple concurrent streams 2020-10-29 13:11:30 +01:00
Yohann D'ANELLO 9fc3d37e72 Update srtgo to don't depend anymore on C library 2020-10-29 13:04:13 +01:00
Yohann D'ANELLO 9e7e1ec0b8 Stream with the H264 codec to have no CPU usage 2020-10-27 19:32:23 +01:00
Alexandre Iooss cdb56c8bf5
Fix sendLocalDescription retry in web client 2020-10-23 08:11:55 +02:00
Alexandre Iooss ff2ebd76f1
Make viewer able to change quality 2020-10-22 18:41:14 +02:00
Alexandre Iooss 4cbb1d8192
Better javascript messages 2020-10-22 18:21:42 +02:00
Alexandre Iooss 24478bdc7a
Retry message sending when websocket not ready 2020-10-22 13:42:45 +02:00
Alexandre Iooss 0f4c57bcde
Cache go modules in CI 2020-10-22 10:38:47 +02:00
erdnaxe c0820db244 Merge branch 'websocket' into 'dev'
Websocket

See merge request nounous/ghostream!7
2020-10-22 08:26:41 +02:00
Alexandre Iooss a2a74761bb
Parse JSON from server SDP 2020-10-22 08:23:35 +02:00
Alexandre Iooss ba8bf426e0
Fix JSON decoding 2020-10-22 08:19:01 +02:00
Alexandre Iooss 90d7bd4760
Add package comment in websocket_handler.go 2020-10-21 22:43:28 +02:00
Alexandre Iooss 2928e8ae77
Rename main.js to viewer.js 2020-10-21 22:43:11 +02:00
Alexandre Iooss e461c0b526
Fix some undefined this in js classes 2020-10-21 22:38:36 +02:00
Alexandre Iooss 9d162b13ed
WebRTC JS module 2020-10-21 22:10:39 +02:00
Yohann D'ANELLO 91c4e9d14d Forwarding should not have the re option 2020-10-21 13:34:39 +02:00
Yohann D'ANELLO 5ea8a0913b Add ability to format output URL with the start time of the stream, if the stream is recorded. 2020-10-21 11:47:06 +02:00
Alexandre Iooss 0b3fb87fa2
Working javascript modules 2020-10-20 21:59:07 +02:00
Alexandre Iooss c88f473ec0
Remove old JS 2020-10-20 21:45:26 +02:00
Alexandre Iooss 11231ceb84
viewerCounter and websocket JS modules 2020-10-20 21:29:41 +02:00
Alexandre Iooss 01efba3e3f
Handle websocket 2020-10-20 19:12:15 +02:00
Alexandre Iooss ac2f87e936
Add HTML viewport 2020-10-20 09:24:56 +02:00
Alexandre Iooss cd63c93dce
Fix web player overflow 2020-10-19 21:52:53 +02:00
Alexandre Iooss 4727b2bf64
Fix typo in outputted 2020-10-19 21:49:37 +02:00
Alexandre Iooss e1f83a32df
Put webrtc SDP inside Quality struct 2020-10-19 21:45:23 +02:00
Alexandre Iooss e848d92a1a
Fix viewer count 2020-10-19 20:05:20 +02:00
Alexandre Iooss d263f743f7
Update package web with Quality structure 2020-10-19 19:57:04 +02:00
Alexandre Iooss d03d4fed40
Update package text with Quality structure 2020-10-19 19:52:24 +02:00
Alexandre Iooss 34200afaed
Update package webrtc with Quality structure 2020-10-19 19:48:44 +02:00
Alexandre Iooss 340d0447a8
Update package telnet with Quality structure 2020-10-19 19:44:30 +02:00
Alexandre Iooss 069b2155be
Update package srt with Quality structure 2020-10-19 19:40:36 +02:00
Alexandre Iooss c317d91b8d
Update package forwarding with Quality structure 2020-10-19 19:28:30 +02:00
Alexandre Iooss bb589a71ce
Add method to get quality 2020-10-19 19:28:04 +02:00
Alexandre Iooss f825d3d513
New Streams and Quality structures 2020-10-19 19:14:46 +02:00
Yohann D'ANELLO b5aac93c97 Sum all user counts for each substream to have the total number of clients that are connected to a stream 2020-10-18 20:44:31 +02:00