Jump to content
  • 0

Stream issue


dogankisaa
 Share

Question

Hey all! Im navigating to player screen from setting id screen. this is my code:

 

MaterialButton(
                    child: const Text('Connect'),
                    onPressed: () {
                      if (_streamId == '' || _streamId == 'Enter stream id') {
                        _showToastStream(context);
                      } else {
                        Navigator.push(
                          context,
                          MaterialPageRoute(
                              builder: (context) => Play(
                                    id: _streamId,
                                    ip: _prefs.getString('server').toString(),
                                    userscreen: true,
                                  )),
                        );
                      }
                    }),

while passing player screen getting this issue:

"Unable to RTCPeerConnection::setRemoteDescription: peerConnectionSetRemoteDescription(): WEBRTC_SET_REMOTE_DESCRIPTION_ERROR: Failed to set remote offer sdp: Failed to set remote video description send parameters for m-section with mid='0'."

 

i think Play Screen's parameters are wrong but im not sure. How can i fix this ?

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
On 7/1/2022 at 3:30 PM, dogankisaa said:

Hey all! Im navigating to player screen from setting id screen. this is my code:

 

MaterialButton(
                    child: const Text('Connect'),
                    onPressed: () {
                      if (_streamId == '' || _streamId == 'Enter stream id') {
                        _showToastStream(context);
                      } else {
                        Navigator.push(
                          context,
                          MaterialPageRoute(
                              builder: (context) => Play(
                                    id: _streamId,
                                    ip: _prefs.getString('server').toString(),
                                    userscreen: true,
                                  )),
                        );
                      }
                    }),

while passing player screen getting this issue:

"Unable to RTCPeerConnection::setRemoteDescription: peerConnectionSetRemoteDescription(): WEBRTC_SET_REMOTE_DESCRIPTION_ERROR: Failed to set remote offer sdp: Failed to set remote video description send parameters for m-section with mid='0'."

 

i think Play Screen's parameters are wrong but im not sure. How can i fix this ?

Hi,

Can you try with VP8 codec instead of H.264 please.

The remote description error generally comes when there's some kind of video codec compatibility issue.

--

Best Regards,

Mohit Dubey

Link to comment
Share on other sites

 Share


×
×
  • Create New...