Properties / statistics requested:
- stream start time (unix timestamp)
- stream end time (unix timestamp)
- broadcaster user agent
- video codec
- audio codec
- video size (width and height)
- FPS
- total bitrate (bits per second)
Properties / statistics requested:
Here's what I do.. | |
1. Create my new branch | |
2. Pull the code | |
3. Execute `mvn eclipse:eclipse` in each project subdirectory | |
4. Import into Eclipse as generic existing (not Maven) | |
5. Click on each project and select `Configure` then `Convert to Maven project` | |
6. Click on each project and select `Properties` then `Java Build Path` then `Libraries`, remove direct library links leaving `Maven Dependencies`, `JRE System...`, `Junit 4` entries |
av_register_all(); // Initialize libavformat and register all the muxers, demuxers and protocols (but not the codecs) | |
avcodec_register_all(); // Register the codec and initialize libavcodec | |
SwrContext *swr; | |
AVCodec *codec; | |
AVCodecContext *context; | |
// get the libopus codec encoder | |
codec = avcodec_find_encoder_by_name("libopus"); | |
if (codec) { | |
swr = swr_alloc_set_opts(NULL, // we're allocating a new context |
UA: Edge on Win | |
2017-07-07 19:02:19,248 [NioProcessor-18] DEBUG c.r.webrtc.stream.RTCSourceStream - Offer: v=0 | |
o=thisisadapterortc 3579037566002956 2 IN IP4 127.0.0.1 | |
s=- | |
t=0 0 | |
a=msid-semantic:WMS * | |
a=group:BUNDLE 9wj9mdiaks 0k3vfndwv6 | |
a=ice-options:trickle | |
m=audio 9 UDP/TLS/RTP/SAVPF 104 102 9 0 8 103 97 13 118 101 |
v=0 | |
o=thisisadapterortc 4297110096882024 2 IN IP4 127.0.0.1 | |
s=- | |
t=0 0 | |
a=msid-semantic:WMS * | |
a=group:BUNDLE a06j75e7a6 jqcf8mqvs4 | |
a=ice-options:trickle | |
m=audio 9 UDP/TLS/RTP/SAVPF 104 102 9 0 8 103 97 13 118 101 | |
c=IN IP4 0.0.0.0 | |
a=rtcp:9 IN IP4 0.0.0.0 |
v=0 | |
o=- 9045225780225639943 2 IN IP4 127.0.0.1 | |
s=- | |
t=0 0 | |
a=msid-semantic:WMS * | |
a=group:BUNDLE audio video | |
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126 | |
c=IN IP4 0.0.0.0 | |
b=AS:50 | |
a=rtcp:9 IN IP4 0.0.0.0 |
v=0 | |
o=mozilla...THIS_IS_SDPARTA-54.0 1039943552010360183 0 IN IP4 0.0.0.0 | |
s=- | |
t=0 0 | |
a=fingerprint:sha-256 7D:D6:A1:06:55:5B:A4:51:D7:25:1D:82:0E:93:8D:50:3D:7E:65:32:EF:8C:B2:46:71:36:E0:30:4A:BD:C6:3B | |
a=group:BUNDLE sdparta_0 sdparta_1 | |
a=ice-options:trickle | |
a=msid-semantic:WMS * | |
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101 | |
c=IN IP4 0.0.0.0 |
v=0 | |
o=- 2993238603765319990 2 IN IP4 127.0.0.1 | |
s=- | |
t=0 0 | |
a=group:BUNDLE audio video | |
a=msid-semantic: WMS AyZiiVhnAinEte7RxyRbOTqd0g1KbCMxmzEE | |
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126 | |
c=IN IP4 0.0.0.0 | |
a=rtcp:9 IN IP4 0.0.0.0 | |
a=ice-ufrag:uptc |
#!/bin/bash | |
# maximum chromium instances to spawn | |
MAX_INSTANCES=50 | |
# the testing url to request, default page will use "stream1" | |
#TEST_URL='http://localhost:5080/webrtcexamples/test/subscribe/'' | |
#TEST_URL='http://webrtc.red5.org:5080/webrtcexamples/test/subscribe/' | |
#TEST_URL='https://webrtc.red5.org/live/viewer.jsp?host=webrtc.red5.org&stream=myStream' | |
TEST_URL='http://webrtc.red5.org:5080/live/viewer.jsp?host=webrtc.red5.org&stream=myStream' |
#!/bin/bash | |
for f in `find . -name '*.flv'`; | |
do ffmpeg -y -re -i ${f} -vcodec copy -acodec copy -f segment -segment_list ${f}.m3u8 ${f}%03d.ts; | |
done |