Open sergey-dryabzhinsky opened 8 years ago
Need help with check new-module-bandwidth-detection
branch.
It's based on Red5 plugin. Need flash client that can check BW.
Still no luck. Can't do right call for onBWCheck and onBWDone. Wander how it doing Wowza + plugin. Need wireshark dump. Or tcpdump.
@sergey-dryabzhinsky I'll see if I can get a wireshark dump this evening and post a gist.
Got an RTMP URL we can setup a player / link that does the test?
I can test with my dev version of Wowza and capture the packets if you like @sergey-dryabzhinsky
@chriswiggins That would be nice
+1 On Apr 15, 2016 12:55 AM, "Sergey" notifications@github.com wrote:
@chriswiggins https://github.com/chriswiggins That would be nice
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/90#issuecomment-210287639
@sergey-dryabzhinsky have emailed you a PCAP file with the data in it. Please let us know how you get on :+1:
Well, the main difference is:
'payload' data:
But it sends empty string in first message, so there should be no error with my code I think
Updated branch 'new-module-bandwidth-detection':
Here some description on options (app level) with default values:
auto_start_on_connect off;
- Run checks right after client connectsauto_sense_bw off;
- Do heuristic calculation via several onBwCheck callslatency_min 10ms;
- Minimal suggested latencylatency_max 800ms;
- Maximum suggested latency (can be worse)latency_undef 100ms;
- Undetectable by some error/reason latency default valuetest_time 2s;
- Auto sense test timeAny naming suggestions are welcome.
Probably prefix bw_
needed.
Options names changed:
bw_auto_start off;
- Run checks right after client connectsbw_auto_sense off;
- Do heuristic calculation via several onBwCheck callsbw_latency_min 10ms;
- Minimal suggested latencybw_latency_max 800ms;
- Maximum suggested latency (can be worse)bw_latency_undef 100ms;
- Undetectable by some error/reason latency default valuebw_test_time 2s;
- Auto sense test time@sergey-dryabzhinsky how are you getting on with this?
What benefit does bandwidth detection give us?
@chriswiggins If you have several servers (regional for example) you can connect to each, check latency, bandwidth and choose fastest.
+1 On Apr 20, 2016 7:18 PM, "Sergey" notifications@github.com wrote:
@chriswiggins https://github.com/chriswiggins If you have several servers (regional for example) you can connect to each, check latency and choose fastest.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/90#issuecomment-212649383
Ah right ok nice. Understand the importance then! 👍
Still not tested. Need to build some simple flash test app.
Something like:
Api must be like: http://www.codebelt.com/actionscript-3/as3-onbwdone-error-flash-media-server-with-amazon-cloudfront/