Commit Graph

46 Commits

Author SHA1 Message Date
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 8eea7d6e4f Upgrade pion 2020-11-07 14:58:15 +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 9e7e1ec0b8 Stream with the H264 codec to have no CPU usage 2020-10-27 19:32:23 +01:00
Alexandre Iooss e1f83a32df
Put webrtc SDP inside Quality struct 2020-10-19 21:45:23 +02:00
Alexandre Iooss 34200afaed
Update package webrtc with Quality structure 2020-10-19 19:48:44 +02:00
Alexandre Iooss b9da2ab3a7
Make webrtc and forwarding work with new messaging 2020-10-18 16:05:28 +02:00
Alexandre Iooss 772ddb1994
Fix typo in occurred 2020-10-14 21:36:12 +02:00
Alexandre Iooss 177ed189ff
Test WebRTC Serve 2020-10-14 18:57:37 +02:00
Alexandre Iooss 099fb8e203
Disable Trickle ICE 2020-10-14 18:37:51 +02:00
Alexandre Iooss 7d8c16fbb7
Pass webrtc sdp chan in newPeerHandler 2020-10-14 18:34:14 +02:00
Alexandre Iooss 4182668fcb
Reorder some imports in webrtc package 2020-10-13 18:55:02 +02:00
Yohann D'ANELLO 770862cb7d Don't use -re ffmpeg option: the video speed is already cadenced by the streamer. Fix #16 2020-10-13 10:46:04 +02:00
Yohann D'ANELLO 3ce82c5d61 Allocate memory for UDP buffers only once 2020-10-13 10:10:25 +02:00
Yohann D'ANELLO 32f877508d Separate the WebRTC stream subroutine in a dedicated subroutine 2020-10-13 09:50:46 +02:00
Yohann D'ANELLO 4db102c384 Ascii is a known keyword, must be in capital letters 2020-10-13 00:56:49 +02:00
Yohann D'ANELLO 727865f444 Interact with telnet to select the stream id 2020-10-13 00:52:08 +02:00
Yohann D'ANELLO ee76951854 Don't export to ASCII art if the telnet packet is disabled 2020-10-13 00:30:05 +02:00
Yohann D'ANELLO 61ae490a5d Make telnet output configurable 2020-10-13 00:15:23 +02:00
Yohann D'ANELLO e640450d98 Start telnet connection to send ASCII Art stream 2020-10-12 23:39:26 +02:00
Yohann D'ANELLO b675023804 Prepare ascii art quality 2020-10-12 23:11:02 +02:00
Yohann D'ANELLO 4d1dff60c7 -crf is better that -quality good 2020-10-10 17:05:36 +02:00
Yohann D'ANELLO 3dd544c1e4 The FFMPEG parameters make WebRTC working 2020-10-10 17:00:25 +02:00
Yohann D'ANELLO 503649a6da Use FFMPEG settings that are recommended by pion, better performances, see #3 2020-10-10 14:19:42 +02:00
Alexandre Iooss 87d2992bdf
Add package comments 2020-10-09 22:36:02 +02:00
Alexandre Iooss 45c6b5dba5
Fix #7: make each module optional 2020-10-09 22:06:30 +02:00
Yohann D'ANELLO 07983a1c71 Try to add a quality selector (WIP), see #4 2020-10-06 00:06:52 +02:00
Yohann D'ANELLO 0a1329b929 Separate statistics per stream 2020-10-05 22:09:10 +02:00
Yohann D'ANELLO 022f6fb098 💩 Split webrtc tracks by stream id (need to clean this, stream ID must pass between the session descriptor and the webrtc flux transmit) 2020-10-05 22:00:08 +02:00
Alexandre Iooss 76f009efe3
Use logger rather than panic in ingest 2020-10-05 11:38:17 +02:00
Alexandre Iooss cbe6a00d1a
Reduce verbosity of streaming 2020-10-05 11:08:22 +02:00
Alexandre Iooss 2a3b79734a
Copy track SSRC and payload, working webrtc! 2020-10-05 10:26:08 +02:00
Alexandre Iooss e8f4cd7683
Move webrtc ingest in seperate file 2020-10-05 10:11:30 +02:00
Yohann D'ANELLO 3a9568e764 Copy Pion RTP -> WebRTC example, it does not work but does not crash 2020-10-05 00:45:22 +02:00
Alexandre Iooss 606542f622
Remove cfg and forwardingChannel globals in forwarding package 2020-10-04 20:16:29 +02:00
Alexandre Iooss ad934516a9
Send SRT stream to WebRTC package 2020-10-04 18:22:10 +02:00
Alexandre Iooss 078a74add1
Do not read prometheus metrics 2020-09-29 18:17:55 +02:00
Yohann D'ANELLO 2005f3ece1 Store connected viewers in Prometheus and serve this amount 2020-09-29 18:03:28 +02:00
Alexandre Iooss 95f4b81f01
Make STUN server configurable 2020-09-29 17:27:19 +02:00
Alexandre Iooss 1c98754624
Restructure projet and add webrtc settings 2020-09-29 17:04:23 +02:00