Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • begeekmyfriend/yasea
1 result
Show changes
Commits on Source (2)
Loading
@@ -94,6 +94,7 @@ public class RtmpConnection implements RtmpPublisher {
Loading
@@ -94,6 +94,7 @@ public class RtmpConnection implements RtmpPublisher {
handshake.readS0(in); handshake.readS0(in);
handshake.readS1(in); handshake.readS1(in);
handshake.writeC2(out); handshake.writeC2(out);
out.flush();
handshake.readS2(in); handshake.readS2(in);
} }
   
Loading
Loading
Loading
@@ -162,7 +162,7 @@ public final class Handshake {
Loading
@@ -162,7 +162,7 @@ public final class Handshake {
   
/** Generates and writes the third handshake packet (C2) */ /** Generates and writes the third handshake packet (C2) */
public final void writeC2(OutputStream out) throws IOException { public final void writeC2(OutputStream out) throws IOException {
Log.d(TAG, "readC2"); Log.d(TAG, "writeC2");
// C2 is an echo of S1 // C2 is an echo of S1
if (s1 == null) { if (s1 == null) {
throw new IllegalStateException("C2 cannot be written without S1 being read first"); throw new IllegalStateException("C2 cannot be written without S1 being read first");
Loading
Loading