Skip to content

Commit 2d61bfc

Browse files
committed
2 parents 0632d01 + 9e13e09 commit 2d61bfc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# grpc_gateway_demo
22

3-
This repository is used to show the gRPC-JSON transcoder in grap-gateway(https://github.com/grpc-ecosystem/grpc-gateway) can be used together with stream google.api.HttpBody to support streaming media transfer. For example, in the scenario of text-to-speech, it's useful to synthesize speech with streaming mode to reduce latency. This demo also shows how we can automatically transcode streaming grpc to chunked http response.
3+
This repository is used to show the gRPC-HTTP transcoder in grap-gateway(https://github.com/grpc-ecosystem/grpc-gateway) can be used together with stream google.api.HttpBody to support streaming media transfer. For example, in the scenario of text-to-speech, it's useful to synthesize speech with streaming mode to reduce latency. This demo also shows how we can automatically transcode streaming grpc to chunked http response.
44

55
## Quick Start Guide
66

@@ -65,6 +65,9 @@ grpc-server_1 | I1127 03:28:40.550000 9 demo_service_impl.cc:59] Send 6553
6565
6666
You can now use your browser to play the streaming media.
6767
68+
<img src="https://github.com/npuichigo/grpc_gateway_demo/blob/master/images/play_mp3.png"/>
69+
<img src="https://github.com/npuichigo/grpc_gateway_demo/blob/master/images/header.png" width="500"/>
70+
6871
## Test with grpc client
6972
7073
Just start with the docker image grpc-server:

0 commit comments

Comments
 (0)