From fcf59fb0af563d2b98df6710fc76c134f5d654c2 Mon Sep 17 00:00:00 2001
From: AJ Rice <53190766+ajrice6713@users.noreply.github.com>
Date: Tue, 30 Sep 2025 14:38:02 -0400
Subject: [PATCH] VAPI-2528 Fix Start Stream BXML Bug
---
bandwidth/models/bxml/verbs/start_stream.py | 8 ++++----
test/unit/models/bxml/test_start_stream.py | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/bandwidth/models/bxml/verbs/start_stream.py b/bandwidth/models/bxml/verbs/start_stream.py
index 5294d7ab..62743e6b 100644
--- a/bandwidth/models/bxml/verbs/start_stream.py
+++ b/bandwidth/models/bxml/verbs/start_stream.py
@@ -14,8 +14,8 @@
class StartStream(NestableVerb):
def __init__(
- self, destination: str, destination_username: str,
- destination_password: str, stream_params: List[StreamParam] = [],
+ self, destination: str, destination_username: str=None,
+ destination_password: str=None, stream_params: List[StreamParam] = [],
name: str=None, mode: str=None, tracks: str=None,
stream_event_url: str=None,
stream_event_method: str=None,
@@ -59,8 +59,8 @@ def __init__(
def _attributes(self):
return {
"destination": self.destination,
- "destination_username": self.destination_username,
- "destination_password": self.destination_password,
+ "destinationUsername": self.destination_username,
+ "destinationPassword": self.destination_password,
"name": self.name,
"mode": self.mode,
"tracks": self.tracks,
diff --git a/test/unit/models/bxml/test_start_stream.py b/test/unit/models/bxml/test_start_stream.py
index 889af2e0..57b545f8 100644
--- a/test/unit/models/bxml/test_start_stream.py
+++ b/test/unit/models/bxml/test_start_stream.py
@@ -43,10 +43,10 @@ def test_instance(self):
assert isinstance(self.start_stream, Verb)
def test_to_bxml(self):
- expected = ''
+ expected = ''
assert expected == self.start_stream.to_bxml()
def test_add_verb(self):
- expected = ''
+ expected = ''
self.start_stream.add_verb(self.stream_param2)
assert expected == self.start_stream.to_bxml()