Optimize the code

1. Update the SetMeidaServer Interface to input the stream server info.
2. Fix the capture pic doesn't work bug.